mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 03:08:11 +09:00
30 lines
627 B
Nix
30 lines
627 B
Nix
{ ... }: {
|
|
services = {
|
|
|
|
blueman.enable = true; # Bluetooth Support
|
|
tumbler.enable = true; # Image/video preview
|
|
|
|
gnome.gnome-keyring.enable = true;
|
|
|
|
upower.enable = true;
|
|
tlp.enable = true;
|
|
|
|
pipewire = {
|
|
enable = true;
|
|
alsa.enable = true;
|
|
alsa.support32Bit = true;
|
|
pulse.enable = true;
|
|
jack.enable = true;
|
|
};
|
|
|
|
logind = {
|
|
lidSwitch = "lock"; # Lock when lid is closed
|
|
lidSwitchDocked = "ignore"; # Ignore when docked
|
|
extraConfig = ''
|
|
HandleLidSwitchExternalPower=lock
|
|
LidSwitchIgnoreInhibited=no
|
|
'';
|
|
}
|
|
};
|
|
|
|
} |