From 06464da30a321ede8ac0238e5374eb50bf531b23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Thu, 4 Apr 2019 16:57:50 +0200 Subject: [PATCH] syncthing --- configs/networks.nix | 6 ++++++ configs/packages.nix | 1 + main.nix | 1 + systems/catullus/configuration.nix | 5 +++++ 4 files changed, 13 insertions(+) diff --git a/configs/networks.nix b/configs/networks.nix index 0b8746b..edd30fa 100644 --- a/configs/networks.nix +++ b/configs/networks.nix @@ -56,6 +56,7 @@ in { hostname = "catullus.local"; user = "root"; }; + "gitlab.peixdev.net".port = 999; }; }; }; @@ -69,6 +70,11 @@ in { passwordAuthentication = false; }; + services.syncthing = { + enable = true; + openDefaultPorts = true; + }; + users.users.kfm.openssh.authorizedKeys.keys = [ sshKey.homeros sshKey.scardanelli diff --git a/configs/packages.nix b/configs/packages.nix index db87222..dd9ca9b 100644 --- a/configs/packages.nix +++ b/configs/packages.nix @@ -71,6 +71,7 @@ in with pkgs; firefox tor-browser-bundle-bin thunderbird + tdesktop w3m wget httpie diff --git a/main.nix b/main.nix index 4f97f03..a566e28 100644 --- a/main.nix +++ b/main.nix @@ -16,6 +16,7 @@ in { ]; boot.cleanTmpDir = true; + boot.extraModulePackages = [ config.boot.kernelPackages.exfat-nofuse ]; time.timeZone = "Europe/Berlin"; diff --git a/systems/catullus/configuration.nix b/systems/catullus/configuration.nix index 94e3717..98a72f7 100644 --- a/systems/catullus/configuration.nix +++ b/systems/catullus/configuration.nix @@ -41,6 +41,11 @@ in { users.mutableUsers = false; + services.syncthing = { + enable = true; + openDefaultPorts = true; + }; + services.openssh.enable = true; users.users.root.openssh.authorizedKeys.keys = [ sshKey.homeros