Use greetd as login manager

This commit is contained in:
Johannes Rothe 2024-11-13 20:00:16 +01:00
parent 9f4b74ab8c
commit 088580c967
3 changed files with 11 additions and 10 deletions

View File

@ -146,7 +146,6 @@
vim-full
vlc
wally-cli
wayland
wayshot
wdisplays
wget
@ -191,7 +190,17 @@
services.passSecretService.enable = true;
services.tailscale.enable = true;
services.gvfs.enable = true;
services.xserver.displayManager.gdm.enable = true;
services.greetd = {
enable = true;
settings = {
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --asterisks --cmd sway";
user = "rothe";
};
};
};
services.blueman.enable = true;
services.syncthing = {

View File

@ -26,13 +26,6 @@
programs.fish = {
enable = true;
# start sway on login
loginShellInit = ''
if test -z "$DISPLAY" -a $XDG_VTNR = 1
exec sway
end
'';
# TODO add PYTHONPATH on non nix systems
# disable greeting
shellInit = ''
set fish_greeting

View File

@ -92,7 +92,6 @@
style = ./waybar.css;
};
# Automatic display output management
services.kanshi = {
enable = true;