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"
];
};
# "@storage" = {
# mountpoint = "/storage";
# mountOptions = [
# "compress=zstd"
# "noatime"
# ];
# };
"@storage" = {
mountpoint = "/storage";
mountOptions = [
"compress=zstd"
"noatime"
];
};
"@swap" = {
mountpoint = "/swap";
mountOptions = [

View File

@ -35,6 +35,13 @@ in {
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
services = {
logind = {
lidSwitch = "ignore";
powerKey = "suspend";
};
};
# 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\"";

View File

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

View File

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