From a95386aa1b92d7d00c8fdb67e8bd6f25ad4d2c80 Mon Sep 17 00:00:00 2001 From: Filip Hoffmann Date: Thu, 2 Jan 2025 12:04:42 +0100 Subject: [PATCH] move miscellaneous desktop-agnostic packages into their specific files --- system/configuration.nix | 1 + system/locate.nix | 3 +++ user/hyprland.nix | 1 - user/misc.nix | 8 ++++++++ user/plasma.nix | 4 +--- 5 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 system/locate.nix create mode 100644 user/misc.nix diff --git a/system/configuration.nix b/system/configuration.nix index b3d94fd..e5833a8 100644 --- a/system/configuration.nix +++ b/system/configuration.nix @@ -13,6 +13,7 @@ in { ./hardware-configuration.nix ./networking.nix ./locale.nix + ./locate.nix ./xserver.nix ./fonts.nix ./sound.nix diff --git a/system/locate.nix b/system/locate.nix new file mode 100644 index 0000000..702dcdf --- /dev/null +++ b/system/locate.nix @@ -0,0 +1,3 @@ +{...}: { + services.locate.enable = true; +} \ No newline at end of file diff --git a/user/hyprland.nix b/user/hyprland.nix index 9a27f2c..17d5261 100644 --- a/user/hyprland.nix +++ b/user/hyprland.nix @@ -9,7 +9,6 @@ ]; home.packages = with pkgs; [ - discord hyprpaper ]; diff --git a/user/misc.nix b/user/misc.nix new file mode 100644 index 0000000..96c6e16 --- /dev/null +++ b/user/misc.nix @@ -0,0 +1,8 @@ +{pkgs, ...}: { + home.packages = with pkgs; [ + discord + btop + mlocate + exercism + ]; +} \ No newline at end of file diff --git a/user/plasma.nix b/user/plasma.nix index 720f1ef..6462967 100644 --- a/user/plasma.nix +++ b/user/plasma.nix @@ -1,3 +1 @@ -{pkgs, ...}: { - home.packages = [pkgs.discord]; -} \ No newline at end of file +{...}: {} -- 2.51.2