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

View File

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