about summary refs log tree commit diff
path: root/modules/user/openlab
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2017-07-08 14:41:57 +0200
committerProfpatsch <mail@profpatsch.de>2017-07-08 14:42:19 +0200
commita232772ebb63c27b530c9bac5fd53b3584dc7fc5 (patch)
tree64fcbbc19bd4983b5f22d96ad7b3d735ad65b8b4 /modules/user/openlab
parent8380a6435e03d75e23840cc66d7b669df40dc7bf (diff)
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.
Diffstat (limited to 'modules/user/openlab')
-rw-r--r--modules/user/openlab/stackenblocken.nix1
1 files changed, 1 insertions, 0 deletions
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);
     };
   };