2024-08-30 12:57:02 +01:00
|
|
|
{ pkgs, username, ... }:
|
2024-07-30 15:06:34 +01:00
|
|
|
{
|
2024-08-30 12:57:02 +01:00
|
|
|
home-manager.users.${username}.imports = [ ./home/desktop.nix ];
|
2024-09-28 07:15:38 +01:00
|
|
|
nixpkgs.config.chromium.commandLineArgs = "--password-store='gnome-libsecret' --enable-features=UseOzonePlatform --ozone-platform=wayland";
|
2024-07-10 08:27:17 +01:00
|
|
|
hardware.bluetooth.enable = true;
|
|
|
|
environment = {
|
2024-08-30 12:57:02 +01:00
|
|
|
sessionVariables = {
|
|
|
|
NIXOS_OZONE_WL = "1";
|
|
|
|
QT_QPA_PLATFORM = "wayland";
|
|
|
|
};
|
2024-07-10 08:27:17 +01:00
|
|
|
systemPackages = with pkgs; [
|
2024-07-10 08:36:28 +01:00
|
|
|
libsecret
|
2024-07-19 08:52:17 +01:00
|
|
|
libnotify
|
2024-07-10 08:27:17 +01:00
|
|
|
xdg-utils
|
|
|
|
hunspell
|
|
|
|
hunspellDicts.en_GB-large
|
|
|
|
];
|
2024-09-30 11:52:26 +01:00
|
|
|
plasma6.excludePackages = with pkgs.kdePackages; [
|
|
|
|
plasma-browser-integration
|
|
|
|
konsole
|
|
|
|
kate
|
|
|
|
];
|
2024-07-10 08:27:17 +01:00
|
|
|
};
|
|
|
|
security = {
|
|
|
|
polkit.enable = true;
|
|
|
|
pam.loginLimits = [
|
|
|
|
{
|
|
|
|
domain = "@users";
|
|
|
|
item = "rtprio";
|
|
|
|
type = "-";
|
|
|
|
value = 1;
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
programs = {
|
|
|
|
dconf.enable = true;
|
|
|
|
noisetorch.enable = true;
|
|
|
|
kdeconnect.enable = true;
|
|
|
|
xwayland.enable = true;
|
|
|
|
};
|
|
|
|
gtk.iconCache.enable = true;
|
|
|
|
services = {
|
2024-09-30 11:52:26 +01:00
|
|
|
displayManager.sddm = {
|
|
|
|
enable = true;
|
|
|
|
wayland.enable = true;
|
|
|
|
};
|
|
|
|
desktopManager.plasma6 = {
|
|
|
|
enable = true;
|
|
|
|
enableQt5Integration = true;
|
|
|
|
};
|
2024-07-10 08:27:17 +01:00
|
|
|
flatpak.enable = true;
|
|
|
|
printing.enable = true;
|
|
|
|
pipewire = {
|
|
|
|
enable = true;
|
|
|
|
pulse.enable = true;
|
|
|
|
alsa = {
|
|
|
|
enable = true;
|
|
|
|
support32Bit = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
xserver = {
|
2024-08-05 14:49:37 +01:00
|
|
|
enable = true;
|
2024-07-10 08:27:17 +01:00
|
|
|
xkb = {
|
|
|
|
layout = "gb";
|
|
|
|
variant = "";
|
|
|
|
options = "ctrl:nocaps";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|