flake/nixos/gui-pkgs.nix
cswimr 4b31769241
switch from zen-browser to floorp
this change was made for a multitude of reasons:
1. Zen's constant updates would be completely fine if they didn't almost always result in some part of my workflow being broken. I want my browser to be stable, I don't want updating to break the address bar completely like the latest update as of writing (1.0.2b)
2. Floorp is supported by Home Manager, allowing me to declaratively manage my browser configuration.
2024-12-11 15:05:31 -05:00

61 lines
1.4 KiB
Nix

{
pkgs,
lib,
...
}:
let
kdePackages = with pkgs.kdePackages; [
plasma-browser-integration
];
packages = with pkgs; [
bitwarden-desktop
onlyoffice-bin
okteta
krita
ytmdesktop
ktailctl
wl-clipboard
# we install xdg-desktop-portal-gtk so GTK theming works in KDE Plasma
xdg-desktop-portal-gtk
libnotify
hoppscotch
];
in
{
environment.systemPackages = lib.lists.unique (kdePackages ++ packages);
# Enable the X11 windowing system.
# You can leave this disabled if you're only using the Wayland session.
services.xserver.enable = false;
# Enable the SDDM Display Manager and enable its Wayland support.
services.displayManager.sddm = {
enable = true;
wayland.enable = true;
};
# Enable the KDE Plasma Desktop Environment.
services.desktopManager.plasma6.enable = true;
programs.partition-manager.enable = true;
fonts.packages = with pkgs; [
corefonts
nerd-fonts.fira-code
];
# 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";
};
};
};
}