mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-24 17:53:51 -08:00
feat: display current generation in greetd
This commit is contained in:
parent
246bb041df
commit
e712bc0e56
1 changed files with 3 additions and 1 deletions
|
@ -4,7 +4,9 @@
|
|||
enable = true;
|
||||
settings = {
|
||||
default_session = {
|
||||
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd Hyprland --remember --greeting 'Welcome to liminalOS. Access is restricted to authorized personnel only.'";
|
||||
command = ''
|
||||
${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd Hyprland --remember --greeting "Welcome to liminalOS. This is system generation $(readlink /nix/var/nix/profiles/system | grep -o '[0-9]*'). Access is restricted to authorized personnel only."
|
||||
'';
|
||||
user = "greeter";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue