Skip to content

Commit

Permalink
~ default uname and groupname
Browse files Browse the repository at this point in the history
  • Loading branch information
oluceps committed Nov 13, 2024
1 parent aa9910b commit e7d6528
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions module/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -143,16 +143,16 @@ let
};
owner = mkOption {
type = types.str;
default = "0";
default = "root";
description = ''
User of the decrypted secret.
'';
};
group = mkOption {
type = types.str;
default = users.${submod.config.owner}.group or "0";
default = users.${submod.config.owner}.group or "root";
defaultText = literalExpression ''
users.''${config.owner}.group or "0"
users.''${config.owner}.group or "root"
'';
description = ''
Group of the decrypted secret.
Expand Down
6 changes: 3 additions & 3 deletions module/template.nix
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,16 @@ let
};
owner = mkOption {
type = types.str;
default = "0";
default = "root";
description = ''
User of the built template.
'';
};
group = mkOption {
type = types.str;
default = users.${submod.config.owner}.group or "0";
default = users.${submod.config.owner}.group or "root";
defaultText = literalExpression ''
users.''${config.owner}.group or "0"
users.''${config.owner}.group or "root"
'';
description = ''
Group of the built template.
Expand Down

0 comments on commit e7d6528

Please sign in to comment.