nix-config/flake.nix
Donovan Glover 00fc33cad8
nix: Add flake.nix
This may or may not work; I haven't tested it yet.
2023-05-04 13:09:55 -04:00

19 lines
487 B
Nix

{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/unstable";
home-manager.url = "github:nix-community/home-manager/release-22.11";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = inputs: {
nixosConfigurations.nixos = inputs.nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./configuration.nix
inputs.home-manager.nixosModules.home-manager
{ home-manager.useGlobalPkgs = true; }
];
};
};
}