flake/nixos/gui-pkgs.nix

39 lines
1 KiB
Nix

{ pkgs, lib, ... }:
let
kdePackages = with pkgs.kdePackages; [ plasma-browser-integration ];
packages = with pkgs; [
bitwarden-desktop
onlyoffice-bin
krita
ytmdesktop
ktailctl
wl-clipboard
# we install xdg-desktop-portal-gtx so theming works from kde
xdg-desktop-portal-gtk
];
in {
environment.systemPackages = lib.lists.unique (kdePackages ++ packages);
programs.partition-manager.enable = true;
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";
};
};
};
}