Consolidate network configuration

This commit is contained in:
Benson Chu 2024-08-02 09:41:41 -05:00
parent d1ff60f81c
commit 807f74681f
6 changed files with 2 additions and 17 deletions

View file

@ -35,12 +35,6 @@ in
nix.settings.experimental-features = "nix-command flakes"; nix.settings.experimental-features = "nix-command flakes";
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
# Configure network proxy if necessary
# networking.proxy.default = "http://user:password@proxy:port/";
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
# Enable networking # Enable networking
networking.networkmanager.enable = true; networking.networkmanager.enable = true;

View file

@ -11,6 +11,7 @@
}; };
hardware.bluetooth.enable = true; # enables support for Bluetooth hardware.bluetooth.enable = true; # enables support for Bluetooth
networking.wireless.enable = true;
# Configure keymap in X11 # Configure keymap in X11
services.xserver = { services.xserver = {

View file

@ -19,6 +19,7 @@
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "NixDawn"; # Define your hostname. networking.hostName = "NixDawn"; # Define your hostname.
networking.wireless.enable = true;
fileSystems."/home/benson/workspace" = { fileSystems."/home/benson/workspace" = {
device = "/dev/disk/by-uuid/aa640eb6-0655-446a-8a12-5867eeef6638"; device = "/dev/disk/by-uuid/aa640eb6-0655-446a-8a12-5867eeef6638";

View file

@ -15,7 +15,6 @@
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "NixFrame"; # Define your hostname. networking.hostName = "NixFrame"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
services.syncthing = { services.syncthing = {
enable = true; enable = true;

View file

@ -17,11 +17,6 @@
boot.loader.grub.useOSProber = true; boot.loader.grub.useOSProber = true;
networking.hostName = "NixGate"; # Define your hostname. networking.hostName = "NixGate"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
# Configure network proxy if necessary
# networking.proxy.default = "http://user:password@proxy:port/";
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
# Enable networking # Enable networking
networking.networkmanager.enable = true; networking.networkmanager.enable = true;

View file

@ -16,11 +16,6 @@
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "NixSentinel"; # Define your hostname. networking.hostName = "NixSentinel"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
# Configure network proxy if necessary
# networking.proxy.default = "http://user:password@proxy:port/";
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
# Enable networking # Enable networking
networking.networkmanager.enable = true; networking.networkmanager.enable = true;