Compare commits
2 Commits
262d488283
...
eb1da112ab
| Author | SHA1 | Date | |
|---|---|---|---|
| eb1da112ab | |||
| f664de7fcb |
@@ -1,11 +1,11 @@
|
|||||||
{ config, inputs, lib, ... }: {
|
{ config, inputs, lib, ... }: {
|
||||||
sops = {
|
sops = {
|
||||||
#defaultSopsFile = ../../../../private/secrets.yaml;
|
#defaultSopsFile = ../../../../private/secrets.yaml;
|
||||||
secrets = {
|
#secrets = {
|
||||||
jay_password_hash = {
|
# jay_password_hash = {
|
||||||
neededForUsers = true;
|
# neededForUsers = true;
|
||||||
};
|
# };
|
||||||
};
|
#};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,16 @@
|
|||||||
{ config, inputs, ... }: {
|
{ 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’.
|
||||||
sops.secrets = {
|
#sops.secrets = {
|
||||||
jay_password_hash = { };
|
# jay_password_hash = { };
|
||||||
};
|
#};
|
||||||
|
|
||||||
users = {
|
users = {
|
||||||
mutableUsers = false;
|
mutableUsers = false;
|
||||||
users.jay = {
|
users.jay = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "jay";
|
description = "jay";
|
||||||
hashedPasswordFile = config.sops.secrets.jay_password_hash.path;
|
#hashedPasswordFile = config.sops.secrets.jay_password_hash.path;
|
||||||
#hashedPassword = "$6$RTOXVXRP1iLIXnQb$rVtTeqlJ7g3AcZgftmVdKFnT2ggCsnVayPlT4beLST9Oz2LHGT2fdcOC/yaQkISK3wzFLqh47fSHgQvRUWpl41";
|
hashedPassword = "$y$j9T$oomgQFsMbc0odlNIUXEpq/$dhgLjElzaJuU3rF1wXGcSXFUWC/fP1g5mAPZizKUFQ4";
|
||||||
extraGroups = [ "networkmanager" "wheel" ];
|
extraGroups = [ "networkmanager" "wheel" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
2
private
2
private
Submodule private updated: 978e951aeb...0b5bb59c79
Reference in New Issue
Block a user