Prevent nm-applet from autostarting

This commit is contained in:
Rei Meliesie 2026-09-30 14:49:20 +02:00
commit c193a3631f

View file

@ -24,6 +24,9 @@
ddcutil ddcutil
gnome-calculator gnome-calculator
loupe loupe
# We don't use programs.nm-applet.enable because that also creates an enabled systemd unit for
# the applet. We just want nm-connection-editor.
networkmanagerapplet
spotify spotify
sublime-merge sublime-merge
wl-clipboard wl-clipboard
@ -34,8 +37,6 @@
firefox.enable = true; firefox.enable = true;
gnome-terminal.enable = true; gnome-terminal.enable = true;
niri.enable = true; niri.enable = true;
# Gives us NetworkManager Connection Editor.
nm-applet.enable = true;
thunderbird.enable = true; thunderbird.enable = true;
dconf = { dconf = {
@ -102,7 +103,12 @@
]; ];
}; };
etc."xdg/hypr/hyprlock.conf".text = '' etc = {
"xdg/autostart/nm-applet.desktop".text = ''
[Desktop Entry]
Hidden=true
'';
"xdg/hypr/hyprlock.conf".text = ''
background { background {
path = /home/rei/projects/infrastructure/nixos/assets/wallpaper-macos-swirlies path = /home/rei/projects/infrastructure/nixos/assets/wallpaper-macos-swirlies
blur_passes = 4 blur_passes = 4
@ -161,6 +167,7 @@
# } # }
''; '';
}; };
};
security.soteria.enable = true; security.soteria.enable = true;
} }