From 2a34bf50e7e41554af6a74e1b29081924d22cac8 Mon Sep 17 00:00:00 2001 From: nin Date: Thu, 19 Jan 2017 23:36:49 +0100 Subject: n 1 onondaga: fix build host --- nin/1systems/onondaga.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nin') diff --git a/nin/1systems/onondaga.nix b/nin/1systems/onondaga.nix index f7518aa6b..b0810366a 100644 --- a/nin/1systems/onondaga.nix +++ b/nin/1systems/onondaga.nix @@ -11,7 +11,7 @@ ../2configs/retiolum.nix ]; - krebs.build.host = config.krebs.hosts.hiawatha; + krebs.build.host = config.krebs.hosts.onondaga; boot.loader.grub.enable = true; boot.loader.grub.version = 2; -- cgit v1.2.3 From f017017d58da0da3a745aabee23d05f2278e204d Mon Sep 17 00:00:00 2001 From: nin Date: Thu, 19 Jan 2017 23:37:26 +0100 Subject: n 1 onondaga: delete redundant hostname --- nin/1systems/onondaga.nix | 1 - 1 file changed, 1 deletion(-) (limited to 'nin') diff --git a/nin/1systems/onondaga.nix b/nin/1systems/onondaga.nix index b0810366a..92f316f66 100644 --- a/nin/1systems/onondaga.nix +++ b/nin/1systems/onondaga.nix @@ -21,7 +21,6 @@ # Define on which hard drive you want to install Grub. boot.loader.grub.device = "/dev/sda"; - networking.hostName = "onondaga"; # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # Select internationalisation properties. -- cgit v1.2.3 From 3991331352d85d44d174a90392c0fe3d5e5dee05 Mon Sep 17 00:00:00 2001 From: nin Date: Fri, 20 Jan 2017 00:05:30 +0100 Subject: n 2: add weechat --- nin/2configs/weechat.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 nin/2configs/weechat.nix (limited to 'nin') diff --git a/nin/2configs/weechat.nix b/nin/2configs/weechat.nix new file mode 100644 index 000000000..6c0fb313e --- /dev/null +++ b/nin/2configs/weechat.nix @@ -0,0 +1,21 @@ +{ config, lib, pkgs, ... }: + +let + inherit (import ) genid; +in { + krebs.per-user.chat.packages = with pkgs; [ + mosh + weechat + tmux + ]; + + users.extraUsers.chat = { + home = "/home/chat"; + uid = genid "chat"; + useDefaultShell = true; + createHome = true; + openssh.authorizedKeys.keys = [ + config.krebs.users.nin.pubkey + ]; + }; +} -- cgit v1.2.3 From 531807ece890f1d857304a86837ae4bc1f27076e Mon Sep 17 00:00:00 2001 From: nin Date: Fri, 20 Jan 2017 00:04:09 +0100 Subject: n 1 onondaga: import weechat.nix --- nin/1systems/onondaga.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'nin') diff --git a/nin/1systems/onondaga.nix b/nin/1systems/onondaga.nix index 92f316f66..59f26c46b 100644 --- a/nin/1systems/onondaga.nix +++ b/nin/1systems/onondaga.nix @@ -9,6 +9,7 @@ ../. ../2configs/retiolum.nix + ../2configs/weechat.nix ]; krebs.build.host = config.krebs.hosts.onondaga; -- cgit v1.2.3