forked from DGNum/liminix
seedrng #3
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue