extend the config for staubfinger

This commit is contained in:
Andreas Zweili 2021-11-22 12:53:23 +01:00
parent e952219d1c
commit 0701773027
1 changed files with 6 additions and 2 deletions

View File

@ -14,7 +14,7 @@
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "nixos"; # Define your hostname. networking.hostName = "staubfinger"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
# Set your time zone. # Set your time zone.
@ -25,6 +25,7 @@
# replicates the default behaviour. # replicates the default behaviour.
# networking.useDHCP = true; # networking.useDHCP = true;
networking.interfaces.enp0s20u1.useDHCP = true; networking.interfaces.enp0s20u1.useDHCP = true;
networking.networkmanager.enable = 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/";
@ -70,7 +71,10 @@
users.users.andreas = { users.users.andreas = {
isNormalUser = true; isNormalUser = true;
initialPassword = "password"; initialPassword = "password";
extraGroups = [ "wheel" ]; # Enable sudo for the user. extraGroups = [
"wheel"
"networkmanager"
]; # Enable sudo for the user.
}; };
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run: