Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-04-05 20:29:13 +03:00
parent fa6e2f9e21
commit da8e2c9efa
4 changed files with 16 additions and 9 deletions

View File

@ -62,13 +62,13 @@
"noatime" "noatime"
]; ];
}; };
# "@storage" = { "@storage" = {
# mountpoint = "/storage"; mountpoint = "/storage";
# mountOptions = [ mountOptions = [
# "compress=zstd" "compress=zstd"
# "noatime" "noatime"
# ]; ];
# }; };
"@swap" = { "@swap" = {
mountpoint = "/swap"; mountpoint = "/swap";
mountOptions = [ mountOptions = [

View File

@ -35,6 +35,13 @@ in {
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
services = {
logind = {
lidSwitch = "ignore";
powerKey = "suspend";
};
};
# physically broken touchscreen # physically broken touchscreen
services.udev.extraRules = "ACTION==\"add|change\", KERNELS==\"input[0-9]*\", SUBSYSTEMS==\"input\", ATTRS{id/vendor}==\"27c6\", ATTRS{id/product}==\"0e84\", ENV{LIBINPUT_IGNORE_DEVICE}=\"1\""; services.udev.extraRules = "ACTION==\"add|change\", KERNELS==\"input[0-9]*\", SUBSYSTEMS==\"input\", ATTRS{id/vendor}==\"27c6\", ATTRS{id/product}==\"0e84\", ENV{LIBINPUT_IGNORE_DEVICE}=\"1\"";

View File

@ -1,6 +1,6 @@
{ {
services = { services = {
flatpak.enable = true; # flatpak.enable = true;
fstrim.enable = true; fstrim.enable = true;
openssh.enable = true; openssh.enable = true;
power-profiles-daemon.enable = true; power-profiles-daemon.enable = true;

View File

@ -2,7 +2,7 @@
imports = [ imports = [
../../../dunamis/users/user/common.nix ../../../dunamis/users/user/common.nix
../../../dunamis/users/user/programs.nix ../../../dunamis/users/user/programs.nix
../../../dunamis/users/user/flatpak.nix # ../../../dunamis/users/user/flatpak.nix
]; ];
syncthing.enable = lib.mkDefault false; syncthing.enable = lib.mkDefault false;
} }