getting kaladin ready

This commit is contained in:
Chris Cochrun 2022-05-06 15:35:33 -05:00 committed by Chris Cochrun
parent 099e11b74e
commit 8b9ee87a83
3 changed files with 48 additions and 26 deletions

View file

@ -21,9 +21,10 @@
boot.loader.efi.canTouchEfiVariables = true;
nixpkgs.config.allowUnfree = true;
boot.kernelParams = [ "mem_sleep_default=deep" ];
networking.hostName = "syl"; # Define your hostname.
networking.hostName = "kaladin"; # Define your hostname.
networking.networkmanager.enable = true;
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
@ -34,7 +35,9 @@
# Per-interface useDHCP will be mandatory in the future, so this generated config
# replicates the default behaviour.
networking.useDHCP = false;
networking.interfaces.wlp170s0.useDHCP = true;
networking.interfaces.enp0s31f6.useDHCP = true;
networking.interfaces.wlp7s0.useDHCP = true;
# Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8";
@ -42,6 +45,10 @@
# Set default shell to be dash for speed
environment.binsh = "${pkgs.dash}/bin/dash";
# NVIDIA
services.xserver.videoDrivers = [ "nvidia" ];
hardware.opengl.enable = true;
# Enable the X11 windowing system.
services.xserver.enable = true;
@ -151,7 +158,7 @@
# List services that you want to enable:
# Enable the OpenSSH daemon.
# services.openssh.enable = true;
services.openssh.enable = true;
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
@ -168,4 +175,3 @@
system.stateVersion = "21.11"; # Did you read the comment?
}