cross-posted from: https://lemmy.world/post/21426498
I use nixos + greetd + tuigreet + hyprland. I missed to mention that I wanted to disable or hide the logs that gets shows when starting hyprland from tty terminal by writing
Hyprland
or when using greetd tuigreet. After entering my username and password, These logs show before hyprland starts, I want to avoid that
Hyprland > /dev/null
So does it mean passing
--cmd Hyprland > /dev/null
to Tuigreet? If so then that wouldn’t work with my setup, as I use sessions instead of cmd. Here is how I have it in nixosservices.greetd = { enable = true; settings = { default_session = { user = "greeter"; command = '' ${getExe' pkgs.unstable.greetd.tuigreet "tuigreet"} \ --time \ --sessions ${cfg.sessionDirs} \ --remember \ --remember-session ''; }; }; };
The
sessionDirs
is thismodules.services.greetd.sessionDirs = ["${hyprlandPackage}/share/wayland-sessions"];
Why tho? The logs give you information & progress. After boot you don’t even see it.
I honestly wish Android booted like this.
I know… For a long and I mean long time I had it, but yk I wan’t to hide it just to spice things up.
Disable? These can’t be disabled.
You mean you don’t want to see them? There is a package called Plymouth, which hints the logs and shows a Logo instead.
Yeah , no For system logs I have it on quiet but these are for when Hyprland starts. I forgot to mention that.
Only for stage-2 boot. Stage-1 will still show up logs on NixOS.