From 533c3c07b7a4750e97eb1c474e01e651ddb83aa5 Mon Sep 17 00:00:00 2001 From: makefu Date: Sun, 6 Mar 2016 20:56:25 +0100 Subject: add darth --- makefu/1systems/darth.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 makefu/1systems/darth.nix (limited to 'makefu/1systems/darth.nix') diff --git a/makefu/1systems/darth.nix b/makefu/1systems/darth.nix new file mode 100644 index 000000000..322960354 --- /dev/null +++ b/makefu/1systems/darth.nix @@ -0,0 +1,15 @@ +{ config, pkgs, ... }: +{ + imports = + [ + ../2configs/fs/single-partition-ext4.nix + ../2configs/zsh-user.nix + ]; + krebs = { + enable = true; + retiolum.enable = true; + build.host = config.krebs.hosts.darth; + }; + # You want to change these :) + boot.loader.grub.device = "/dev/sda"; +} -- cgit v1.2.3 From f5e1235d01e989437bb1352c403a5c9d4afcb3d3 Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 11 Mar 2016 02:10:34 +0100 Subject: ma 2 tinc-basic-retiolum: RIP --- makefu/1systems/darth.nix | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'makefu/1systems/darth.nix') diff --git a/makefu/1systems/darth.nix b/makefu/1systems/darth.nix index 322960354..7dffb71d9 100644 --- a/makefu/1systems/darth.nix +++ b/makefu/1systems/darth.nix @@ -1,15 +1,15 @@ -{ config, pkgs, ... }: +{ config, pkgs, lib, ... }: + +with config.krebs.lib; { - imports = - [ + imports = [ ../2configs/fs/single-partition-ext4.nix ../2configs/zsh-user.nix - ]; - krebs = { - enable = true; - retiolum.enable = true; - build.host = config.krebs.hosts.darth; - }; - # You want to change these :) - boot.loader.grub.device = "/dev/sda"; + ../. + ]; + + krebs.build.host = config.krebs.hosts.darth; + krebs.retiolum.enable = true; + + boot.loader.grub.device = "/dev/disk/by-id/ata-ADATA_SSD_S599_64GB_10460000000000000039"; } -- cgit v1.2.3 From ce98c6d7a3980e1e81e4ecceaec12d29cd25eb36 Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 11 Mar 2016 02:23:04 +0100 Subject: s 1 wolf: use tinc_pre for local discovery --- makefu/1systems/darth.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'makefu/1systems/darth.nix') diff --git a/makefu/1systems/darth.nix b/makefu/1systems/darth.nix index 7dffb71d9..7972c6201 100644 --- a/makefu/1systems/darth.nix +++ b/makefu/1systems/darth.nix @@ -10,6 +10,7 @@ with config.krebs.lib; krebs.build.host = config.krebs.hosts.darth; krebs.retiolum.enable = true; + nixpkgs.config.packageOverrides = pkgs: { tinc = pkgs.tinc_pre; }; boot.loader.grub.device = "/dev/disk/by-id/ata-ADATA_SSD_S599_64GB_10460000000000000039"; } -- cgit v1.2.3 From 4588c5a19bd61bc8bac1f9ad12016a9d9b56dfdc Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 11 Mar 2016 09:03:49 +0100 Subject: ma 1 darth: add omo ssh pubkey --- makefu/1systems/darth.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'makefu/1systems/darth.nix') diff --git a/makefu/1systems/darth.nix b/makefu/1systems/darth.nix index 7972c6201..95a37006b 100644 --- a/makefu/1systems/darth.nix +++ b/makefu/1systems/darth.nix @@ -13,4 +13,7 @@ with config.krebs.lib; nixpkgs.config.packageOverrides = pkgs: { tinc = pkgs.tinc_pre; }; boot.loader.grub.device = "/dev/disk/by-id/ata-ADATA_SSD_S599_64GB_10460000000000000039"; + users.users.root.openssh.authorizedKeys.keys = [ + config.krebs.users.makefu-omo.pubkey + ]; } -- cgit v1.2.3 From 2e317bfe747ec968d3b933ae4c0df68ad204021c Mon Sep 17 00:00:00 2001 From: makefu Date: Tue, 15 Mar 2016 13:20:14 +0100 Subject: ma 2: use tinc-pre per default --- makefu/1systems/darth.nix | 2 -- 1 file changed, 2 deletions(-) (limited to 'makefu/1systems/darth.nix') diff --git a/makefu/1systems/darth.nix b/makefu/1systems/darth.nix index 95a37006b..a33744f0b 100644 --- a/makefu/1systems/darth.nix +++ b/makefu/1systems/darth.nix @@ -8,9 +8,7 @@ with config.krebs.lib; ../. ]; - krebs.build.host = config.krebs.hosts.darth; krebs.retiolum.enable = true; - nixpkgs.config.packageOverrides = pkgs: { tinc = pkgs.tinc_pre; }; boot.loader.grub.device = "/dev/disk/by-id/ata-ADATA_SSD_S599_64GB_10460000000000000039"; users.users.root.openssh.authorizedKeys.keys = [ -- cgit v1.2.3 [cgit] Unable to lock slot /tmp/cgit/e6100000.lock: No such file or directory (2)