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 b3d9d2f396
commit ac4da6559d
4 changed files with 3 additions and 4 deletions

View file

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

View file

@ -4,7 +4,6 @@
packages = with pkgs; [ mangohud ];
file = {
# 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 = ''
table_columns=2
frametime=0
@ -12,7 +11,6 @@
font_scale=0.80
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_color_change
ram

View file

@ -8,7 +8,7 @@
vt = 2;
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 {
services.mpd = {
enable = true;
startWhenNeeded = true;
user = "jimbo";
group = "users";
musicDirectory = "/home/jimbo/JimboNFS/Music/JimBops";