summaryrefslogtreecommitdiffstats
path: root/hosts
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2024-01-01 10:57:38 -0500
committerJon Santmyer <jon@jonsantmyer.com>2024-01-01 10:57:38 -0500
commit184bd30bcb303104a4981ac742d8f8961c5477e7 (patch)
treee1d96fea09fce882decebc91ba1128652ada594c /hosts
parent5897af1a6c355f77c78f342d1d6f070670d14a4c (diff)
downloadnix-config-184bd30bcb303104a4981ac742d8f8961c5477e7.tar.gz
nix-config-184bd30bcb303104a4981ac742d8f8961c5477e7.tar.bz2
nix-config-184bd30bcb303104a4981ac742d8f8961c5477e7.zip
several changes, hyprland
Diffstat (limited to 'hosts')
-rw-r--r--hosts/jonbox/default.nix8
-rw-r--r--hosts/jonbox/hardware.nix11
2 files changed, 12 insertions, 7 deletions
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