configuration.nix/hosts/skipper/services/default.nix
2024-05-27 05:23:35 +05:30

32 lines
654 B
Nix

{ secrets, ... }:
let
user = secrets.users;
in
{
imports = [
./btrfs.nix
./dbus.nix
./keyd.nix
./pipewire.nix
./udev.nix
./ssh.nix
];
services = {
cpupower-gui.enable = true;
fstrim.enable = true;
fwupd.enable = true;
getty.autologinUser = user.primary.userName;
gnome.gnome-keyring.enable = true;
gvfs.enable = true;
irqbalance.enable = true;
logind.extraConfig = ''
HandlePowerKey=ignore
'';
lvm.dmeventd.enable = true;
pcscd.enable = true;
power-profiles-daemon.enable = true;
thermald.enable = true;
udisks2.enable = true;
upower.enable = true;
};
}