Dmitriy Pleshevskiy
b703b69513
- 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.
37 lines
681 B
Nix
37 lines
681 B
Nix
{
|
||
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 = ''
|
||
# don’t shutdown when power button is short-pressed
|
||
HandlePowerKey=ignore
|
||
'';
|
||
}
|