31 lines
611 B
Nix
31 lines
611 B
Nix
{
|
|
pkgs,
|
|
secrets,
|
|
...
|
|
}: let
|
|
user = (import ../../../secrets.nix).users;
|
|
in {
|
|
imports = [
|
|
./dbus.nix
|
|
./pipewire.nix
|
|
./tlp.nix
|
|
./udev.nix
|
|
];
|
|
services = {
|
|
blueman.enable = true;
|
|
fstrim.enable = true;
|
|
fwupd.enable = true;
|
|
geoclue2.enable = true;
|
|
getty.autologinUser = user.primary.userName;
|
|
gnome.gnome-keyring.enable = true;
|
|
gvfs.enable = true;
|
|
logind.extraConfig = ''
|
|
HandlePowerKey=ignore
|
|
'';
|
|
lvm.dmeventd.enable = true;
|
|
pcscd.enable = true;
|
|
resolved.enable = true;
|
|
thermald.enable = true;
|
|
udisks2.enable = true;
|
|
};
|
|
}
|