Clean up system config
parent
f65e6c502d
commit
b1be94eda1
|
@ -11,15 +11,7 @@
|
||||||
<home-manager/nixos>
|
<home-manager/nixos>
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use the GRUB 2 boot loader.
|
# Bootloader
|
||||||
# boot.loader.grub.enable = true;
|
|
||||||
# boot.loader.grub.version = 2;
|
|
||||||
# boot.loader.grub.efiSupport = true;
|
|
||||||
# boot.loader.grub.efiInstallAsRemovable = true;
|
|
||||||
# boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
|
||||||
# Define on which hard drive you want to install Grub.
|
|
||||||
# boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only
|
|
||||||
# systemd-boot
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.systemd-boot.configurationLimit = 64;
|
boot.loader.systemd-boot.configurationLimit = 64;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
@ -28,18 +20,23 @@
|
||||||
|
|
||||||
system.autoUpgrade.enable = true;
|
system.autoUpgrade.enable = true;
|
||||||
|
|
||||||
networking.hostName = "nixpad"; # Define your hostname.
|
networking = {
|
||||||
networking.networkmanager.enable = true;
|
hostName = "nixpad"; # Define your hostname.
|
||||||
networking.networkmanager.wifi.scanRandMacAddress = false;
|
networkmanager = {
|
||||||
|
enable = true;
|
||||||
|
wifi.scanRandMacAddress = false;
|
||||||
|
};
|
||||||
|
|
||||||
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
|
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
|
||||||
# Per-interface useDHCP will be mandatory in the future, so this generated config
|
# Per-interface useDHCP will be mandatory in the future, so this generated config
|
||||||
# replicates the default behaviour.
|
# replicates the default behaviour.
|
||||||
networking.useDHCP = false;
|
useDHCP = false;
|
||||||
networking.interfaces.enp0s25.useDHCP = true;
|
interfaces = {
|
||||||
networking.interfaces.wlp3s0.useDHCP = true;
|
enp0s25.useDHCP = true;
|
||||||
networking.interfaces.wwp0s20u4c2i12.useDHCP = true;
|
wlp3s0.useDHCP = true;
|
||||||
|
wwp0s20u4c2i12.useDHCP = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
# Configure network proxy if necessary
|
# Configure network proxy if necessary
|
||||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||||
|
|
Loading…
Reference in New Issue