mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
refactor: major refactor into proper reusable modules. No logical changes.
This commit is contained in:
parent
04872f6ec5
commit
84ac34cb6c
80 changed files with 761 additions and 776 deletions
12
modules/config/issue.nix
Normal file
12
modules/config/issue.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
let
|
||||
# IP addresses: ${"${interface} \e{halfbright}\4{${interface}}\e{reset} \e{halfbright}\6{${interface}}\e{reset}"}
|
||||
issue_text = ''
|
||||
\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)
|
||||
|
||||
'';
|
||||
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