more fra1-b
This commit is contained in:
parent
04442d2fcc
commit
a81aa3e6ae
27
flake.nix
27
flake.nix
@ -256,15 +256,13 @@
|
|||||||
./hosts/fra1-b/configuration.nix
|
./hosts/fra1-b/configuration.nix
|
||||||
./modules
|
./modules
|
||||||
|
|
||||||
#{
|
{
|
||||||
# age.secrets = {
|
age.secrets = {
|
||||||
# zfs-passphrase-vno1-oh2.file = ./secrets/vno1-oh2/zfs-passphrase.age;
|
motiejus-passwd-hash.file = ./secrets/motiejus_passwd_hash.age;
|
||||||
# borgbackup-password.file = ./secrets/fra1-a/borgbackup-password.age;
|
root-passwd-hash.file = ./secrets/root_passwd_hash.age;
|
||||||
# motiejus-passwd-hash.file = ./secrets/motiejus_passwd_hash.age;
|
sasl-passwd.file = ./secrets/postfix_sasl_passwd.age;
|
||||||
# root-passwd-hash.file = ./secrets/root_passwd_hash.age;
|
};
|
||||||
# sasl-passwd.file = ./secrets/postfix_sasl_passwd.age;
|
}
|
||||||
# };
|
|
||||||
#}
|
|
||||||
];
|
];
|
||||||
|
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
@ -354,6 +352,17 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fra1-b = {
|
||||||
|
hostname = myData.hosts."fra1-b.servers.jakst".jakstIP;
|
||||||
|
profiles = {
|
||||||
|
system = {
|
||||||
|
sshUser = "motiejus";
|
||||||
|
path = self.nixosConfigurations.fra1-b.pkgs.deploy-rs.lib.activate.nixos self.nixosConfigurations.fra1-b;
|
||||||
|
user = "root";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
checks = builtins.mapAttrs (
|
checks = builtins.mapAttrs (
|
||||||
|
@ -46,10 +46,8 @@ in
|
|||||||
base = {
|
base = {
|
||||||
users = {
|
users = {
|
||||||
enable = true;
|
enable = true;
|
||||||
root.initialPassword = "live";
|
root.hashedPasswordFile = config.age.secrets.root-passwd-hash.path;
|
||||||
user.initialPassword = "live";
|
user.hashedPasswordFile = config.age.secrets.motiejus-passwd-hash.path;
|
||||||
#root.hashedPasswordFile = config.age.secrets.root-passwd-hash.path;
|
|
||||||
#user.hashedPasswordFile = config.age.secrets.motiejus-passwd-hash.path;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
unitstatus = {
|
unitstatus = {
|
||||||
|
Loading…
Reference in New Issue
Block a user