diff --git a/hosts/nyx/default.nix b/hosts/nyx/default.nix index f4e54f1..be340da 100644 --- a/hosts/nyx/default.nix +++ b/hosts/nyx/default.nix @@ -22,7 +22,10 @@ in { }; home-manager.users."${name}" = { - marleyos.shell.niri.monitors = ["DP-1" "HDMI-A-1"]; + marleyos = { + shell.niri.monitors = ["DP-1" "HDMI-A-1"]; + services.syncthing = enabled; + }; home.stateVersion = "24.05"; }; diff --git a/modules/home/services/default.nix b/modules/home/services/default.nix index fad7d0b..5e1b683 100644 --- a/modules/home/services/default.nix +++ b/modules/home/services/default.nix @@ -3,6 +3,7 @@ ./gnome-keyring.nix ./swaybg.nix ./swaync.nix + ./syncthing.nix ./udiskie.nix ]; } diff --git a/snowflake/modules/home/services/syncthing/default.nix b/modules/home/services/syncthing.nix similarity index 80% rename from snowflake/modules/home/services/syncthing/default.nix rename to modules/home/services/syncthing.nix index fbbcb37..de7ad99 100644 --- a/snowflake/modules/home/services/syncthing/default.nix +++ b/modules/home/services/syncthing.nix @@ -6,6 +6,8 @@ }: let cfg = config.marleyos.services.syncthing; in { + # I am specifically not enabling this for the OS as a whole, as I don't want + # to deal with user shenanigans. options.marleyos.services.syncthing.enable = lib.mkEnableOption "syncthing"; config = lib.mkIf cfg.enable {