1
0
mirror of https://github.com/Andrey0189/nixos-config-reborn.git synced 2025-09-15 10:06:00 +03:00

moving slim3 coniguration to the hosts directory

This commit is contained in:
andrey_varnavskiy
2024-11-29 16:39:55 +05:00
parent 5b48fce03b
commit ecddf1a6f5
3 changed files with 63 additions and 7 deletions

View File

@@ -28,14 +28,16 @@
in {
# slim3 - system hostname
nixosConfigurations.${hostname} = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs system stateVersion hostname user;
};
nixosConfigurations = {
${hostname} = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs system stateVersion hostname user;
};
modules = [
./nixos/configuration.nix
];
modules = [
./hosts/${hostname}/configuration.nix
];
};
};
homeConfigurations.${user} = home-manager.lib.homeManagerConfiguration {