From a232772ebb63c27b530c9bac5fd53b3584dc7fc5 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Sat, 8 Jul 2017 14:41:57 +0200 Subject: machines/haku: refactor a bit to include into base server config Until now, the config on the actual server was deviating because I changed it locally. --- modules/user/openlab/stackenblocken.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/user/openlab/stackenblocken.nix') diff --git a/modules/user/openlab/stackenblocken.nix b/modules/user/openlab/stackenblocken.nix index 4a5630fe..421b64e9 100644 --- a/modules/user/openlab/stackenblocken.nix +++ b/modules/user/openlab/stackenblocken.nix @@ -16,6 +16,7 @@ in volume = mkOption { description = "Volume in percent"; default = 50; + # TODO: replace with types.intBetween https://github.com/NixOS/nixpkgs/pull/27239 type = types.addCheck types.int (x: x >= 0 && x <= 100); }; }; -- cgit 1.4.1