diff options
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/kyren-laptop/configuration.nix (renamed from hosts/laptop-nixos/configuration.nix) | 13 | ||||
| -rw-r--r-- | hosts/kyren-laptop/hardware-configuration.nix (renamed from hosts/laptop-nixos/hardware-configuration.nix) | 0 | ||||
| -rw-r--r-- | hosts/kyren-laptop/home.nix (renamed from hosts/laptop-nixos/home.nix) | 0 |
3 files changed, 12 insertions, 1 deletions
diff --git a/hosts/laptop-nixos/configuration.nix b/hosts/kyren-laptop/configuration.nix index 3047df5..875ceac 100644 --- a/hosts/laptop-nixos/configuration.nix +++ b/hosts/kyren-laptop/configuration.nix @@ -8,7 +8,7 @@ boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - networking.hostName = "laptop-nixos"; + networking.hostName = "kyren-laptop"; # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. nix.settings.experimental-features = [ "nix-command" "flakes" ]; @@ -186,6 +186,17 @@ virtualisation.libvirtd.enable = true; virtualisation.spiceUSBRedirection.enable = true; + services.syncthing.enable = true; + services.syncthing = { + group = "users"; + user = "kyren"; + dataDir = "/home/kyren"; + configDir = "/home/kyren/.config/syncthing"; + }; + systemd.tmpfiles.rules = [ + "d /home/kyren/.config/syncthing 0700 kyren users" + ]; + # Open ports in the firewall. # networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ]; diff --git a/hosts/laptop-nixos/hardware-configuration.nix b/hosts/kyren-laptop/hardware-configuration.nix index ac755f7..ac755f7 100644 --- a/hosts/laptop-nixos/hardware-configuration.nix +++ b/hosts/kyren-laptop/hardware-configuration.nix diff --git a/hosts/laptop-nixos/home.nix b/hosts/kyren-laptop/home.nix index 6707ae1..6707ae1 100644 --- a/hosts/laptop-nixos/home.nix +++ b/hosts/kyren-laptop/home.nix |
