2023-03-29 21:48:55 +05:30
|
|
|
{ pkgs, ... }: {
|
2023-03-15 22:11:59 +05:30
|
|
|
services = {
|
|
|
|
blueman.enable = true;
|
|
|
|
dbus = {
|
|
|
|
enable = true;
|
|
|
|
apparmor = "enabled";
|
2023-03-29 21:48:55 +05:30
|
|
|
packages = [ pkgs.gcr pkgs.gcr_4 ];
|
2023-03-15 22:11:59 +05:30
|
|
|
};
|
|
|
|
fstrim.enable = true;
|
|
|
|
fwupd.enable = true;
|
2023-04-07 13:45:51 +05:30
|
|
|
geoclue2.enable = true;
|
2023-04-04 09:10:12 +05:30
|
|
|
gnome.gnome-keyring.enable = true;
|
2023-03-15 22:11:59 +05:30
|
|
|
gvfs.enable = true;
|
|
|
|
lvm.dmeventd.enable = true;
|
2023-03-23 22:10:30 +05:30
|
|
|
pcscd.enable = true;
|
2023-03-15 22:11:59 +05:30
|
|
|
pipewire = {
|
|
|
|
enable = true;
|
|
|
|
alsa.enable = true;
|
|
|
|
jack.enable = true;
|
|
|
|
pulse.enable = true;
|
|
|
|
};
|
2023-03-16 21:11:08 +05:30
|
|
|
resolved.enable = true;
|
2023-03-15 22:11:59 +05:30
|
|
|
thermald.enable = true;
|
2023-04-06 02:39:16 +05:30
|
|
|
tlp = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
CPU_SCALING_GOVERNOR_ON_AC="performance";
|
|
|
|
CPU_SCALING_GOVERNOR_ON_BAT="powersave";
|
|
|
|
|
|
|
|
CPU_ENERGY_PERF_POLICY_ON_AC="performance";
|
|
|
|
CPU_ENERGY_PERF_POLICY_ON_BAT="power";
|
|
|
|
|
|
|
|
CPU_MAX_PERF_ON_AC=100;
|
|
|
|
CPU_MAX_PERF_ON_BAT=60;
|
|
|
|
|
|
|
|
CPU_BOOST_ON_AC=1;
|
|
|
|
CPU_BOOST_ON_BAT=0;
|
2023-04-06 02:53:57 +05:30
|
|
|
|
|
|
|
CPU_HWP_DYN_BOOST_ON_AC=1;
|
|
|
|
CPU_HWP_DYN_BOOST_ON_BAT=0;
|
2023-04-06 02:39:16 +05:30
|
|
|
};
|
|
|
|
};
|
2023-03-29 21:48:55 +05:30
|
|
|
udev.packages = [ pkgs.yubikey-personalization ];
|
2023-03-15 22:11:59 +05:30
|
|
|
udisks2.enable = true;
|
|
|
|
};
|
2023-04-04 09:17:30 +05:30
|
|
|
security.pam.services = {
|
|
|
|
passwd.enableGnomeKeyring = true;
|
|
|
|
login.enableGnomeKeyring = true;
|
|
|
|
swaylock = { };
|
|
|
|
};
|
2023-03-15 22:11:59 +05:30
|
|
|
}
|