seedrng #3

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

View file

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