treewide: prune more old xorg configs, and rename wayland modules

This commit is contained in:
LavaDesu 2025-03-23 00:29:58 +11:00
parent 46c30b9d5d
commit 2e74aa5f00
Signed by: cilly
GPG key ID: 6500251E087653C9
15 changed files with 10 additions and 318 deletions

18
modules/system/greetd.nix Normal file
View file

@ -0,0 +1,18 @@
{ pkgs, ... }: {
services.greetd = {
enable = true;
settings = {
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --remember --asterisks --time --cmd 'zsh -c \"source $HOME/.config/zsh/.zshrc && Hyprland > $XDG_RUNTIME_DIR/Hyprland.out\"'";
user = "greeter";
};
initial_session = {
command = "${pkgs.writeShellScript "launch.sh" ''
zsh -c "source $HOME/.config/zsh/.zshrc && Hyprland > \"$XDG_RUNTIME_DIR/Hyprland.out\""
''}";
user = "rin";
};
};
};
}