move flake packages to their dedicated package modules

This commit is contained in:
cswimr 2024-11-20 11:40:42 -05:00
parent 0ee492277a
commit 92ed8a4d48
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087
3 changed files with 16 additions and 10 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, lib, ... }:
{ pkgs, inputs, system, lib, ... }:
let
kdePackages = with pkgs.kdePackages; [ plasma-browser-integration ];
packages = with pkgs; [
@ -8,11 +8,13 @@ let
ytmdesktop
ktailctl
wl-clipboard
# we install xdg-desktop-portal-gtx so theming works from kde
# we install xdg-desktop-portal-gtk so GTK theming works in KDE Plasma
xdg-desktop-portal-gtk
];
flakePackages = with inputs; [ zen-browser.packages.${system}.specific ];
in {
environment.systemPackages = lib.lists.unique (kdePackages ++ packages);
environment.systemPackages =
lib.lists.unique (kdePackages ++ packages ++ flakePackages);
programs.partition-manager.enable = true;