feat: syncthing
This commit is contained in:
parent
b3de4567ff
commit
f00f6b55fc
3 changed files with 7 additions and 1 deletions
|
@ -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";
|
||||
};
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
./gnome-keyring.nix
|
||||
./swaybg.nix
|
||||
./swaync.nix
|
||||
./syncthing.nix
|
||||
./udiskie.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 {
|
Loading…
Reference in a new issue