feat: syncthing

This commit is contained in:
punkfairie 2025-05-26 17:54:09 -07:00
parent b3de4567ff
commit f00f6b55fc
Signed by: punkfairie
GPG key ID: B3C5488E9A1A7CA6
3 changed files with 7 additions and 1 deletions

View file

@ -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";
};

View file

@ -3,6 +3,7 @@
./gnome-keyring.nix
./swaybg.nix
./swaync.nix
./syncthing.nix
./udiskie.nix
];
}

View file

@ -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 {