t #2

Closed
lbailly wants to merge 57 commits from CI into main
Showing only changes of commit 8ac3e32b8b - Show all commits

View file

@ -15,7 +15,7 @@ in {
};
config = {
services.hostname = oneshot {
name = "hostname";
name = "hostname-${builtins.substring 0 12 (builtins.hashString "sha256" config.hostname)}";
up = "echo ${config.hostname} > /proc/sys/kernel/hostname";
down = "true";
};