Usersettings

This commit is contained in:
Nox Sluijtman 2023-12-26 09:22:55 +01:00
parent 14c502f901
commit 72abdd1cbc
3 changed files with 14 additions and 0 deletions

View file

@ -8,5 +8,6 @@
../modules/vim.nix
../modules/xconfig.nix
../modules/zsh.nix
../modules/usersettings.nix
];
}

12
modules/usersettings.nix Normal file
View 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;
};
}

View file

@ -4,5 +4,6 @@
../modules/vim.nix
../modules/zsh.nix
../modules/audio.nix
../modules/usersettings.nix
];
}