13 lines
249 B
Nix
13 lines
249 B
Nix
|
{ config, lib, ... }:
|
||
|
with lib;
|
||
|
let cfg = config.voidcruiser.userSettings;
|
||
|
in {
|
||
|
options.voidcruiser.userSettings = {
|
||
|
mutableUsers = mkEnableOption "Enables immutable users";
|
||
|
};
|
||
|
|
||
|
config = {
|
||
|
users.mutableUsers = cfg.mutableUsers;
|
||
|
};
|
||
|
}
|