diff options
author | lassulus <lassulus@lassul.us> | 2020-04-22 16:42:14 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2020-04-22 16:42:14 +0200 |
commit | 5df24fc8de72600d4ccb15b896b99c03b5a92a8f (patch) | |
tree | e5a514da84871e5a5ab5b34d2c243d1b28968b3a | |
parent | e82e91612b5e9f4d200619eb10fdfd1a8b560a9e (diff) |
l xjail: remove deprecated string usage
-rw-r--r-- | lass/3modules/xjail.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lass/3modules/xjail.nix b/lass/3modules/xjail.nix index f6ce7ccc9..37f90ee1c 100644 --- a/lass/3modules/xjail.nix +++ b/lass/3modules/xjail.nix @@ -6,11 +6,11 @@ with import <stockholm/lib>; type = types.attrsOf (types.submodule ({ config, ...}: { options = { name = mkOption { - type = types.string; + type = types.str; default = config._module.args.name; }; user = mkOption { - type = types.string; + type = types.str; default = config.name; }; groups = mkOption { @@ -18,11 +18,11 @@ with import <stockholm/lib>; default = []; }; from = mkOption { - type = types.string; + type = types.str; default = "lass"; }; display = mkOption { - type = types.string; + type = types.str; default = toString (genid_uint31 config._module.args.name); }; dpi = mkOption { @@ -47,7 +47,7 @@ with import <stockholm/lib>; }; wm = mkOption { #TODO find type - type = types.string; + type = types.str; default = "${pkgs.writeHaskellPackage "xephyrify-xmonad" { executables.xmonad = { extra-depends = [ |