From 05925d1469fba5408f5e97e9df67fe50ef311126 Mon Sep 17 00:00:00 2001 From: jay Date: Sun, 29 Jun 2025 14:29:08 -0400 Subject: [PATCH] Set up networking for lappy specifically. --- nodes/hosts/lappy/configuration.nix | 6 +----- nodes/hosts/lappy/system/networking.nix | 6 ++++++ 2 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 nodes/hosts/lappy/system/networking.nix 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; +} +