Commit c06f52f3b03f
Changed files (4)
systems
hosts
modules
desktop
services
systems/hosts/wakasu.nix
@@ -80,6 +80,8 @@ in
};
desktop = {
wayland.sway.enable = true;
+ };
+ services = {
syncthing = {
enable = true;
guiAddress = "${metadata.hosts.wakasu.wireguard.addrs.v4}:8384";
systems/modules/desktop/default.nix
@@ -5,6 +5,5 @@
./sway.nix
./wayland.nix
./xorg.nix
- ./syncthing.nix
];
}
systems/modules/services/default.nix
@@ -3,6 +3,7 @@
./barrier.nix
./govanityurl.nix
./nix-binary-cache.nix
+ ./syncthing.nix
./wireguard.client.nix
];
}
systems/modules/desktop/syncthing.nix → systems/modules/services/syncthing.nix
@@ -3,7 +3,7 @@
with lib;
let
# unstable = versionOlder config.system.nixos.release "21.05";
- cfg = config.modules.desktop.syncthing;
+ cfg = config.modules.services.syncthing;
isCurrentHost = n: v: n != config.networking.hostName;
devices = {
wakasu = {
@@ -36,7 +36,7 @@ let
in
{
options = {
- modules.desktop.syncthing = {
+ modules.services.syncthing = {
enable = mkEnableOption "Enable syncthing profile";
guiAddress = mkOption {
type = types.str;