Files
nixos-config/system/services/default.nix
T
jory 89022e0d50 feat(nixos): add multi-arch support and refactor system configs
- add aarch64-linux to supported systems (flake + pkgs)
- refactor host definitions into tty/desktop/laptop configurations
- introduce sharedModules to reduce duplication
- split system modules into base, gui, and laptop groups
- add headless (tty) configuration

feat(fish): add Ctrl+Delete and Alt+Delete bindings
- Ctrl+Delete → kill-word
- Alt+Delete → kill-token

chore(hosts): remove explicit hostname from aesthetic

chore(services): remove forced disable of speechd
2026-04-14 18:47:19 +02:00

30 lines
511 B
Nix

{
lib,
pkgs,
...
}: {
services = {
printing = {
enable = true;
drivers = [pkgs.hplip];
};
irqbalance.enable = true;
thermald.enable = true;
};
# Use in place of hypridle's before_sleep_cmd, since systemd does not wait for
# it to complete
powerManagement = {
enable = true;
cpuFreqGovernor = "schedutil";
powerDownCommands = ''
# Lock all sessions
loginctl lock-sessions
# Wait for lockscreen(s) to be up
sleep 1
'';
};
}