Fix the boot thing with the new subvol layout
This commit is contained in:
parent
f36d8615dc
commit
9a30fae72f
|
@ -31,7 +31,7 @@ in {
|
||||||
services.root-reset = {
|
services.root-reset = {
|
||||||
description = "Reset root and snapshot last boot";
|
description = "Reset root and snapshot last boot";
|
||||||
wantedBy = [ "initrd.target" ];
|
wantedBy = [ "initrd.target" ];
|
||||||
after = [ "dev-nixos-root.device" ];
|
after = [ "dev-firefly-root.device" ];
|
||||||
before = [ "sysroot.mount" ];
|
before = [ "sysroot.mount" ];
|
||||||
unitConfig.DefaultDependencies = "no";
|
unitConfig.DefaultDependencies = "no";
|
||||||
serviceConfig.Type = "oneshot";
|
serviceConfig.Type = "oneshot";
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
system.video.nvidia.enable = true;
|
system.video.nvidia.enable = true;
|
||||||
system.libvirtd.enable = true;
|
system.libvirtd.enable = true;
|
||||||
|
|
||||||
networking.hostName = "firefly";
|
|
||||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||||
|
|
||||||
|
networking.hostName = "firefly";
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
|
|
||||||
services.snapper = {
|
services.snapper = {
|
||||||
snapshotInterval = "0/6:00:00";
|
snapshotInterval = "0/6:00:00";
|
||||||
cleanupInterval = "12:00:00";
|
|
||||||
persistentTimer = true;
|
persistentTimer = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue