make password hashes secret

This commit is contained in:
lassulus 2015-05-15 16:38:55 +02:00 committed by tv
parent 9cad67add7
commit bce5bb5eb8
2 changed files with 2 additions and 5 deletions

View File

@ -23,6 +23,7 @@
../common/nixpkgs.nix
../lass/binary-caches.nix
../lass/ircd.nix
../../secrets/mors-pw.nix
];
nixpkgs = {
url = "https://github.com/Lassulus/nixpkgs";
@ -164,11 +165,8 @@
useDefaultShell = true;
isSystemUser = false;
extraGroups = [ "wheel" "audio" ];
hashedPassword = "$6$78Zog6OCAQn6tFCO$jpOPksguWEsOPz7u1r6kVApD0Zb2SqjFV8Gn1JCZevcMtBI.jm0CcojXvW.v23xWDt4wZE4KcxFSNWNU.E9ef.";
};
root = {
hashedPassword = "$6$78Zog6OCAQn6tFCO$jpOPksguWEsOPz7u1r6kVApD0Zb2SqjFV8Gn1JCZevcMtBI.jm0CcojXvW.v23xWDt4wZE4KcxFSNWNU.E9ef.";
};
#main user
#miefda-mc-dev user
miefda = {

View File

@ -12,6 +12,7 @@
../lass/pass.nix
../lass/vim.nix
../lass/urxvt.nix
../../secrets/uriel-pw.nix
];
nixpkgs = {
url = "https://github.com/Lassulus/nixpkgs";
@ -76,7 +77,6 @@
users.extraUsers = {
root = {
hashedPassword = "$6$78Zog6OCAQn6tFCO$jpOPksguWEsOPz7u1r6kVApD0Zb2SqjFV8Gn1JCZevcMtBI.jm0CcojXvW.v23xWDt4wZE4KcxFSNWNU.E9ef.";
openssh.authorizedKeys.keys = [
config.sshKeys.lass.pub
];
@ -92,7 +92,6 @@
isSystemUser = false;
description = "lassulus";
extraGroups = [ "wheel" "audio" ];
hashedPassword = "$6$78Zog6OCAQn6tFCO$jpOPksguWEsOPz7u1r6kVApD0Zb2SqjFV8Gn1JCZevcMtBI.jm0CcojXvW.v23xWDt4wZE4KcxFSNWNU.E9ef.";
openssh.authorizedKeys.keys = [
config.sshKeys.lass.pub
];