feat(system-config): Readable name for the system closure
All checks were successful
build liminix / build_zyxel-nwa50ax_mips (pull_request) Successful in 15s
build liminix / build_vm_qemu_mips (pull_request) Successful in 15s
build liminix / test_shell_customization (pull_request) Successful in 16s
build liminix / test_hostapd (pull_request) Successful in 16s

This commit is contained in:
sinavir 2025-02-04 23:33:06 +01:00
parent 1322de1ee0
commit 5ed80a99ac
No known key found for this signature in database
3 changed files with 4 additions and 4 deletions

View file

@ -75,7 +75,7 @@ in
mv out $out
'';
systemConfiguration =
pkgs.systemconfig config.filesystem.contents;
pkgs.systemconfig config.filesystem.contents config.hostname;
};
};
}

View file

@ -74,7 +74,7 @@ let
../../modules/s6
];
};
in systemconfig eval.config.filesystem.contents;
in systemconfig eval.config.filesystem.contents eval.config.hostname;
in writeScriptBin "levitate" ''
#!/bin/sh
destdir=${newRoot}

View file

@ -62,10 +62,10 @@ let
${(builtins.concatStringsSep "\n" (visit "." attrset))}
}
'';
in attrset:
in attrset: hostname:
let makedevs = activateScript attrset;
in stdenv.mkDerivation {
name="make-stuff";
name="${hostname}-system-configuration";
src = ./.;
CFLAGS = "-Os";