From 9a30fae72f73abaa42558d6392d008421f9fcf22 Mon Sep 17 00:00:00 2001 From: Jimbo Date: Tue, 5 Nov 2024 03:26:00 -0500 Subject: [PATCH] Fix the boot thing with the new subvol layout --- hosts/firefly/boot/default.nix | 2 +- hosts/firefly/default.nix | 3 ++- modules/system/devices/disks/snapper/default.nix | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hosts/firefly/boot/default.nix b/hosts/firefly/boot/default.nix index 7387c7a..7c224b3 100644 --- a/hosts/firefly/boot/default.nix +++ b/hosts/firefly/boot/default.nix @@ -31,7 +31,7 @@ in { services.root-reset = { description = "Reset root and snapshot last boot"; wantedBy = [ "initrd.target" ]; - after = [ "dev-nixos-root.device" ]; + after = [ "dev-firefly-root.device" ]; before = [ "sysroot.mount" ]; unitConfig.DefaultDependencies = "no"; serviceConfig.Type = "oneshot"; diff --git a/hosts/firefly/default.nix b/hosts/firefly/default.nix index da22f38..1f11c11 100644 --- a/hosts/firefly/default.nix +++ b/hosts/firefly/default.nix @@ -13,6 +13,7 @@ system.video.nvidia.enable = true; system.libvirtd.enable = true; - networking.hostName = "firefly"; environment.sessionVariables.NIXOS_OZONE_WL = "1"; + + networking.hostName = "firefly"; } diff --git a/modules/system/devices/disks/snapper/default.nix b/modules/system/devices/disks/snapper/default.nix index a4291bf..e48aaf9 100644 --- a/modules/system/devices/disks/snapper/default.nix +++ b/modules/system/devices/disks/snapper/default.nix @@ -7,7 +7,6 @@ services.snapper = { snapshotInterval = "0/6:00:00"; - cleanupInterval = "12:00:00"; persistentTimer = true; }; }