forked from mirrors_public/oddlama_nix-config
chore: remove ip address from etc issue again due to frequent microvm redraws
This commit is contained in:
parent
554d25d94b
commit
f2a97b16c6
1 changed files with 8 additions and 10 deletions
|
@ -1,12 +1,10 @@
|
||||||
let
|
{lib, ...} @ args: {
|
||||||
# IP addresses: ${"${interface} \e{halfbright}\4{${interface}}\e{reset} \e{halfbright}\6{${interface}}\e{reset}"}
|
# IP addresses: ${"${interface} \e{halfbright}\4{${interface}}\e{reset} \e{halfbright}\6{${interface}}\e{reset}"}
|
||||||
issue_text = ''
|
environment.etc.issue.text = lib.concatStringsSep "\n" ([
|
||||||
\d \t
|
''\d \t''
|
||||||
\e{halfbright}\4\e{reset} \e{halfbright}\6\e{reset}
|
''This is \e{cyan}\n\e{reset} [\e{lightblue}\l\e{reset}] (\s \m \r)''
|
||||||
This is \e{cyan}\n\e{reset} [\e{lightblue}\l\e{reset}] (\s \m \r)
|
]
|
||||||
|
# Disabled for microvms because of frequent redraws (-> pushed to syslog on the host)
|
||||||
'';
|
++ lib.optional (!(args ? parentNodeName)) ''\e{halfbright}\4\e{reset} \e{halfbright}\6\e{reset}''
|
||||||
in {
|
++ [""]);
|
||||||
environment.etc."issue".text = issue_text;
|
|
||||||
environment.etc."issue.logo".text = issue_text;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue