aboutsummaryrefslogtreecommitdiffhomepage
path: root/nixos.nix
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-07-26 12:59:47 +0900
committerOphestra <cat@gensokyo.uk>2025-07-26 18:57:54 +0900
commit625632c59391d73d32389e877179d3e023e224f2 (patch)
treea6cb45f60233c6b1a4143b6207dea7121478c34f /nixos.nix
parente71ae3b8c5b4a8f103a078783fef2f56ee5450a2 (diff)
nix: update flake lock
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'nixos.nix')
-rw-r--r--nixos.nix32
1 files changed, 16 insertions, 16 deletions
diff --git a/nixos.nix b/nixos.nix
index bae7d723..511cfbdd 100644
--- a/nixos.nix
+++ b/nixos.nix
@@ -82,7 +82,8 @@ in
own = [
"${id}.*"
"org.mpris.MediaPlayer2.${id}.*"
- ] ++ ext.own;
+ ]
+ ++ ext.own;
inherit (ext) call broadcast;
};
@@ -175,27 +176,26 @@ in
auto_etc = true;
cover = [ "/var/run/nscd" ];
- symlink =
+ symlink = [
+ [
+ "*/run/current-system"
+ "/run/current-system"
+ ]
+ ]
+ ++ optionals (isGraphical && config.hardware.graphics.enable) (
[
[
- "*/run/current-system"
- "/run/current-system"
+ config.systemd.tmpfiles.settings.graphics-driver."/run/opengl-driver"."L+".argument
+ "/run/opengl-driver"
]
]
- ++ optionals (isGraphical && config.hardware.graphics.enable) (
+ ++ optionals (app.multiarch && config.hardware.graphics.enable32Bit) [
[
- [
- config.systemd.tmpfiles.settings.graphics-driver."/run/opengl-driver"."L+".argument
- "/run/opengl-driver"
- ]
+ config.systemd.tmpfiles.settings.graphics-driver."/run/opengl-driver-32"."L+".argument
+ /run/opengl-driver-32
]
- ++ optionals (app.multiarch && config.hardware.graphics.enable32Bit) [
- [
- config.systemd.tmpfiles.settings.graphics-driver."/run/opengl-driver-32"."L+".argument
- /run/opengl-driver-32
- ]
- ]
- );
+ ]
+ );
};
};