system/hosts/asus-gl553vd/hardware-configuration/default.nix
Dmitriy Pleshevskiy b703b69513
host/asus: use disk to create btrfs luks encrypted
- make: fix rollback command
- flake.lock: add disko module.
- flake.lock: add impermanence module.
- disko: add configuration to create luks-btrfs schema.
- host/asus: add new filesystem configuration (luks-btrfs)
- host/asus: mount user from old partition.
- host/asus: add impermanence module to store system configuration.
2024-05-27 16:28:28 +03:00

38 lines
681 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
imports = [
./generated.nix # Include the results of the hardware scan.
./manual.nix
];
powerManagement = {
enable = true;
powertop.enable = true;
};
services.thermald.enable = true;
services.tlp .enable = true;
networking = {
useDHCP = false;
interfaces = {
wlp2s0.useDHCP = true;
};
};
# configure mouse and touchpad
services.xserver.libinput = {
enable = true;
touchpad = {
accelSpeed = "0.5";
disableWhileTyping = true;
};
};
hardware.bluetooth.enable = true;
services.logind.extraConfig = ''
# dont shutdown when power button is short-pressed
HandlePowerKey=ignore
'';
}