Usersettings
This commit is contained in:
parent
14c502f901
commit
72abdd1cbc
|
@ -8,5 +8,6 @@
|
|||
../modules/vim.nix
|
||||
../modules/xconfig.nix
|
||||
../modules/zsh.nix
|
||||
../modules/usersettings.nix
|
||||
];
|
||||
}
|
||||
|
|
12
modules/usersettings.nix
Normal file
12
modules/usersettings.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ config, lib, ... }:
|
||||
with lib;
|
||||
let cfg = config.voidcruiser.userSettings;
|
||||
in {
|
||||
options.voidcruiser.userSettings = {
|
||||
mutableUsers = mkEnableOption "Enables immutable users";
|
||||
};
|
||||
|
||||
config = {
|
||||
users.mutableUsers = cfg.mutableUsers;
|
||||
};
|
||||
}
|
|
@ -4,5 +4,6 @@
|
|||
../modules/vim.nix
|
||||
../modules/zsh.nix
|
||||
../modules/audio.nix
|
||||
../modules/usersettings.nix
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue