Fix password_hash.

This commit is contained in:
jay committed 2025-07-10 07:45:24 -04:00
1 parent 9d30869c02
commit 0e4d790e30
2 files changed
+10 -3

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
{ pkgs, inputs, ... }:
{ pkgs, inputs, config, ... }:
{
imports = [
inputs.nix-flatpak.nixosModules.nix-flatpak
+9 -2
View File
@@ -1,10 +1,17 @@
{ config, ... }: {
{ config, inputs, ... }: {
# Define a user account. Don't forget to set a password with ‘passwd’.
users.users.jay = {
sops.secrets = {
jay_password_hash = { };
};
users = {
mutableUsers = false;
users.jay = {
isNormalUser = true;
description = "jay";
hashedPasswordFile = config.sops.secrets.jay_password_hash.path;
extraGroups = [ "networkmanager" "wheel" ];
};
};
}