37 lines
760 B
Nix
37 lines
760 B
Nix
{ secrets, ... }:
|
|
let
|
|
user = secrets.users;
|
|
in
|
|
{
|
|
imports = [
|
|
./btrfs.nix
|
|
./dbus.nix
|
|
./keyd.nix
|
|
./pipewire.nix
|
|
./udev.nix
|
|
./ssh.nix
|
|
];
|
|
services = {
|
|
blueman.enable = true;
|
|
cpupower-gui.enable = true;
|
|
flatpak.enable = true;
|
|
fstrim.enable = true;
|
|
fwupd.enable = true;
|
|
getty.autologinUser = user.primary.userName;
|
|
gnome = {
|
|
gnome-keyring.enable = true;
|
|
tracker.enable = true;
|
|
tracker-miners.enable = true;
|
|
};
|
|
gvfs.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;
|
|
};
|
|
}
|