summaryrefslogtreecommitdiffstats
path: root/modules/cloudkrebs
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-05-19 22:28:56 +0200
committertv <tv@shackspace.de>2015-05-19 23:17:20 +0200
commit84ea6e4f5d419e3a021b52367144ac831554055e (patch)
treed732e8aac3cca6f80d2cef6ef1f65c16b257214a /modules/cloudkrebs
parent6258a10dfe6361573731fcb7fac8b99b1a0184f1 (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 cda40b216..2c7689f82 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
];
};
};