ctucx.git: nixfiles

ctucx' nixfiles

commit f330ee2b4f1aca7ca5d498a5485403d02c89fb3c
parent a9da964e04912cf8dcd0a20aa776b05d729ab717
Author: Leah (ctucx) <git@ctu.cx>
Date: Tue, 22 Oct 2024 13:47:53 +0200

configurations/linux/programs/communication: add `paper-plane`
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/configurations/linux/programs/communication.nix b/configurations/linux/programs/communication.nix
@@ -7,15 +7,17 @@ in {
 
   options = {
     ctucxConfig.programs = {
-      fractal.enable = lib.mkEnableOption "fractal matrix-client";
-      tuba.enable    = lib.mkEnableOption "tuba fediverse client";
+      fractal.enable     = lib.mkEnableOption "fractal matrix-client";
+      tuba.enable        = lib.mkEnableOption "tuba fediverse client";
+      paper-plane.enable = lib.mkEnableOption "paper-plane telegram client";
     };
   };
 
   config = {
     home-manager.users.leah.home.packages = [
-      (lib.mkIf cfg.fractal.enable pkgs.fractal)
-      (lib.mkIf cfg.tuba.enable    pkgs.tuba)
+      (lib.mkIf cfg.fractal.enable        pkgs.fractal)
+      (lib.mkIf cfg.tuba.enable           pkgs.tuba)
+      (lib.mkIf cfg.paper-plane.enable    pkgs.paper-plane)
     ];
   };
 }
diff --git a/configurations/linux/sway.nix b/configurations/linux/sway.nix
@@ -65,6 +65,7 @@
       thunderbird.enable   = true;
       fractal.enable       = true;
       tuba.enable          = true;
+      paper-plane.enable   = true;
 
       libreoffice.enable   = true;
       ausweisapp.enable    = true;