summaryrefslogtreecommitdiffstats
path: root/lass/1systems/aergia
diff options
context:
space:
mode:
Diffstat (limited to 'lass/1systems/aergia')
-rw-r--r--lass/1systems/aergia/config.nix1
-rw-r--r--lass/1systems/aergia/disk.nix2
-rw-r--r--lass/1systems/aergia/physical.nix11
3 files changed, 10 insertions, 4 deletions
diff --git a/lass/1systems/aergia/config.nix b/lass/1systems/aergia/config.nix
index 618938ce8..3e0ae23f7 100644
--- a/lass/1systems/aergia/config.nix
+++ b/lass/1systems/aergia/config.nix
@@ -112,7 +112,6 @@
environment.systemPackages = with pkgs; [
brain
- bank
l-gen-secrets
generate-secrets
nixpkgs-review
diff --git a/lass/1systems/aergia/disk.nix b/lass/1systems/aergia/disk.nix
index 848157729..233b320e4 100644
--- a/lass/1systems/aergia/disk.nix
+++ b/lass/1systems/aergia/disk.nix
@@ -45,9 +45,11 @@
# Mountpoints inferred from subvolume name
"/home" = {
mountOptions = [];
+ mountpoint = "/home";
};
"/nix" = {
mountOptions = [];
+ mountpoint = "/nix";
};
};
};
diff --git a/lass/1systems/aergia/physical.nix b/lass/1systems/aergia/physical.nix
index 9f06dccdc..e76460d20 100644
--- a/lass/1systems/aergia/physical.nix
+++ b/lass/1systems/aergia/physical.nix
@@ -16,7 +16,7 @@
efiInstallAsRemovable = true;
};
- boot.kernelPackages = pkgs.linuxPackages_latest;
+ # boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelParams = [
# use less power with pstate
@@ -70,8 +70,6 @@
};
users.users.mainUser.extraGroups = [ "corectrl" ];
- # use newer ryzenadj
-
# keyboard quirks
services.xserver.displayManager.sessionCommands = ''
${pkgs.xorg.xmodmap}/bin/xmodmap -e 'keycode 96 = F12 Insert F12 F12' # rebind shift + F12 to shift + insert
@@ -102,9 +100,16 @@
services.logind.extraConfig = ''
HandlePowerKey=hibernate
'';
+ # systemd.sleep.extraConfig = ''
+ # HibernateDelaySec=1800
+ # '';
# firefox touchscreen support
environment.sessionVariables.MOZ_USE_XINPUT2 = "1";
+
+ # enable thunderbolt
+ services.hardware.bolt.enable = true;
+
# reinit usb after docking station connect
services.udev.extraRules = ''
SUBSYSTEM=="drm", ACTION=="change", RUN+="${pkgs.dash}/bin/dash -c 'echo 0 > /sys/bus/usb/devices/usb9/authorized; echo 1 > /sys/bus/usb/devices/usb9/authorized'"