mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 05:27:13 -06:00
chore: refactored sops secrets
This commit is contained in:
parent
60c469ee7f
commit
9df4b8c8a0
13 changed files with 47 additions and 42 deletions
|
|
@ -16,7 +16,7 @@ in
|
|||
{
|
||||
|
||||
sops.secrets = {
|
||||
"password-user0" = {
|
||||
"passwords/user0" = {
|
||||
neededForUsers = true;
|
||||
sopsFile = ../../secrets/secrets.yaml;
|
||||
};
|
||||
|
|
@ -25,14 +25,14 @@ in
|
|||
users = {
|
||||
users = {
|
||||
"root" = {
|
||||
hashedPasswordFile = config.sops.secrets."password-user0".path;
|
||||
hashedPasswordFile = config.sops.secrets."passwords/user0".path;
|
||||
};
|
||||
${user0} = {
|
||||
description = name;
|
||||
name = user0;
|
||||
isNormalUser = true;
|
||||
shell = pkgs.nushell;
|
||||
hashedPasswordFile = config.sops.secrets."password-user0".path;
|
||||
hashedPasswordFile = config.sops.secrets."passwords/user0".path;
|
||||
extraGroups = [
|
||||
"adbusers"
|
||||
"caddy"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue