Fix password_hash.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ pkgs, inputs, ... }:
|
||||
{ pkgs, inputs, config, ... }:
|
||||
{
|
||||
imports = [
|
||||
inputs.nix-flatpak.nixosModules.nix-flatpak
|
||||
|
||||
@@ -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" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user