Compare commits

...

2 Commits

Author SHA1 Message Date
6261267792 rename machines 2023-06-13 16:12:52 +02:00
fc92425e0e rename machines 2023-06-13 16:12:09 +02:00
7 changed files with 8 additions and 7 deletions

View File

@ -22,16 +22,16 @@
# Available through 'nixos-rebuild --flake .#your-hostname' # Available through 'nixos-rebuild --flake .#your-hostname'
nixosConfigurations = { nixosConfigurations = {
# FIXME_ replace with your hostname # FIXME_ replace with your hostname
nixos-desktop-mans = nixpkgs.lib.nixosSystem { pc-mans = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; }; # Pass flake inputs to our config specialArgs = { inherit inputs; }; # Pass flake inputs to our config
# > Our main nixos configuration file < # > Our main nixos configuration file <
modules = [ ./nixos/machines/nixos-desktop-mans/configuration.nix ]; modules = [ ./nixos/machines/pc-mans/configuration.nix ];
}; };
nixos-laptop-mans = nixpkgs.lib.nixosSystem { lpt-mans = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; }; # Pass flake inputs to our config specialArgs = { inherit inputs; }; # Pass flake inputs to our config
# > Our main nixos configuration file < # > Our main nixos configuration file <
modules = [ ./nixos/machines/nixos-laptop-mans/configuration.nix ]; modules = [ ./nixos/machines/lpt-mans/configuration.nix ];
}; };
}; };
}; };

View File

@ -17,5 +17,5 @@
# Set the hostname # Set the hostname
networking.hostName = "nixos-laptop-mans"; networking.hostName = "lpt-mans";
} }

View File

@ -13,7 +13,8 @@
# ./users.nix # ./users.nix
./network.nix ./network.nix
../../roles/desktop.nix ../../roles/desktop.nix
../../roles/nvidia.nix
../../modules/nvidia.nix
# Import home-manager's NixOS module # Import home-manager's NixOS module
inputs.home-manager.nixosModules.home-manager inputs.home-manager.nixosModules.home-manager

View File

@ -17,5 +17,5 @@
# Set the hostname # Set the hostname
networking.hostName = "nixos-desktop-mans"; networking.hostName = "pc-mans";
} }