mirror of
https://github.com/RGBCube/ncc
synced 2025-07-27 18:17:44 +00:00
chore: rename password age files
This commit is contained in:
parent
082dabb1af
commit
d62084eb03
7 changed files with 28 additions and 19 deletions
|
@ -9,14 +9,17 @@ in {
|
||||||
path = config.secrets.id.path;
|
path = config.secrets.id.path;
|
||||||
}];
|
}];
|
||||||
|
|
||||||
secrets.thePassword.file = ./password.the.age;
|
secrets.password.file = ./password.age;
|
||||||
users.users = {
|
users.users = {
|
||||||
root.hashedPasswordFile = config.secrets.thePassword.path;
|
root = {
|
||||||
|
openssh.authorizedKeys.keys = keys.admins;
|
||||||
|
hashedPasswordFile = config.secrets.password.path;
|
||||||
|
};
|
||||||
|
|
||||||
the = {
|
the = {
|
||||||
description = "The";
|
description = "The";
|
||||||
openssh.authorizedKeys.keys = keys.admins;
|
openssh.authorizedKeys.keys = keys.admins;
|
||||||
hashedPasswordFile = config.secrets.thePassword.path;
|
hashedPasswordFile = config.secrets.password.path;
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "wheel" ];
|
extraGroups = [ "wheel" ];
|
||||||
};
|
};
|
||||||
|
@ -24,14 +27,14 @@ in {
|
||||||
backup = {
|
backup = {
|
||||||
description = "Backup";
|
description = "Backup";
|
||||||
openssh.authorizedKeys.keys = keys.all;
|
openssh.authorizedKeys.keys = keys.all;
|
||||||
hashedPasswordFile = config.secrets.thePassword.path;
|
hashedPasswordFile = config.secrets.password.path;
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
build = {
|
build = {
|
||||||
description = "Build";
|
description = "Build";
|
||||||
openssh.authorizedKeys.keys = keys.all;
|
openssh.authorizedKeys.keys = keys.all;
|
||||||
hashedPasswordFile = config.secrets.thePassword.path;
|
hashedPasswordFile = config.secrets.password.path;
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "build" ];
|
extraGroups = [ "build" ];
|
||||||
};
|
};
|
||||||
|
|
|
@ -9,14 +9,17 @@ in {
|
||||||
path = config.secrets.id.path;
|
path = config.secrets.id.path;
|
||||||
}];
|
}];
|
||||||
|
|
||||||
secrets.floppyPassword.file = ./password.floppy.age;
|
secrets.password.file = ./password.age;
|
||||||
users.users = {
|
users.users = {
|
||||||
root.hashedPasswordFile = config.secrets.floppyPassword.path;
|
root = {
|
||||||
|
openssh.authorizedKeys.keys = keys.admins;
|
||||||
|
hashedPasswordFile = config.secrets.password.path;
|
||||||
|
};
|
||||||
|
|
||||||
floppy = {
|
floppy = {
|
||||||
description = "Floppy";
|
description = "Floppy";
|
||||||
openssh.authorizedKeys.keys = keys.admins;
|
openssh.authorizedKeys.keys = keys.admins;
|
||||||
hashedPasswordFile = config.secrets.floppyPassword.path;
|
hashedPasswordFile = config.secrets.password.path;
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "wheel" ];
|
extraGroups = [ "wheel" ];
|
||||||
};
|
};
|
||||||
|
@ -24,7 +27,7 @@ in {
|
||||||
backup = {
|
backup = {
|
||||||
description = "Backup";
|
description = "Backup";
|
||||||
openssh.authorizedKeys.keys = keys.all;
|
openssh.authorizedKeys.keys = keys.all;
|
||||||
hashedPasswordFile = config.secrets.floppyPassword.path;
|
hashedPasswordFile = config.secrets.password.path;
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -9,14 +9,17 @@ in {
|
||||||
path = config.secrets.id.path;
|
path = config.secrets.id.path;
|
||||||
}];
|
}];
|
||||||
|
|
||||||
secrets.sevenPassword.file = ./password.seven.age;
|
secrets.password.file = ./password.age;
|
||||||
users.users = {
|
users.users = {
|
||||||
root.hashedPasswordFile = config.secrets.sevenPassword.path;
|
root = {
|
||||||
|
openssh.authorizedKeys.keys = keys.admins;
|
||||||
|
hashedPasswordFile = config.secrets.password.path;
|
||||||
|
};
|
||||||
|
|
||||||
seven = {
|
seven = {
|
||||||
description = "Hungry Seven";
|
description = "Hungry Seven";
|
||||||
openssh.authorizedKeys.keys = keys.admins;
|
openssh.authorizedKeys.keys = keys.admins;
|
||||||
hashedPasswordFile = config.secrets.sevenPassword.path;
|
hashedPasswordFile = config.secrets.password.path;
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "wheel" ];
|
extraGroups = [ "wheel" ];
|
||||||
};
|
};
|
||||||
|
@ -24,7 +27,7 @@ in {
|
||||||
backup = {
|
backup = {
|
||||||
description = "Backup";
|
description = "Backup";
|
||||||
openssh.authorizedKeys.keys = keys.all;
|
openssh.authorizedKeys.keys = keys.all;
|
||||||
hashedPasswordFile = config.secrets.sevenPassword.path;
|
hashedPasswordFile = config.secrets.password.path;
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -3,7 +3,7 @@ let
|
||||||
in {
|
in {
|
||||||
# best
|
# best
|
||||||
"hosts/best/id.age".publicKeys = [ best ] ++ admins;
|
"hosts/best/id.age".publicKeys = [ best ] ++ admins;
|
||||||
"hosts/best/password.the.age".publicKeys = [ best ] ++ admins;
|
"hosts/best/password.age".publicKeys = [ best ] ++ admins;
|
||||||
|
|
||||||
"hosts/best/cache/key.age".publicKeys = [ best ] ++ admins;
|
"hosts/best/cache/key.age".publicKeys = [ best ] ++ admins;
|
||||||
|
|
||||||
|
@ -22,11 +22,11 @@ in {
|
||||||
|
|
||||||
# disk
|
# disk
|
||||||
"hosts/disk/id.age".publicKeys = [ disk ] ++ admins;
|
"hosts/disk/id.age".publicKeys = [ disk ] ++ admins;
|
||||||
"hosts/disk/password.floppy.age".publicKeys = [ disk ] ++ admins;
|
"hosts/disk/password.age".publicKeys = [ disk ] ++ admins;
|
||||||
|
|
||||||
# nine
|
# nine
|
||||||
"hosts/nine/id.age".publicKeys = [ nine ] ++ admins;
|
"hosts/nine/id.age".publicKeys = [ nine ] ++ admins;
|
||||||
"hosts/nine/password.seven.age".publicKeys = [ nine ] ++ admins;
|
"hosts/nine/password.age".publicKeys = [ nine ] ++ admins;
|
||||||
|
|
||||||
"hosts/nine/github2forgejo/environment.age".publicKeys = [ nine ] ++ admins;
|
"hosts/nine/github2forgejo/environment.age".publicKeys = [ nine ] ++ admins;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue