Add tuigreet in place of direct login to sway, fix startup issue with mpd calling nfs mount before existing network

This commit is contained in:
Jimbo 2024-12-04 00:46:02 -05:00
parent d7a4ca2164
commit f3d5ff594a
4 changed files with 3 additions and 4 deletions

View file

@ -37,7 +37,7 @@
"/home/jimbo/JimboNFS" = { "/home/jimbo/JimboNFS" = {
device = "${config.ips.server}:/export/JimboNFS"; device = "${config.ips.server}:/export/JimboNFS";
fsType = "nfs4"; fsType = "nfs4";
options = [ "x-systemd.automount" "_netdev" "nofail" "noauto" ]; options = [ "x-systemd.automount" "noauto" ];
}; };
}; };
} }

View file

@ -4,7 +4,6 @@
packages = with pkgs; [ mangohud ]; packages = with pkgs; [ mangohud ];
file = { file = {
# These options exist in Nixlang, but the order is not respected. # These options exist in Nixlang, but the order is not respected.
# As of 24.11, exec is no longer respected either. No clue why.
".config/MangoHud/MangoHud.conf".text = '' ".config/MangoHud/MangoHud.conf".text = ''
table_columns=2 table_columns=2
frametime=0 frametime=0
@ -12,7 +11,6 @@
font_scale=0.80 font_scale=0.80
background_alpha=0.25 background_alpha=0.25
exec=echo $(echo $XDG_CURRENT_DESKTOP | sed 's/./\U&/') on $(cat /etc/os-release | grep PRETTY_NAME | cut -d '"' -f 2)
fps fps
fps_color_change fps_color_change
ram ram

View file

@ -8,7 +8,7 @@
vt = 2; vt = 2;
switch = true; switch = true;
}; };
default_session.command = "${pkgs.cage}/bin/cage -d -m last ${pkgs.greetd.gtkgreet}/bin/gtkgreet"; default_session.command = "${pkgs.greetd.tuigreet}/bin/tuigreet";
}; };
}; };

View file

@ -3,6 +3,7 @@
config = lib.mkIf config.system.desktop.enable { config = lib.mkIf config.system.desktop.enable {
services.mpd = { services.mpd = {
enable = true; enable = true;
startWhenNeeded = true;
user = "jimbo"; user = "jimbo";
group = "users"; group = "users";
musicDirectory = "/home/jimbo/JimboNFS/Music/JimBops"; musicDirectory = "/home/jimbo/JimboNFS/Music/JimBops";