diff options
| author | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2026-02-01 18:00:27 +0100 |
|---|---|---|
| committer | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2026-02-01 18:00:27 +0100 |
| commit | c0182f70c7e3070b4122ed98a5c1c5cba1741bec (patch) | |
| tree | 8e2f560bd34f111caf8ef1f5751f88d3147e3d67 /hosts/omega-relay/disko.nix | |
| parent | fb26a8a59b840c6430c73df6c1cc44ecff156b67 (diff) | |
Format and do fixes
Diffstat (limited to '')
| -rw-r--r-- | hosts/omega-relay/disko.nix | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/hosts/omega-relay/disko.nix b/hosts/omega-relay/disko.nix index adfaf71..2de6943 100644 --- a/hosts/omega-relay/disko.nix +++ b/hosts/omega-relay/disko.nix @@ -1,22 +1,22 @@ { config, lib, ... }: let cfg = config.hosts.omega-relay; -in +in { options.hosts.omega-relay = with lib; { root_device = mkOption { - type = types.path; - default = "/dev/sda"; - example = "/dev/sda"; + type = types.path; + default = "/dev/sda"; + example = "/dev/sda"; description = "Root device for disko and grub"; - }; + }; do_disko = mkOption { - type = types.bool; - default = !config.addons.virtualisation.isTestVM; - description = "Whenever to do disko or not."; - }; - }; + type = types.bool; + default = !config.addons.virtualisation.isTestVM; + description = "Whenever to do disko or not."; + }; + }; config = lib.mkIf (cfg.do_disko) ({ services.btrfs.autoScrub = { enable = true; |
