Skip to content

Commit

Permalink
reorder options
Browse files Browse the repository at this point in the history
  • Loading branch information
nzbr committed Sep 11, 2023
1 parent 04e1eb2 commit d668d8e
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions modules/wsl-distro.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,23 @@ in
internal = true;
description = "Package to be linked to /bin/sh. Mainly useful to be re-used by other modules like envfs.";
};
defaultUser = mkOption {
type = str;
default = "nixos";
description = "The name of the default user";
};
populateBin = mkOption {
type = bool;
default = true;
internal = true;
description = ''
Dangerous! Things might break. Use with caution!
Do not populate /bin.
This is mainfly useful if another module populates /bin like envfs.
'';
};
extraBin = mkOption {
type = listOf (submodule ({ config, ... }: {
options = {
Expand All @@ -45,23 +62,6 @@ in
default = false;
description = "Use native WSL systemd support";
};
defaultUser = mkOption {
type = str;
default = "nixos";
description = "The name of the default user";
};
populateBin = mkOption {
type = bool;
default = true;
internal = true;
description = ''
Dangerous! Things might break. Use with caution!
Do not populate /bin.
This is mainfly useful if another module populates /bin like envfs.
'';
};
startMenuLaunchers = mkEnableOption "shortcuts for GUI applications in the windows start menu";
};

Expand Down

0 comments on commit d668d8e

Please sign in to comment.