From fa78231265b6fe4745af2166a48ae5d109cf7a61 Mon Sep 17 00:00:00 2001 From: Bun Date: Sat, 8 Mar 2025 17:34:36 -0500 Subject: [PATCH] Update Redmond to current standards --- hosts/redmond/boot/default.nix | 2 +- hosts/redmond/disko/default.nix | 25 +++++++++---------------- 2 files changed, 10 insertions(+), 17 deletions(-) diff --git a/hosts/redmond/boot/default.nix b/hosts/redmond/boot/default.nix index b23818a..8be768d 100644 --- a/hosts/redmond/boot/default.nix +++ b/hosts/redmond/boot/default.nix @@ -1,4 +1,4 @@ -{ ... }: +{ pkgs, ... }: { boot = { kernelPackages = pkgs.linuxPackages_latest; diff --git a/hosts/redmond/disko/default.nix b/hosts/redmond/disko/default.nix index b96ab51..dd1a1ff 100644 --- a/hosts/redmond/disko/default.nix +++ b/hosts/redmond/disko/default.nix @@ -62,18 +62,14 @@ mountOptions = [ "compress=zstd" "noatime" ]; }; - # Impermanence - "/persist" = { - mountpoint = "/persist"; - mountOptions = [ "compress=zstd" "noatime" ]; - }; - "/persist/.snapshots" = { }; - - "/${config.sysusers.main}" = { - mountpoint = "/persist/home/${config.sysusers.main}"; - mountOptions = [ "compress=zstd" "noatime" ]; - }; - "/${config.sysusers.main}/.snapshots" = { }; + # Impermanence + "/persist" = { + mountpoint = "/persist"; + mountOptions = [ "compress=zstd" "noatime" ]; + }; + "/persist/.snapshots" = { }; + "/persist/home/${config.sysusers.main}" = { }; + "/persist/home/${config.sysusers.main}/.snapshots" = { }; }; }; }; @@ -90,8 +86,5 @@ }; # Needed for impermanence - fileSystems = { - "/persist".neededForBoot = true; - "/persist/home/${config.sysusers.main}".neededForBoot = true; - }; + fileSystems."/persist".neededForBoot = true; }