From 49c72907d921820e798b98550fb1eb2e1886dcc7 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Thu, 22 Aug 2024 01:54:15 -0700 Subject: [PATCH] refactor: move packages into modules --- users/youwen/linux/hyprland/common.nix | 18 ++++++++++++++++++ .../youwen/linux/packages/common-packages.nix | 16 ---------------- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/users/youwen/linux/hyprland/common.nix b/users/youwen/linux/hyprland/common.nix index 7811c59..119bdb2 100644 --- a/users/youwen/linux/hyprland/common.nix +++ b/users/youwen/linux/hyprland/common.nix @@ -4,6 +4,24 @@ system, ... }: { + home.packages = with pkgs; [ + wl-clipboard + grim + slurp + swappy + pavucontrol + waypaper + swaybg + pamixer + brightnessctl + + bibata-cursors + libsForQt5.qtstyleplugin-kvantum + libsForQt5.qt5ct + papirus-icon-theme + libsForQt5.qt5ct + ]; + wayland.windowManager.hyprland = { enable = true; package = inputs.stablepkgs.legacyPackages.${system}.hyprland; diff --git a/users/youwen/linux/packages/common-packages.nix b/users/youwen/linux/packages/common-packages.nix index 68bf4f5..460c45d 100644 --- a/users/youwen/linux/packages/common-packages.nix +++ b/users/youwen/linux/packages/common-packages.nix @@ -22,15 +22,6 @@ with pkgs; [ usbutils # lsusb # desktop utils - wl-clipboard - grim - slurp - swappy - pavucontrol - waypaper - swaybg - pamixer - brightnessctl bitwarden-cli # desktop apps @@ -40,11 +31,4 @@ with pkgs; [ signal-desktop gcc - - # desktop ricing - bibata-cursors - libsForQt5.qtstyleplugin-kvantum - libsForQt5.qt5ct - papirus-icon-theme - libsForQt5.qt5ct ]