commit 5aae5355731a95479786eafe05f98417cd53ecb4
parent 66b7acc4b1e5d6a425665d6adc5fec645fa7c038
Author: Leah (ctucx) <git@ctu.cx>
Date: Mon, 17 Jun 2024 18:42:48 +0200
parent 66b7acc4b1e5d6a425665d6adc5fec645fa7c038
Author: Leah (ctucx) <git@ctu.cx>
Date: Mon, 17 Jun 2024 18:42:48 +0200
configurations/linux/programs: add `fractal` and `tuba`
3 files changed, 26 insertions(+), 1 deletion(-)
diff --git a/configurations/linux/programs/communication.nix b/configurations/linux/programs/communication.nix @@ -0,0 +1,21 @@ +{ config, pkgs, lib, ... }: + +let + cfg = config.ctucxConfig.programs; + +in { + + options = { + ctucxConfig.programs = { + fractal.enable = lib.mkEnableOption "fractal matrix-client"; + tuba.enable = lib.mkEnableOption "tuba fediverse client"; + }; + }; + + config = { + home-manager.users.leah.home.packages = [ + (lib.mkIf cfg.fractal.enable pkgs.fractal) + (lib.mkIf cfg.tuba.enable pkgs.tuba) + ]; + }; +}
diff --git a/configurations/linux/programs/default.nix b/configurations/linux/programs/default.nix @@ -14,6 +14,7 @@ ./thunderbird.nix ./libreoffice.nix ./ausweisapp.nix + ./communication.nix ./thunar.nix ./zathura.nix
diff --git a/configurations/linux/sway.nix b/configurations/linux/sway.nix @@ -33,6 +33,7 @@ home-manager.users.leah = { manual.html.enable = true; + services.gnome-keyring.enable = true; }; ctucxConfig = { @@ -62,8 +63,10 @@ firefox.enable = true; thunderbird.enable = true; - libreoffice.enable = true; + fractal.enable = true; + tuba.enable = true; + libreoffice.enable = true; ausweisapp.enable = true; thunar.enable = true;