Set up networking for lappy specifically.
This commit is contained in:
@@ -11,6 +11,7 @@
|
|||||||
./filesystems.nix
|
./filesystems.nix
|
||||||
./programs/sof-firmware.nix
|
./programs/sof-firmware.nix
|
||||||
./services/touchpad.nix
|
./services/touchpad.nix
|
||||||
|
./system/networking.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
@@ -21,11 +22,6 @@
|
|||||||
# Use latest kernel.
|
# Use latest kernel.
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
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?
|
system.stateVersion = "25.05"; # Did you read the comment?
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
6
nodes/hosts/lappy/system/networking.nix
Normal file
6
nodes/hosts/lappy/system/networking.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{ config, ...}: {
|
||||||
|
networking.hostName = "laptop"; # Define your hostname.
|
||||||
|
|
||||||
|
networking.networkmanager.enable = true;
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user