diff --git a/nodes/hosts/lappy/configuration.nix b/nodes/hosts/lappy/configuration.nix index 2ab9e26..12b187c 100644 --- a/nodes/hosts/lappy/configuration.nix +++ b/nodes/hosts/lappy/configuration.nix @@ -11,6 +11,7 @@ ./filesystems.nix ./programs/sof-firmware.nix ./services/touchpad.nix + ./system/networking.nix ]; # Use the systemd-boot EFI boot loader. @@ -21,11 +22,6 @@ # Use latest kernel. boot.kernelPackages = pkgs.linuxPackages_latest; - networking.hostName = "lappy"; # Define your hostname. - # Pick only one of the below networking options. - # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. - networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. - system.stateVersion = "25.05"; # Did you read the comment? } diff --git a/nodes/hosts/lappy/system/networking.nix b/nodes/hosts/lappy/system/networking.nix new file mode 100644 index 0000000..8af4f1b --- /dev/null +++ b/nodes/hosts/lappy/system/networking.nix @@ -0,0 +1,6 @@ +{ config, ...}: { + networking.hostName = "laptop"; # Define your hostname. + + networking.networkmanager.enable = true; +} +