Evie Litherland-Smith
ecc54c5cf9
Move plasma-manager import to plasma config file, no need to import if not using plasma desktop Add libnotify to default installed packages for desktop environment
66 lines
1.3 KiB
Nix
66 lines
1.3 KiB
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
nixpkgs.config.chromium.commandLineArgs = "--enable-features=UseOzonePlatform --ozone-platform=wayland";
|
|
system.autoUpgrade.operation = "boot";
|
|
hardware.bluetooth.enable = true;
|
|
environment = {
|
|
sessionVariables = {
|
|
NIXOS_OZONE_WL = "1";
|
|
QT_QPA_PLATFORM = lib.mkIf config.programs.sway.enable "wayland";
|
|
};
|
|
systemPackages = with pkgs; [
|
|
libsecret
|
|
libnotify
|
|
xdg-utils
|
|
hunspell
|
|
hunspellDicts.en_GB-large
|
|
];
|
|
};
|
|
security = {
|
|
polkit.enable = true;
|
|
pam.loginLimits = [
|
|
{
|
|
domain = "@users";
|
|
item = "rtprio";
|
|
type = "-";
|
|
value = 1;
|
|
}
|
|
];
|
|
};
|
|
programs = {
|
|
dconf.enable = true;
|
|
noisetorch.enable = true;
|
|
kdeconnect.enable = true;
|
|
gamescope = {
|
|
enable = true;
|
|
capSysNice = true;
|
|
};
|
|
xwayland.enable = true;
|
|
};
|
|
gtk.iconCache.enable = true;
|
|
services = {
|
|
flatpak.enable = true;
|
|
printing.enable = true;
|
|
pipewire = {
|
|
enable = true;
|
|
pulse.enable = true;
|
|
alsa = {
|
|
enable = true;
|
|
support32Bit = true;
|
|
};
|
|
};
|
|
xserver = {
|
|
enable = false;
|
|
xkb = {
|
|
layout = "gb";
|
|
variant = "";
|
|
options = "ctrl:nocaps";
|
|
};
|
|
};
|
|
};
|
|
}
|