From da8e2c9efa098575924be48607eb48c9588807b2 Mon Sep 17 00:00:00 2001 From: unexplrd Date: Sat, 5 Apr 2025 20:29:13 +0300 Subject: [PATCH] w Signed-off-by: unexplrd --- hosts/eldrid/disko.nix | 14 +++++++------- hosts/eldrid/hardware.nix | 7 +++++++ hosts/eldrid/services.nix | 2 +- hosts/eldrid/users/user/home-configuration.nix | 2 +- 4 files changed, 16 insertions(+), 9 deletions(-) diff --git a/hosts/eldrid/disko.nix b/hosts/eldrid/disko.nix index a76cf83..8099e68 100644 --- a/hosts/eldrid/disko.nix +++ b/hosts/eldrid/disko.nix @@ -62,13 +62,13 @@ "noatime" ]; }; - # "@storage" = { - # mountpoint = "/storage"; - # mountOptions = [ - # "compress=zstd" - # "noatime" - # ]; - # }; + "@storage" = { + mountpoint = "/storage"; + mountOptions = [ + "compress=zstd" + "noatime" + ]; + }; "@swap" = { mountpoint = "/swap"; mountOptions = [ diff --git a/hosts/eldrid/hardware.nix b/hosts/eldrid/hardware.nix index 6ca7d37..13c2c6a 100644 --- a/hosts/eldrid/hardware.nix +++ b/hosts/eldrid/hardware.nix @@ -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\""; diff --git a/hosts/eldrid/services.nix b/hosts/eldrid/services.nix index 7fa3eab..5e70b70 100644 --- a/hosts/eldrid/services.nix +++ b/hosts/eldrid/services.nix @@ -1,6 +1,6 @@ { services = { - flatpak.enable = true; + # flatpak.enable = true; fstrim.enable = true; openssh.enable = true; power-profiles-daemon.enable = true; diff --git a/hosts/eldrid/users/user/home-configuration.nix b/hosts/eldrid/users/user/home-configuration.nix index 189cda2..3c5e67e 100644 --- a/hosts/eldrid/users/user/home-configuration.nix +++ b/hosts/eldrid/users/user/home-configuration.nix @@ -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; }