diff options
author | makefu <github@syntax-fehler.de> | 2015-12-15 18:46:25 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2015-12-15 18:46:25 +0100 |
commit | 36b34fdebe5de5a705df78d5cf0221101bc3d610 (patch) | |
tree | 146b28d31c7890bd07237a266780e06b1d1bb59c /makefu/1systems/vbob.nix | |
parent | 55ad05879b8ba97e369bfd72810028dd4622e356 (diff) | |
parent | 3371d54618aa017be77e2494c1cf82331152f3b7 (diff) |
Merge branch 'master' of gum.krebsco.de:stockholm
Diffstat (limited to 'makefu/1systems/vbob.nix')
-rw-r--r-- | makefu/1systems/vbob.nix | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/makefu/1systems/vbob.nix b/makefu/1systems/vbob.nix index 4d8e8ced1..b121a730a 100644 --- a/makefu/1systems/vbob.nix +++ b/makefu/1systems/vbob.nix @@ -1,7 +1,7 @@ # # # -{ config, pkgs, ... }: +{ lib, config, pkgs, ... }: { krebs.build.host = config.krebs.hosts.vbob; @@ -12,13 +12,21 @@ ../2configs/main-laptop.nix #< base-gui # environment + ../2configs/zsh-user.nix ../2configs/virtualization.nix ]; + + # allow vbob to deploy self + users.extraUsers = { + root = { + openssh.authorizedKeys.keys = [ config.krebs.users.makefu-vbob.pubkey ]; + }; + }; nixpkgs.config.packageOverrides = pkgs: { tinc = pkgs.tinc_pre; }; environment.systemPackages = with pkgs;[ get - ]; + ]; networking.firewall.allowedTCPPorts = [ 25 |