forked from extern/nix-config
nix: Add flake.nix
This may or may not work; I haven't tested it yet.
This commit is contained in:
parent
abd2d1a4cf
commit
00fc33cad8
18
flake.nix
Normal file
18
flake.nix
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
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; }
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user