diff options
Diffstat (limited to 'lass')
-rw-r--r-- | lass/1systems/green/config.nix | 13 | ||||
-rw-r--r-- | lass/krops.nix | 4 |
2 files changed, 10 insertions, 7 deletions
diff --git a/lass/1systems/green/config.nix b/lass/1systems/green/config.nix index b41e396c9..5cf7d9242 100644 --- a/lass/1systems/green/config.nix +++ b/lass/1systems/green/config.nix @@ -42,13 +42,6 @@ with import <stockholm/lib>; "-M ${toString config.users.users.mainUser.uid}" ]; }; - "/home/lass/sync" = { - source = "/var/state/lass_sync"; - options = [ - "-M ${concatMapStringsSep ":" (u: toString config.users.users.${u}.uid) [ "syncthing" "mainUser" ]}" - "--create-for-user=${toString config.users.users.syncthing.uid}" - ]; - }; "/var/lib/bitlbee" = { source = "/var/state/bitlbee"; options = [ @@ -94,4 +87,10 @@ with import <stockholm/lib>; krebs.iptables.tables.nat.PREROUTING.rules = [ { predicate = "-i eth0 -p tcp -m tcp --dport 22"; target = "ACCEPT"; precedence = 101; } ]; + + # workaround for ssh access from yubikey via android + services.openssh.extraConfig = '' + HostKeyAlgorithms +ssh-rsa + PubkeyAcceptedAlgorithms +ssh-rsa + ''; } diff --git a/lass/krops.nix b/lass/krops.nix index 4abd010e1..ace37888f 100644 --- a/lass/krops.nix +++ b/lass/krops.nix @@ -23,6 +23,10 @@ name = "hosts/${name}"; }; }; + stockholm.file = lib.mkForce { + path = toString ../.; + useChecksum = true; + }; } (if lib.pathExists (./. + "/1systems/${name}/source.nix") then import (./. + "/1systems/${name}/source.nix") { inherit lib pkgs test; } |