summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-05-15 16:38:55 +0200
committertv <tv@shackspace.de>2015-05-19 23:17:20 +0200
commitbce5bb5eb8359f3bf3453a1514ffb314212c7157 (patch)
treec59de2edb599aefb940881af1fa47c3e263ef6eb
parent9cad67add70359ad9a3ebeaf5c9b29f734f9f8d9 (diff)
make password hashes secret
-rw-r--r--modules/mors/default.nix4
-rw-r--r--modules/uriel/default.nix3
2 files changed, 2 insertions, 5 deletions
diff --git a/modules/mors/default.nix b/modules/mors/default.nix
index 67281134e..152d41c2d 100644
--- a/modules/mors/default.nix
+++ b/modules/mors/default.nix
@@ -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 = {
diff --git a/modules/uriel/default.nix b/modules/uriel/default.nix
index 2fa4bd59e..7d58abd87 100644
--- a/modules/uriel/default.nix
+++ b/modules/uriel/default.nix
@@ -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
];