From 50e124299213f05c678106436e15530efe37f613 Mon Sep 17 00:00:00 2001 From: Miguel Palhas Date: Sun, 6 Oct 2024 11:58:05 +0100 Subject: [PATCH] start --- home/arrakis/default.nix | 1 + home/common/programs/syncthing.nix | 6 ++++++ hosts/arrakis/default.nix | 1 - hosts/common/features/syncthing.nix | 4 ---- 4 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 home/common/programs/syncthing.nix delete mode 100644 hosts/common/features/syncthing.nix diff --git a/home/arrakis/default.nix b/home/arrakis/default.nix index c841c5f..0e82594 100644 --- a/home/arrakis/default.nix +++ b/home/arrakis/default.nix @@ -17,6 +17,7 @@ ../common/programs/hyprland ../common/programs/eww ../common/programs/kitty.nix + ../common/programs/syncthing.nix ../common/features/colorscheme.nix ]; diff --git a/home/common/programs/syncthing.nix b/home/common/programs/syncthing.nix new file mode 100644 index 0000000..3013ae4 --- /dev/null +++ b/home/common/programs/syncthing.nix @@ -0,0 +1,6 @@ +{ pkgs, ... }: +{ + services.syncthing = { + enable = true; + }; +} diff --git a/hosts/arrakis/default.nix b/hosts/arrakis/default.nix index 5dc5bad..6bc75aa 100644 --- a/hosts/arrakis/default.nix +++ b/hosts/arrakis/default.nix @@ -18,7 +18,6 @@ in ../common/features/pipewire.nix ../common/features/docker.nix ../common/features/fonts.nix - ../common/features/syncthing.nix ]; networking.hostName = "arrakis"; diff --git a/hosts/common/features/syncthing.nix b/hosts/common/features/syncthing.nix deleted file mode 100644 index 4e5d9b0..0000000 --- a/hosts/common/features/syncthing.nix +++ /dev/null @@ -1,4 +0,0 @@ -{ pkgs, ... }: -{ - environment.systemPackages = [ pkgs.syncthing ]; -}