multiple conf edit

This commit is contained in:
Hadi
2025-04-04 15:42:46 +02:00
parent f1482b5c18
commit 40f5fbc6b1

View File

@@ -45,6 +45,10 @@ in {
xkb.variant = "";
};
gnome.gnome-keyring.enable = true;
psd = {
enable = true;
resyncTimer = "10m";
};
};
console.keyMap = keyboardLayout;
@@ -60,13 +64,20 @@ in {
services.libinput.enable = true;
programs.dconf.enable = true;
services = {
dbus.enable = true;
dbus = {
enable = true;
implementation = "broker";
packages = with pkgs; [ gcr gnome-settings-daemon ];
};
gvfs.enable = true;
upower.enable = true;
power-profiles-daemon.enable = true;
udisks2.enable = true;
};
# enable zsh autocompletion for system packages (systemd, etc)
environment.pathsToLink = [ "/share/zsh" ];
# Faster rebuilding
documentation = {
enable = true;
@@ -89,6 +100,28 @@ in {
vim
];
xdg.portal = {
enable = true;
xdgOpenUsePortal = true;
config = {
common.default = [ "gtk" ];
hyprland.default = [ "gtk" "hyprland" ];
};
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
};
security = {
# allow wayland lockers to unlock the screen
pam.services.hyprlock.text = "auth include login";
# userland niceness
rtkit.enable = true;
# don't ask for password for wheel group
sudo.wheelNeedsPassword = false;
};
services.logind.extraConfig = ''
# dont shutdown when power button is short-pressed
HandlePowerKey=ignore