Fix password_hash.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{ pkgs, inputs, ... }:
|
{ pkgs, inputs, config, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
inputs.nix-flatpak.nixosModules.nix-flatpak
|
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’.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
users.users.jay = {
|
sops.secrets = {
|
||||||
isNormalUser = true;
|
jay_password_hash = { };
|
||||||
description = "jay";
|
};
|
||||||
hashedPasswordFile = config.sops.secrets.jay_password_hash.path;
|
|
||||||
extraGroups = [ "networkmanager" "wheel" ];
|
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