Use a motd file

This commit is contained in:
2024-04-01 12:03:43 +01:00
parent a7464d72e4
commit f62f90c915
2 changed files with 9 additions and 5 deletions

View File

@@ -5,11 +5,10 @@
./users.nix
];
users.motd = "^[[1;49;95m __ ___ __
___/ /__ ___ / _/__ ___ / /_
/ _ / _ \/ _ \/ _/ _ \/ -_) __/
\_,_/\___/\___/_//_//_/\__/\__/
^[[0m";
users.motdFile = builtins.path {
path = ./files/motd;
name = "motd";
};
system.copySystemConfiguration = true;

5
files/motd Normal file
View File

@@ -0,0 +1,5 @@
 __ ___ __
___/ /__ ___ / _/__ ___ / /_
/ _ / _ \/ _ \/ _/ _ \/ -_) __/
\_,_/\___/\___/_//_//_/\__/\__/