summaryrefslogtreecommitdiffstats
path: root/lass/1systems/hilum/physical.nix
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-07-08 15:14:05 +0200
committerlassulus <git@lassul.us>2023-07-08 15:14:05 +0200
commitadd9f3161321417da7493ff2c22c643c44e28c47 (patch)
treeefc9771e424a4c3ef0fb550bc22339427b95c47a /lass/1systems/hilum/physical.nix
parent76848d24c224b3a88b1e2ead3e9b895ed9319006 (diff)
l hilum.r: add usb-flash stick, update disko config
Diffstat (limited to 'lass/1systems/hilum/physical.nix')
-rw-r--r--lass/1systems/hilum/physical.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/lass/1systems/hilum/physical.nix b/lass/1systems/hilum/physical.nix
index 6f160062d..9caf8e531 100644
--- a/lass/1systems/hilum/physical.nix
+++ b/lass/1systems/hilum/physical.nix
@@ -15,7 +15,7 @@
;
in lib.mkOption {
type = lib.types.str;
- default = tryFile "/etc/hilum-disk" "/dev/sdz";
+ default = tryFile "/etc/hilum-disk" (tryFile "/tmp/hilum-disk" "/dev/sdz");
};
config.environment.etc.hilum-disk.text = config.mainDisk;
}
@@ -47,4 +47,7 @@
nix.maxJobs = lib.mkDefault 4;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
+
+ #weird bug with nixos-enter
+ services.logrotate.enable = false;
}