From db291c0b80b15c4ee1574b89335a3a6bbe759887 Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Tue, 14 Feb 2023 16:43:02 -0800 Subject: [PATCH] move apps into separate file --- hosts/apps.nix | 45 +++++++++++++++++++++++++++++++++++++++++++++ hosts/home.nix | 43 +------------------------------------------ 2 files changed, 46 insertions(+), 42 deletions(-) create mode 100644 hosts/apps.nix diff --git a/hosts/apps.nix b/hosts/apps.nix new file mode 100644 index 0000000..aab3b57 --- /dev/null +++ b/hosts/apps.nix @@ -0,0 +1,45 @@ +{ pkgs, ... }: + +{ + home.packages = with pkgs; [ + # Command line utilities + wget + neofetch + pfetch + fortune + killall + trash-cli # aliased to rm in .bashrc + unzip + pipes + wine + pandoc + texlive.combined.scheme-full + + # Programming languages + jdk + + # Tray applications + networkmanagerapplet # nm-applet + nextcloud-client + + # System GUI applications + gnome.nautilus + gnome.file-roller + gnome.gnome-calculator + gnome.gnome-disk-utility + + # Applications + discord + gimp + krita + inkscape + obs-studio + qbittorrent + pureref + libreoffice + gnome.ghex + + # Games + prismlauncher + ]; +} diff --git a/hosts/home.nix b/hosts/home.nix index 304dc84..3f4e7de 100644 --- a/hosts/home.nix +++ b/hosts/home.nix @@ -5,6 +5,7 @@ let in { imports = [ + ./apps.nix ../modules/emacs ../modules/fcitx5 ../modules/firefox @@ -78,48 +79,6 @@ in homeDirectory = "/home/${user}"; stateVersion = "22.05"; - - packages = with pkgs; [ - # Command line utilities - wget - neofetch - pfetch - fortune - killall - trash-cli # aliased to rm in .bashrc - unzip - pipes - wine - pandoc - texlive.combined.scheme-full - - # Programming languages - jdk - - # Tray applications - networkmanagerapplet # nm-applet - nextcloud-client - - # System GUI applications - gnome.nautilus - gnome.file-roller - gnome.gnome-calculator - gnome.gnome-disk-utility - - # Applications - discord - gimp - krita - inkscape - obs-studio - qbittorrent - pureref - libreoffice - gnome.ghex - - # Games - prismlauncher - ]; }; programs.bash = {