diff --git a/SwarselSystems.org b/SwarselSystems.org index 46bfe65..7db3931 100644 --- a/SwarselSystems.org +++ b/SwarselSystems.org @@ -11171,8 +11171,8 @@ This holds packages that I can use as provided, or with small modifications (as # spotify # vesktop # discord client # nextcloud-client # enables a systemd service that I do not want - spotify-player - element-desktop + # spotify-player + # element-desktop nicotine-plus stable.transmission_3 mktorrent @@ -14627,6 +14627,41 @@ This service changes the screen hue at night. I am not sure if that really does } #+end_src +**** Element-desktop + + +#+begin_src nix-ts :tangle modules/home/common/element.nix + { lib, config, ... }: + let + moduleName = "element-desktop"; + in + { + options.swarselmodules.${moduleName} = lib.mkEnableOption "enable ${moduleName} and settings"; + config = lib.mkIf config.swarselmodules.${moduleName} { + programs.element-desktop = { + enable = true; + settings = { + default_server_config = { + "m.homeserver" = { + base_url = "https://swatrix.swarsel.win/"; + }; + }; + UIFeature = { + feedback = false; + voip = false; + widgets = false; + shareSocial = false; + registration = false; + passwordReset = false; + deactivate = false; + }; + }; + }; + }; + + } +#+end_src + **** vesktop #+begin_src nix-ts :tangle modules/home/common/vesktop.nix diff --git a/modules/home/common/element.nix b/modules/home/common/element.nix new file mode 100644 index 0000000..f9ba831 --- /dev/null +++ b/modules/home/common/element.nix @@ -0,0 +1,29 @@ +{ lib, config, ... }: +let + moduleName = "element-desktop"; +in +{ + options.swarselmodules.${moduleName} = lib.mkEnableOption "enable ${moduleName} and settings"; + config = lib.mkIf config.swarselmodules.${moduleName} { + programs.element-desktop = { + enable = true; + settings = { + default_server_config = { + "m.homeserver" = { + base_url = "https://swatrix.swarsel.win/"; + }; + }; + UIFeature = { + feedback = false; + voip = false; + widgets = false; + shareSocial = false; + registration = false; + passwordReset = false; + deactivate = false; + }; + }; + }; + }; + +} diff --git a/modules/home/common/packages.nix b/modules/home/common/packages.nix index e6a6e41..53740e0 100644 --- a/modules/home/common/packages.nix +++ b/modules/home/common/packages.nix @@ -81,8 +81,9 @@ # spotify # vesktop # discord client # nextcloud-client # enables a systemd service that I do not want - spotify-player - element-desktop + # spotify-player + # element-desktop + nicotine-plus stable.transmission_3 mktorrent