aboutsummaryrefslogtreecommitdiffhomepage
path: root/nixos.nix
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-02-23 18:13:06 +0900
committerOphestra <cat@gensokyo.uk>2025-02-23 18:13:37 +0900
commit8bf162820b291cc3889fd05f4ba7cd4fcbc1d15d (patch)
tree53b44cc353629e300d6096345ea0e8cfcc64595f /nixos.nix
parentdccb3666080686da73159680590352c23cf69c4f (diff)
nix: separate fsu from package
This appears to be the only way to build them with different configuration. This enables static linking in the main package. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'nixos.nix')
-rw-r--r--nixos.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos.nix b/nixos.nix
index 103ff6e7..e41648a9 100644
--- a/nixos.nix
+++ b/nixos.nix
@@ -30,7 +30,7 @@ in
config = mkIf cfg.enable {
security.wrappers.fsu = {
- source = "${cfg.package}/libexec/fsu";
+ source = "${cfg.fsuPackage}/bin/fsu";
setuid = true;
owner = "root";
setgid = true;