49 lines
1.1 KiB
Nix
49 lines
1.1 KiB
Nix
{pkgs, ...}: {
|
|
programs.hyprland = {
|
|
enable = true;
|
|
withUWSM = true;
|
|
};
|
|
|
|
programs.thunar.enable = true;
|
|
programs.xfconf.enable = true;
|
|
services.gvfs.enable = true;
|
|
services.tumbler.enable = true;
|
|
programs.thunar.plugins = with pkgs.xfce; [
|
|
thunar-archive-plugin
|
|
thunar-volman
|
|
thunar-media-tags-plugin
|
|
];
|
|
|
|
security.pam.services.hyprlock = {};
|
|
|
|
fonts.fontconfig = {
|
|
hinting = {
|
|
enable = false;
|
|
style = "none";
|
|
};
|
|
antialias = true;
|
|
subpixel = {
|
|
lcdfilter = "none";
|
|
rgba = "rgb";
|
|
};
|
|
};
|
|
|
|
environment.pathsToLink = ["/share/xdg-desktop-portal" "/share/applications"];
|
|
environment.systemPackages = with pkgs; [hyprpolkitagent];
|
|
|
|
systemd = {
|
|
user.services.hyprpolkitagent = {
|
|
description = "hyprpolkitagent";
|
|
wantedBy = ["graphical-session.target"];
|
|
wants = ["graphical-session.target"];
|
|
after = ["graphical-session.target"];
|
|
serviceConfig = {
|
|
Type = "simple";
|
|
ExecStart = "${pkgs.hyprpolkitagent}/libexec/hyprpolkitagent";
|
|
Restart = "on-failure";
|
|
RestartSec = 1;
|
|
TimeoutStopSec = 10;
|
|
};
|
|
};
|
|
};
|
|
}
|