1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

feat: change passwords and hide new hashes

This commit is contained in:
oddlama 2023-05-22 23:53:45 +02:00
parent aaa1d88d46
commit f65b217a92
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
5 changed files with 13 additions and 7 deletions

View file

@ -6,7 +6,7 @@
...
}: {
users.users.root = {
hashedPassword = "$6$EBo/CaxB.dQoq2W8$lo2b5vKgJlLPdGGhEqa08q3Irf1Zd1PcFBCwJOrG8lqjwbABkn1DEhrMh1P3ezwnww2HusUBuZGDSMa4nvSQg1";
inherit (config.repo.secrets.global.root) hashedPassword;
openssh.authorizedKeys.keys = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA5Uq+CDy5Pmt3If5M6d8K/Q7HArU6sZ7sgoj3T521Wm"];
shell = pkgs.zsh;
};
@ -20,6 +20,10 @@
inherit stateVersion;
inherit (config.users.users.root) uid;
username = config.users.users.root.name;
packages = with pkgs; [
wireguard-tools
];
};
};
}