password hash is now plain file in private repo.
This commit is contained in:
parent
04783f1580
commit
7642191e98
10 changed files with 11 additions and 51 deletions
|
@ -40,12 +40,15 @@
|
|||
|
||||
programs.zsh.enable = lib.mkDefault true;
|
||||
environment.shells = lib.mkDefault [pkgs.zsh];
|
||||
users.mutableUsers = false;
|
||||
users.users.${config.host.user} = {
|
||||
isNormalUser = true;
|
||||
hashedPassword = lib.removeSuffix "\n" (builtins.readFile "${inputs.nix-secrets}/password-hash");
|
||||
description = config.host.fullName;
|
||||
shell = pkgs.zsh;
|
||||
extraGroups = ["wheel"];
|
||||
};
|
||||
# users.users.root.password = lib.removeSuffix "\n" (builtins.readFile "${inputs.nix-secrets}/password-hash");
|
||||
|
||||
imports = [
|
||||
../../modules/hostopts.nix
|
||||
|
|
|
@ -11,7 +11,6 @@ in {
|
|||
inputs.sops-nix.nixosModules.sops
|
||||
];
|
||||
sops = {
|
||||
defaultSopsFile = "${secretsDirectory}/common.yaml";
|
||||
validateSopsFiles = false;
|
||||
age = {
|
||||
sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue