flake/nixos/gui-pkgs.nix

42 lines
1.1 KiB
Nix
Raw Normal View History

{ pkgs, inputs, system, lib, ... }:
let
kdePackages = with pkgs.kdePackages; [ plasma-browser-integration ];
packages = with pkgs; [
2024-11-16 21:04:00 -05:00
bitwarden-desktop
2024-11-17 15:32:21 -05:00
onlyoffice-bin
2024-11-16 20:14:38 -05:00
krita
2024-11-16 20:59:55 -05:00
ytmdesktop
ktailctl
2024-11-16 17:52:13 -05:00
wl-clipboard
# 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 ++ flakePackages);
programs.partition-manager.enable = true;
2024-11-17 15:32:21 -05:00
fonts.packages = with pkgs; [
corefonts
(nerdfonts.override { fonts = [ "FiraCode" ]; })
];
# Systemd user services
# See https://wiki.nixos.org/wiki/Systemd/User_Services for more information
systemd.user.services = {
ktailctl = {
enable = true;
after = [ "network.target" ];
wantedBy = [ "default.target" ];
description =
"A GUI to monitor and manage Tailscale on your Linux desktop, built using KDE Frameworks and Kirigami2.";
serviceConfig = {
Type = "simple";
ExecStart = "${pkgs.ktailctl}/bin/ktailctl";
};
};
};
}