This commit is contained in:
Charlotte Van Petegem 2023-05-16 22:40:45 +02:00
parent 2b5a0d6a20
commit 85a94a1c4c
No known key found for this signature in database
GPG key ID: 019E764B7184435A
4 changed files with 30 additions and 27 deletions

View file

@ -115,7 +115,8 @@
nix-index-database.nixosModules.nix-index
./modules
];
nixosSystem = system: name: let nixpkgs = nixpkgsForSystem system; in
nixosSystem = system: name:
let nixpkgs = nixpkgsForSystem system; in
inputs.nixpkgs.lib.nixosSystem {
lib = (import nixpkgs { inherit overlays system; }).lib;
specialArgs = { modulesPath = toString (nixpkgs + "/nixos/modules"); };
@ -133,7 +134,7 @@
})
./machines/${name}
];
};
};
nixosConfigurations = {
kharbranth = nixosSystem "x86_64-linux" "kharbranth";
kholinar = nixosSystem "x86_64-linux" "kholinar";