diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-08-25 22:21:16 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-08-25 22:23:54 +0900 |
| commit | 9585b35d5b4e91bb327e3eddb229d1b711eeec2f (patch) | |
| tree | 6480edb4c1ec02e31c84be82cf66c41e479731c7 /nixos.nix | |
| parent | 26cafe3e8066d9ae65230ff0aa17a5533cfa92f8 (diff) | |
hst/config: remove symlink field
Closes #6.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'nixos.nix')
| -rw-r--r-- | nixos.nix | 39 |
1 files changed, 20 insertions, 19 deletions
@@ -188,28 +188,29 @@ in src = "/etc/"; special = true; } - ]; - - symlink = [ - { - target = "/run/current-system"; - linkname = "*/run/current-system"; - } - ] - ++ optionals (isGraphical && config.hardware.graphics.enable) ( - [ - { - target = "/run/opengl-driver"; - linkname = config.systemd.tmpfiles.settings.graphics-driver."/run/opengl-driver"."L+".argument; - } - ] - ++ optionals (app.multiarch && config.hardware.graphics.enable32Bit) [ { - target = "/run/opengl-driver-32"; - linkname = config.systemd.tmpfiles.settings.graphics-driver."/run/opengl-driver-32"."L+".argument; + type = "link"; + dst = "/run/current-system"; + linkname = "/run/current-system"; + dereference = true; } ] - ); + ++ optionals (isGraphical && config.hardware.graphics.enable) ( + [ + { + type = "link"; + dst = "/run/opengl-driver"; + linkname = config.systemd.tmpfiles.settings.graphics-driver."/run/opengl-driver"."L+".argument; + } + ] + ++ optionals (app.multiarch && config.hardware.graphics.enable32Bit) [ + { + type = "link"; + dst = "/run/opengl-driver-32"; + linkname = config.systemd.tmpfiles.settings.graphics-driver."/run/opengl-driver-32"."L+".argument; + } + ] + ); }; }; |
