56 lines
1.2 KiB
Nix
56 lines
1.2 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
|
||
|
];
|
||
|
|
||
|
xdg.portal = {
|
||
|
enable = true;
|
||
|
extraPortals = with pkgs; [
|
||
|
xdg-desktop-portal-gtk
|
||
|
];
|
||
|
};
|
||
|
|
||
|
security.pam.services.hyprlock = {};
|
||
|
|
||
|
fonts.fontconfig = {
|
||
|
hinting = {
|
||
|
enable = false;
|
||
|
style = "none";
|
||
|
};
|
||
|
antialias = true;
|
||
|
subpixel = {
|
||
|
lcdfilter = "none";
|
||
|
rgba = "rgb";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
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;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|