users/*: passwordFile -> hashedPasswordFile

This commit is contained in:
Infinidoge 2023-09-18 10:21:22 -04:00
parent 77077aa436
commit 34495a53b4
2 changed files with 2 additions and 2 deletions

View file

@ -86,7 +86,7 @@ in
user = { user = {
name = "infinidoge"; name = "infinidoge";
uid = 1000; uid = 1000;
passwordFile = mkIf config.modules.secrets.enable config.secrets.infinidoge-password; hashedPasswordFile = mkIf config.modules.secrets.enable config.secrets.infinidoge-password;
description = "Infinidoge, primary user of the system"; description = "Infinidoge, primary user of the system";
group = "users"; group = "users";
isNormalUser = true; isNormalUser = true;

View file

@ -1,6 +1,6 @@
{ lib, config, self, ... }: { { lib, config, self, ... }: {
users.users.root = { users.users.root = {
passwordFile = lib.mkIf config.modules.secrets.enable config.secrets.root-password; hashedPasswordFile = lib.mkIf config.modules.secrets.enable config.secrets.root-password;
openssh.authorizedKeys.keys = import ./ssh-keys.nix; openssh.authorizedKeys.keys = import ./ssh-keys.nix;
}; };