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