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,64 +103,70 @@
]; ];
}; };
etc."xdg/hypr/hyprlock.conf".text = '' etc = {
background { "xdg/autostart/nm-applet.desktop".text = ''
path = /home/rei/projects/infrastructure/nixos/assets/wallpaper-macos-swirlies [Desktop Entry]
blur_passes = 4 Hidden=true
blur_size = 4 '';
contrast = 1.0 "xdg/hypr/hyprlock.conf".text = ''
brightness = 1.0 background {
vibrancy = 0.0 path = /home/rei/projects/infrastructure/nixos/assets/wallpaper-macos-swirlies
} blur_passes = 4
blur_size = 4
animations { contrast = 1.0
animation = fade, 0 brightness = 1.0
} vibrancy = 0.0
}
# Clock.
animations {
label { animation = fade, 0
halign = center }
valign = center
position = 0, 140 # Clock.
# TODO: Get the letter spacing identical to the explicit font name version. label {
# text = <span font="sans-serif 220" color="white" weight="400">$TIME</span> halign = center
text = <span font="Fira Sans Condensed 220" color="white">$TIME</span> valign = center
text_align = center position = 0, 140
}
# TODO: Get the letter spacing identical to the explicit font name version.
# Password textbox. # text = <span font="sans-serif 220" color="white" weight="400">$TIME</span>
text = <span font="Fira Sans Condensed 220" color="white">$TIME</span>
input-field { text_align = center
halign = center }
valign = center
position = 0, -180 # Password textbox.
size = 450, 75 input-field {
placeholder_text = <span font="Fira Sans Condensed Bold 20" color="grey">Password</span> halign = center
fail_text = <span font="Fira Sans Condensed Bold 20" color="white">Incorrect</span> valign = center
inner_color = rgb(FFFFFF) position = 0, -180
font_color = rgb(000000)
check_color = rgb(FF9800) size = 450, 75
outline_thickness = 0 placeholder_text = <span font="Fira Sans Condensed Bold 20" color="grey">Password</span>
rounding = 10 fail_text = <span font="Fira Sans Condensed Bold 20" color="white">Incorrect</span>
fade_on_empty = false inner_color = rgb(FFFFFF)
# TODO: Doesn't exist anymore, what did this use to achieve? font_color = rgb(000000)
# fail_timeout = 500 check_color = rgb(FF9800)
} outline_thickness = 0
rounding = 10
# Keyboard layout indicator. fade_on_empty = false
# TODO: Why does this not work anymore? # TODO: Doesn't exist anymore, what did this use to achieve?
# fail_timeout = 500
# label { }
# halign = center
# valign = center # Keyboard layout indicator.
# position = 0, -600 # TODO: Why does this not work anymore?
# text = <span font="Fira Sans Condensed Bold 30" color="white">$LAYOUT[!,Keyboard layout: български,Keyboard layout: Ελληνικά]</span> # label {
# } # halign = center
''; # valign = center
# position = 0, -600
# text = <span font="Fira Sans Condensed Bold 30" color="white">$LAYOUT[!,Keyboard layout: български,Keyboard layout: Ελληνικά]</span>
# }
'';
};
}; };
security.soteria.enable = true; security.soteria.enable = true;