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

new attributes

This commit is contained in:
andrey_varnavskiy
2024-11-25 11:45:12 +05:00
parent b43548835a
commit a953507211

View File

@@ -20,13 +20,17 @@
let let
system = "x86_64-linux"; system = "x86_64-linux";
stateVersion = "24.05";
user = "amper";
hostname = "slim3";
in { in {
# nixos - system hostname # slim3 - system hostname
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem { nixosConfigurations.${hostname} = nixpkgs.lib.nixosSystem {
specialArgs = { specialArgs = {
inherit inputs system; inherit inputs system stateVersion hostname user;
}; };
modules = [ modules = [
./nixos/configuration.nix ./nixos/configuration.nix
]; ];
@@ -34,7 +38,13 @@
homeConfigurations.amper = home-manager.lib.homeManagerConfiguration { homeConfigurations.amper = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
modules = [ ./home-manager/home.nix ]; extraSpecialArgs = {
inherit inputs stateVersion user;
};
modules = [
./home-manager/home.nix
];
}; };
}; };
} }