about summary refs log tree commit diff
path: root/nixosConfigurations/eonwe
diff options
context:
space:
mode:
Diffstat (limited to 'nixosConfigurations/eonwe')
-rw-r--r--nixosConfigurations/eonwe/default.nix47
1 files changed, 21 insertions, 26 deletions
diff --git a/nixosConfigurations/eonwe/default.nix b/nixosConfigurations/eonwe/default.nix
index f07aad3..8889120 100644
--- a/nixosConfigurations/eonwe/default.nix
+++ b/nixosConfigurations/eonwe/default.nix
@@ -7,6 +7,8 @@
 }:
 with lib; {
   nixfiles.modules = {
+    ark.enable = true;
+
     wireguard.client.enable = true;
 
     syncthing.enable = true;
@@ -23,19 +25,24 @@ with lib; {
     discord.enable = true;
     libvirtd.enable = true;
     qutebrowser.enable = true;
+    mpd.enable = true;
   };
 
-  hm.programs = {
-    # NOTE This produces very poor performance even though RX 6750 XT should
-    # handle VA-API hardware decoding for all major formats (including AV1) just
-    # fine.
-    firefox.profiles.default.settings."media.ffmpeg.vaapi.enabled" = false;
+  hm = {
+    home.packages = with pkgs; [obs-studio];
+
+    programs = {
+      # NOTE This produces very poor performance even though RX 6750 XT should
+      # handle VA-API hardware decoding for all major formats (including AV1) just
+      # fine.
+      firefox.profiles.default.settings."media.ffmpeg.vaapi.enabled" = false;
 
-    # Mostly just placebo. :^)
-    mpv.config = {
-      hwdec = "vdpau";
-      vo = "gpu";
-      profile = "gpu-hq";
+      # Mostly just placebo. :^)
+      mpv.config = {
+        hwdec = "vdpau";
+        vo = "gpu";
+        profile = "gpu-hq";
+      };
     };
   };
 
@@ -49,6 +56,10 @@ with lib; {
   '';
 
   boot = {
+    # TODO Override Xanmod kernel to support ZFS. This probably will require
+    # some patching and whatnot.
+    kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
+
     # Silence benign MCE errors:
     # ```
     # mce: [Hardware Error]: CPU 1: Machine Check: 0 Bank 29: ffffffffffffffff
@@ -61,22 +72,6 @@ with lib; {
     initrd.kernelModules = ["nvme"];
   };
 
-  # TODO Immutable `/' shire on ZFS datasets and snapshots.
-  #
-  # Opt-in:
-  # - /etc/NetworkManager
-  # - /etc/ssh
-  # - /home
-  # - /var/lib/bluetooth
-  # - /var/lib/iwd
-  # - /var/lib/log
-  #
-  # Investigate:
-  # - /var/lib/NetworkManager
-  # - /var/lib/cni
-  # - /var/lib/containers
-  # - /var/lib/qemu
-
   fileSystems = {
     "/boot" = {
       device = "/dev/disk/by-uuid/FF1E-9CFD";

Consider giving Nix/NixOS a try! <3