summaryrefslogtreecommitdiffstats
path: root/modules/cloudkrebs
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-05-19 22:28:56 +0200
committertv <tv@krebsco.de>2015-05-19 23:17:20 +0200
commit0667f304c34060089a185f5eaccc39064ac16b7e (patch)
treed732e8aac3cca6f80d2cef6ef1f65c16b257214a /modules/cloudkrebs
parentd327bed1a8a6ca545f5bce036a20bf339854c7c3 (diff)
cloudkrebs: update to new architecture
Diffstat (limited to 'modules/cloudkrebs')
-rw-r--r--modules/cloudkrebs/default.nix12
1 files changed, 9 insertions, 3 deletions
diff --git a/modules/cloudkrebs/default.nix b/modules/cloudkrebs/default.nix
index cda40b2..2c7689f 100644
--- a/modules/cloudkrebs/default.nix
+++ b/modules/cloudkrebs/default.nix
@@ -6,8 +6,14 @@
../lass/retiolum-cloudkrebs.nix
../lass/networking-cloudkrebs.nix
../../secrets/cloudkrebs-pw.nix
+ ../lass/sshkeys.nix
];
+ nixpkgs = {
+ url = "https://github.com/Lassulus/nixpkgs";
+ rev = "b42ecfb8c61e514bf7733b4ab0982d3e7e27dacb";
+ };
+
nix.maxJobs = 1;
#activationScripts
@@ -18,10 +24,10 @@
#main user
root = {
openssh.authorizedKeys.keys = [
- "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAp83zynhIueJJsWlSEykVSBrrgBFKq38+vT8bRfa+csqyjZBl2SQFuCPo+Qbh49mwchpZRshBa9jQEIGqmXxv/PYdfBFQuOFgyUq9ZcTZUXqeynicg/SyOYFW86iiqYralIAkuGPfQ4howLPVyjTZtWeEeeEttom6p6LMY5Aumjz2em0FG0n9rRFY2fBzrdYAgk9C0N6ojCs/Gzknk9SGntA96MDqHJ1HXWFMfmwOLCnxtE5TY30MqSmkrJb7Fsejwjoqoe9Y/mCaR0LpG2cStC1+37GbHJNH0caCMaQCX8qdfgMVbWTVeFWtV6aWOaRgwLrPDYn4cHWQJqTfhtPrNQ== lass@mors"
+ config.sshKeys.lass.pub
];
};
- lass = {
+ mainUser = {
uid = 1337;
name = "lass";
#isNormalUser = true;
@@ -33,7 +39,7 @@
description = "lassulus";
extraGroups = [ "wheel" ];
openssh.authorizedKeys.keys = [
- "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAp83zynhIueJJsWlSEykVSBrrgBFKq38+vT8bRfa+csqyjZBl2SQFuCPo+Qbh49mwchpZRshBa9jQEIGqmXxv/PYdfBFQuOFgyUq9ZcTZUXqeynicg/SyOYFW86iiqYralIAkuGPfQ4howLPVyjTZtWeEeeEttom6p6LMY5Aumjz2em0FG0n9rRFY2fBzrdYAgk9C0N6ojCs/Gzknk9SGntA96MDqHJ1HXWFMfmwOLCnxtE5TY30MqSmkrJb7Fsejwjoqoe9Y/mCaR0LpG2cStC1+37GbHJNH0caCMaQCX8qdfgMVbWTVeFWtV6aWOaRgwLrPDYn4cHWQJqTfhtPrNQ== lass@mors"
+ config.sshKeys.lass.pub
];
};
};