From 17583c6fce54b67fa076b47b0186ad338ed90a4f Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Sat, 17 Feb 2024 19:34:44 +0100 Subject: [PATCH] Refactor app --- home/default.nix | 4 ++++ home/programs/discord.nix | 5 +++++ home/programs/skype.nix | 5 +++++ home/programs/slack.nix | 5 +++++ home/programs/thunderbird.nix | 5 +++++ modules/system.nix | 10 +--------- 6 files changed, 25 insertions(+), 9 deletions(-) create mode 100644 home/programs/discord.nix create mode 100644 home/programs/skype.nix create mode 100644 home/programs/slack.nix create mode 100644 home/programs/thunderbird.nix diff --git a/home/default.nix b/home/default.nix index 5a4c078..75f8635 100644 --- a/home/default.nix +++ b/home/default.nix @@ -7,6 +7,10 @@ ./programs/vscode.nix ./programs/mise.nix ./programs/chromium.nix + ./programs/discord.nix + ./programs/skype.nix + ./programs/slack.nix + ./programs/thunderbird.nix ]; home = { diff --git a/home/programs/discord.nix b/home/programs/discord.nix new file mode 100644 index 0000000..2bb8877 --- /dev/null +++ b/home/programs/discord.nix @@ -0,0 +1,5 @@ +{ config, pkgs, ... }: + +{ + home.packages = with pkgs; [discord]; +} \ No newline at end of file diff --git a/home/programs/skype.nix b/home/programs/skype.nix new file mode 100644 index 0000000..fb5457b --- /dev/null +++ b/home/programs/skype.nix @@ -0,0 +1,5 @@ +{ config, pkgs, ... }: + +{ + home.packages = with pkgs; [skypeforlinux]; +} \ No newline at end of file diff --git a/home/programs/slack.nix b/home/programs/slack.nix new file mode 100644 index 0000000..ef8b82e --- /dev/null +++ b/home/programs/slack.nix @@ -0,0 +1,5 @@ +{ config, pkgs, ... }: + +{ + home.packages = with pkgs; [slack]; +} \ No newline at end of file diff --git a/home/programs/thunderbird.nix b/home/programs/thunderbird.nix new file mode 100644 index 0000000..f859fc5 --- /dev/null +++ b/home/programs/thunderbird.nix @@ -0,0 +1,5 @@ +{ config, pkgs, ... }: + +{ + home.packages = with pkgs; [thunderbird]; +} \ No newline at end of file diff --git a/modules/system.nix b/modules/system.nix index e9f0d29..157f10f 100644 --- a/modules/system.nix +++ b/modules/system.nix @@ -32,15 +32,7 @@ isNormalUser = true; description = "florian"; extraGroups = [ "networkmanager" "wheel" ]; - packages = with pkgs; [ - firefox - kate - nixd - slack - skypeforlinux - discord - # thunderbird - ]; + packages = with pkgs; [nixd]; }; # Enable CUPS to print documents.