diff options
-rw-r--r-- | core.nix | 4 | ||||
-rw-r--r-- | desktop.nix | 14 | ||||
-rw-r--r-- | pc_t14.nix | 8 |
3 files changed, 18 insertions, 8 deletions
@@ -28,7 +28,7 @@ # Select internationalisation properties. i18n = { - defaultLocale = "nl_NL.UTF-8"; + defaultLocale = "en_DK.UTF-8"; }; console = { @@ -60,7 +60,7 @@ unzip tig file whois nmap usbutils lshw gnumake pv jq killall netcat-gnu perl pciutils cowsay man-pages gcc binutils python3 python - lm_sensors + lm_sensors tmux fish kakoune ]; }; } diff --git a/desktop.nix b/desktop.nix index bd342d6..2f293d4 100644 --- a/desktop.nix +++ b/desktop.nix @@ -90,11 +90,14 @@ # Define a user account. Don't forget to set a password with ‘passwd’. users.users.julian = { isNormalUser = true; - shell = pkgs.zsh; - extraGroups = [ "wheel" "video" "vboxusers" "cdrom" ]; + shell = pkgs.fish; + extraGroups = [ "wheel" "video" "libvirtd" "vboxusers" "cdrom" "networkmanager" ]; }; - virtualisation.virtualbox.host.enable = true; + virtualisation.virtualbox.host = { + enable = true; + }; + virtualisation.libvirtd.enable = true; fonts.fonts = with pkgs; [ noto-fonts noto-fonts-emoji liberation_ttf ubuntu_font_family cozette @@ -102,7 +105,7 @@ environment.systemPackages = with pkgs; [ # General stuff - gnupg acpi + gnupg acpi gutenprint gutenprintBin # Nixos stuff nox nix-index patchelf nix-prefetch-scripts @@ -110,5 +113,8 @@ # Network stuff networkmanagerapplet networkmanager-openconnect iw wirelesstools openconnect + + virtmanager + ]; } @@ -19,6 +19,9 @@ boot = { kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.8") pkgs.linuxPackages_5_10; + + kernelParams = [ "amdgpu.dc=1" ]; + loader = { systemd-boot.enable = true; @@ -56,11 +59,12 @@ tlp = { enable = true; settings = { - START_CHARGE_THRESH_BAT0 = 80; - STOP_CHARGE_THRESH_BAT0 = 85; + START_CHARGE_THRESH_BAT0 = 90; + STOP_CHARGE_THRESH_BAT0 = 95; }; }; xserver.videoDrivers = ["amdgpu"]; + fwupd.enable = true; }; environment.systemPackages = with pkgs; [ |