48 lines
887 B
Nix
48 lines
887 B
Nix
# Edit this configuration file to define what should be installed on
|
||
# your system. Help is available in the configuration.nix(5) man page
|
||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||
|
||
{ config, pkgs, ... }:
|
||
|
||
{
|
||
imports =
|
||
[ # Include the results of the hardware scan.
|
||
./hardware-configuration.nix
|
||
../common
|
||
../common/graphical
|
||
];
|
||
|
||
powerManagement = {
|
||
enable = true;
|
||
powertop.enable = true;
|
||
};
|
||
|
||
boot.resumeDevice = "/dev/disk/by-label/swap";
|
||
|
||
hardware.acpilight.enable = true;
|
||
|
||
networking = {
|
||
hostName = "pingbox";
|
||
interfaces.wlp170s0.useDHCP = true;
|
||
};
|
||
|
||
services = {
|
||
fprintd.enable = true;
|
||
|
||
xserver = {
|
||
dpi = 144;
|
||
|
||
libinput.touchpad = {
|
||
naturalScrolling = true;
|
||
tapping = true;
|
||
};
|
||
};
|
||
|
||
logind = {
|
||
lidSwitch = "suspend-then-hibernate";
|
||
};
|
||
};
|
||
|
||
}
|
||
|