From 184bd30bcb303104a4981ac742d8f8961c5477e7 Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Mon, 1 Jan 2024 10:57:38 -0500 Subject: several changes, hyprland --- hosts/jonbox/default.nix | 8 ++++---- hosts/jonbox/hardware.nix | 11 ++++++++--- 2 files changed, 12 insertions(+), 7 deletions(-) (limited to 'hosts') diff --git a/hosts/jonbox/default.nix b/hosts/jonbox/default.nix index ca8d16f..643838b 100644 --- a/hosts/jonbox/default.nix +++ b/hosts/jonbox/default.nix @@ -32,14 +32,13 @@ "steam" "steam-original" "steam-run" - "vintagestory" ]; #OpenGL hardware.opengl = { - enable = true; - driSupport = true; - driSupport32Bit = true; + enable = true; + driSupport = true; + driSupport32Bit = true; }; #X11 Server @@ -51,6 +50,7 @@ }; awesome.enable = true; + hyprland.enable = true; mullvad-vpn.enable = true; mpd.enable = true; diff --git a/hosts/jonbox/hardware.nix b/hosts/jonbox/hardware.nix index ce734fe..bbe651f 100644 --- a/hosts/jonbox/hardware.nix +++ b/hosts/jonbox/hardware.nix @@ -12,7 +12,7 @@ fileSystems."/" = { device = "/dev/disk/by-uuid/83cafaff-8be3-477f-b13c-c47dafdf969d"; fsType = "btrfs"; - options = [ "subvol=@" ]; + options = [ "compress=zstd" "subvol=@" ]; }; fileSystems."/boot" = @@ -42,15 +42,20 @@ #SSD-optimization services.fstrim.enable = true; + services.btrfs.autoScrub = + { + enable = true; + interval = "weekly"; + }; #Hardware hardware.nvidia = { modesetting.enable = true; powerManagement.enable = false; powerManagement.finegrained = false; - open = true; + open = false; nvidiaSettings = true; - package = config.boot.kernelPackages.nvidiaPackages.stable; + package = config.boot.kernelPackages.nvidiaPackages.beta; }; #Firmware -- cgit v1.2.1