Disable extra services/programs covered by KDE

This commit is contained in:
Evie Litherland-Smith 2024-06-16 19:28:56 +01:00
parent 571e761551
commit a44d79e6a0

View file

@ -5,68 +5,54 @@
... ...
}: { }: {
imports = [./default.nix]; imports = [./default.nix];
nixpkgs.config.chromium.commandLineArgs = "--enable-features=UseOzonePlatform --ozone-platform=wayland"; # nixpkgs.config.chromium.commandLineArgs = "--enable-features=UseOzonePlatform --ozone-platform=wayland";
system.autoUpgrade.operation = "boot"; system.autoUpgrade.operation = "boot";
environment = { environment = {
sessionVariables = { # sessionVariables = {
NIXOS_OZONE_WL = "1"; # NIXOS_OZONE_WL = "1";
GRIM_DEFAULT_DIR = "$HOME/Pictures/Grim"; # GRIM_DEFAULT_DIR = "$HOME/Pictures/Grim";
}; # };
systemPackages = with pkgs; [ systemPackages = with pkgs; [
wtype wtype
wl-clipboard # wl-clipboard
xdg-utils xdg-utils
libnotify # libnotify
libcamera # libcamera
glib glib
gsettings-desktop-schemas # gsettings-desktop-schemas
hunspell hunspell
hunspellDicts.en_GB-large hunspellDicts.en_GB-large
pamixer # pamixer
pavucontrol # pavucontrol
playerctl # playerctl
brightnessctl # brightnessctl
]; ];
}; };
security = { # security = {
polkit.enable = true; # polkit.enable = true;
rtkit.enable = true; # rtkit.enable = true;
pam = { # pam = {
services.swaylock = {}; # services.swaylock = {};
loginLimits = [ # loginLimits = [
{ # {
domain = "@users"; # domain = "@users";
item = "rtprio"; # item = "rtprio";
type = "-"; # type = "-";
value = 1; # value = 1;
} # }
]; # ];
}; # };
}; # };
sound.enable = false; sound.enable = false;
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
programs = { programs = {
dconf.enable = true; dconf.enable = true;
light.enable = true;
noisetorch.enable = true; noisetorch.enable = true;
kdeconnect.enable = true;
file-roller.enable = true;
thunar = {
enable = true;
plugins = with pkgs.xfce; [thunar-archive-plugin thunar-volman];
};
sway = {
enable = true;
package =
pkgs.swayfx.overrideAttrs
(old: {passthru.providedSessions = ["sway"];});
wrapperFeatures.gtk = true;
};
gamescope = { gamescope = {
enable = true; enable = true;
capSysNice = true; capSysNice = true;
}; };
xwayland.enable = true; # xwayland.enable = true;
}; };
gtk.iconCache.enable = true; gtk.iconCache.enable = true;
qt = { qt = {
@ -76,27 +62,7 @@
}; };
services = { services = {
flatpak.enable = true; flatpak.enable = true;
blueman.enable = true;
gvfs = {
enable = true;
package = lib.mkForce pkgs.gnome3.gvfs;
};
accounts-daemon.enable = true; accounts-daemon.enable = true;
dbus.packages = with pkgs; [gcr];
greetd = {
enable = true;
vt = 7;
settings = {
default_session.command = ''
${pkgs.greetd.tuigreet}/bin/tuigreet --time\
--remember\
--remember-session\
--user-menu\
--asterisks\
--window-padding 10
'';
};
};
pipewire = { pipewire = {
enable = true; enable = true;
alsa = { alsa = {
@ -108,20 +74,29 @@
pulse.enable = true; pulse.enable = true;
wireplumber.enable = true; wireplumber.enable = true;
}; };
tumbler.enable = true; # tumbler.enable = true;
udisks2.enable = true; # udisks2.enable = true;
xserver = { xserver = {
enable = false; # enable = true;
xkb = { xkb = {
layout = "gb"; layout = "gb";
variant = ""; variant = "";
options = "ctrl:nocaps"; options = "ctrl:nocaps";
}; };
}; };
displayManager = {
enable = true;
defaultSession = "plasma";
sddm = {
enable = true;
wayland.enable = true;
};
};
desktopManager.plasma6.enable = true;
}; };
xdg.portal = { xdg.portal = {
enable = true; enable = true;
config.common.default = "*"; # TODO change for xdg-desktop-portal > 1.17 changes # config.common.default = "*"; # TODO change for xdg-desktop-portal > 1.17 changes
extraPortals = [pkgs.xdg-desktop-portal-gtk]; # extraPortals = [pkgs.xdg-desktop-portal-gtk];
}; };
} }