From 81d8421e084eadc94369576161f5ab28931de659 Mon Sep 17 00:00:00 2001 From: Romain Paquet Date: Mon, 28 Apr 2025 12:14:24 +0200 Subject: [PATCH] move chat apps to a common file --- hosts/haze/beeper.nix | 6 ------ hosts/haze/chat.nix | 8 ++++++++ hosts/haze/default.nix | 3 +-- hosts/haze/discord.nix | 7 +------ 4 files changed, 10 insertions(+), 14 deletions(-) delete mode 100644 hosts/haze/beeper.nix create mode 100644 hosts/haze/chat.nix diff --git a/hosts/haze/beeper.nix b/hosts/haze/beeper.nix deleted file mode 100644 index f924326..0000000 --- a/hosts/haze/beeper.nix +++ /dev/null @@ -1,6 +0,0 @@ -{ pkgs, ... }: -{ - environment.systemPackages = [ - pkgs.beeper - ]; -} diff --git a/hosts/haze/chat.nix b/hosts/haze/chat.nix new file mode 100644 index 0000000..e2322da --- /dev/null +++ b/hosts/haze/chat.nix @@ -0,0 +1,8 @@ +{ pkgs, ... }: +{ + environment.systemPackages = with pkgs; [ + beeper + discord + element-desktop + ]; +} diff --git a/hosts/haze/default.nix b/hosts/haze/default.nix index 6864ad5..5890e56 100644 --- a/hosts/haze/default.nix +++ b/hosts/haze/default.nix @@ -7,9 +7,8 @@ inputs.disko.nixosModules.disko inputs.agenix.nixosModules.default inputs.impermanence.nixosModules.impermanence - ./beeper.nix ./boot.nix - ./discord.nix + ./chat.nix ./disk.nix ./firefox.nix ./gimp.nix diff --git a/hosts/haze/discord.nix b/hosts/haze/discord.nix index 762a30d..8b13789 100644 --- a/hosts/haze/discord.nix +++ b/hosts/haze/discord.nix @@ -1,6 +1 @@ -{ pkgs, ... }: -{ - environment.systemPackages = [ - pkgs.discord - ]; -} +