greetd: show username

fix formatting
This commit is contained in:
Aly Raffauf 2024-05-18 19:34:22 -04:00
parent e1ce1cc6ab
commit e37cd3c13a
3 changed files with 3 additions and 4 deletions

View file

@ -7,7 +7,6 @@
options = {alyraffauf.apps.waybar.enable = lib.mkEnableOption "Enables waybar.";}; options = {alyraffauf.apps.waybar.enable = lib.mkEnableOption "Enables waybar.";};
config = lib.mkIf config.alyraffauf.apps.waybar.enable { config = lib.mkIf config.alyraffauf.apps.waybar.enable {
xdg.configFile."waybar/style.css".text = '' xdg.configFile."waybar/style.css".text = ''
* { * {
border: none; border: none;

View file

@ -33,7 +33,7 @@
if config.alyraffauf.desktop.greetd.autologin.enable if config.alyraffauf.desktop.greetd.autologin.enable
then { then {
default_session = { default_session = {
command = lib.mkDefault "${lib.getExe pkgs.greetd.tuigreet} --asterisks -g 'Welcome to NixOS ${config.system.nixos.release}' --time --remember --cmd ${config.alyraffauf.desktop.greetd.session}"; command = lib.mkDefault "${lib.getExe pkgs.greetd.tuigreet} --asterisks --user-menu -g 'Welcome to NixOS ${config.system.nixos.release}' --time --remember --cmd ${config.alyraffauf.desktop.greetd.session}";
}; };
initial_session = { initial_session = {
command = config.alyraffauf.desktop.greetd.session; command = config.alyraffauf.desktop.greetd.session;
@ -42,7 +42,7 @@
} }
else { else {
default_session = { default_session = {
command = lib.mkDefault "${lib.getExe pkgs.greetd.tuigreet} --asterisks -g 'Welcome to NixOS ${config.system.nixos.release}' --time --remember --cmd ${config.alyraffauf.desktop.greetd.session}"; command = lib.mkDefault "${lib.getExe pkgs.greetd.tuigreet} --asterisks --user-menu -g 'Welcome to NixOS ${config.system.nixos.release}' --time --remember --cmd ${config.alyraffauf.desktop.greetd.session}";
}; };
}; };
}; };