restricted more of leylas configs behind full user
This commit is contained in:
parent
d9bb30a19d
commit
9b520878c4
6 changed files with 23 additions and 23 deletions
|
@ -4,11 +4,11 @@ let
|
|||
in
|
||||
{
|
||||
options.users.ester = {
|
||||
isNormalUser = lib.mkEnableOption "ester";
|
||||
isFullUser = lib.mkEnableOption "ester";
|
||||
};
|
||||
|
||||
config = {
|
||||
sops.secrets = lib.mkIf cfg.isNormalUser {
|
||||
sops.secrets = lib.mkIf cfg.isFullUser {
|
||||
"passwords/ester" = {
|
||||
neededForUsers = true;
|
||||
# sopsFile = ../secrets.yaml;
|
||||
|
@ -25,7 +25,7 @@ in
|
|||
}
|
||||
|
||||
(
|
||||
if cfg.isNormalUser then {
|
||||
if cfg.isFullUser then {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "networkmanager" ];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue