Initial setup

This commit is contained in:
outfoxxed 2023-06-19 21:08:11 -07:00
commit 9b4ec6e0a1
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
5 changed files with 241 additions and 0 deletions

26
flake.nix Normal file
View file

@ -0,0 +1,26 @@
{
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
stable.url = "nixpkgs/nixos-23.05";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs @ { self, nixpkgs, ... }: {
nixosConfigurations = {
lenovo = nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux";
specialArgs = { inherit system inputs; };
modules = [
./systems/lenovo.nix
./modules/core.nix
./modules/user
];
};
};
};
}