From e8dbb049452e014fe89df34cb8f29e7c21c37666 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Mon, 30 Jan 2023 01:48:52 +0300 Subject: 2023-01-30 --- nixosConfigurations/eonwe/default.nix | 47 ++++++++++++++++------------------- 1 file changed, 21 insertions(+), 26 deletions(-) (limited to 'nixosConfigurations/eonwe') 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"; -- cgit v1.2.3