summaryrefslogtreecommitdiffstats
path: root/krebs/1systems/hope/config.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-05-03 22:49:27 +0200
committerlassulus <lassulus@lassul.us>2018-05-03 22:49:27 +0200
commitb81fe57e3e137a2449fb8cc5e627e484d84bb00e (patch)
tree366d150a8ed59a2dedae06e231654985596d12ba /krebs/1systems/hope/config.nix
parente6794ca8821fd37bf0fcd2966b9927c14e92d180 (diff)
all hope is lost. RIP
Diffstat (limited to 'krebs/1systems/hope/config.nix')
-rw-r--r--krebs/1systems/hope/config.nix41
1 files changed, 0 insertions, 41 deletions
diff --git a/krebs/1systems/hope/config.nix b/krebs/1systems/hope/config.nix
deleted file mode 100644
index c19b210c5..000000000
--- a/krebs/1systems/hope/config.nix
+++ /dev/null
@@ -1,41 +0,0 @@
-with import <stockholm/lib>;
-{ config, pkgs, ... }: let
-
- ip = config.krebs.build.host.nets.internet.ip4.addr;
- bestGuessGateway = addr: elemAt (match "(.*)(\.[^.])" addr) 0 + ".1";
-
-in {
- imports = [
- <stockholm/krebs>
- <stockholm/krebs/2configs>
- <stockholm/krebs/2configs/os-templates/CAC-CentOS-7-64bit.nix>
-
- <stockholm/krebs/2configs/secret-passwords.nix>
- {
- users.extraUsers = {
- satan = {
- name = "satan";
- uid = 1338;
- home = "/home/satan";
- group = "users";
- createHome = true;
- useDefaultShell = true;
- initialPassword = "test";
- };
- };
- }
- ];
-
- krebs.build.host = config.krebs.hosts.hope;
-
- networking = let
- address = config.krebs.build.host.nets.internet.ip4.addr;
- in {
- defaultGateway = bestGuessGateway address;
- interfaces.enp2s1.ip4 = singleton {
- inherit address;
- prefixLength = 24;
- };
- nameservers = ["8.8.8.8"];
- };
-}