move flake packages to their dedicated package modules
This commit is contained in:
parent
0ee492277a
commit
92ed8a4d48
3 changed files with 16 additions and 10 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
{ pkgs, ... }: {
|
||||
# List packages installed in system profile. To search, run:
|
||||
{ pkgs, lib, inputs, system, ... }:
|
||||
let
|
||||
# List of packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
packages = with pkgs; [
|
||||
wget
|
||||
curl
|
||||
git
|
||||
|
@ -50,6 +51,9 @@
|
|||
nodejs
|
||||
corepack
|
||||
];
|
||||
flakePackages = with inputs; [ compose2nix.packages.${system}.default ];
|
||||
in {
|
||||
environment.systemPackages = lib.lists.unique (packages ++ flakePackages);
|
||||
|
||||
# install docker
|
||||
virtualisation.docker = { enable = true; };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue