mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2024-12-29 17:46:52 +01:00
use password hash everywehre
This commit is contained in:
parent
7be826ccf6
commit
145d33ddd1
3 changed files with 2 additions and 5 deletions
|
@ -11,7 +11,7 @@ in {
|
|||
isNormalUser = true;
|
||||
shell = pkgs.nushell;
|
||||
description = "Johannes Jöns";
|
||||
initialPassword = "password";
|
||||
hashedPassword = "$2b$05$Uk84TY/RHlH8DIigUlFYjeorjTlCMEY9wN2pAcw5BLaPoc7dKiSsC";
|
||||
extraGroups = [ "wheel" "networkmanager" "pipewire" "audio" "adbusers" ];
|
||||
uid = 1000;
|
||||
openssh.authorizedKeys.keys = [
|
||||
|
|
|
@ -6,7 +6,7 @@ in {
|
|||
|
||||
config = lib.mkIf cfg.enable {
|
||||
users.users.root = {
|
||||
initialPassword = "password";
|
||||
hashedPassword = "$2b$05$Uk84TY/RHlH8DIigUlFYjeorjTlCMEY9wN2pAcw5BLaPoc7dKiSsC";
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB8oyMpS2hK3gQXyHIIVS6oilgMpemLmfhKKJ6RBMwUh johannes@joens.email"
|
||||
];
|
||||
|
|
|
@ -51,9 +51,6 @@
|
|||
security.acme.acceptTerms = true;
|
||||
security.acme.defaults.email = "security@missing.ninja";
|
||||
|
||||
users.users.jopejoe1.hashedPassword = "$2b$05$Uk84TY/RHlH8DIigUlFYjeorjTlCMEY9wN2pAcw5BLaPoc7dKiSsC";
|
||||
users.users.root.hashedPassword = "$2b$05$Uk84TY/RHlH8DIigUlFYjeorjTlCMEY9wN2pAcw5BLaPoc7dKiSsC";
|
||||
|
||||
services.vsftpd = {
|
||||
enable = true;
|
||||
writeEnable = true;
|
||||
|
|
Loading…
Reference in a new issue