mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-12 19:27:17 +00:00
21 lines
484 B
Nix
21 lines
484 B
Nix
{pkgs, ...}: {
|
|
imports = [
|
|
./hyprland.nix
|
|
./default.nix
|
|
../users/willem/home/linux.nix
|
|
../modules/zerotier.nix
|
|
];
|
|
environment.systemPackages = [pkgs.powertop];
|
|
services.logind = {
|
|
extraConfig = ''
|
|
HandlePowerKey=suspend
|
|
HandleLidSwitchDocked=suspend
|
|
'';
|
|
lidSwitch = "suspend";
|
|
};
|
|
powerManagement.powertop.enable = true;
|
|
networking.wireless.iwd = {
|
|
enable = true;
|
|
settings.General.EnableNetworkConfiguration = true;
|
|
};
|
|
}
|