1
0
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:
Donovan Glover 2023-05-04 13:09:45 -04:00
parent abd2d1a4cf
commit 00fc33cad8
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

18
flake.nix Normal file
View 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; }
];
};
};
}