Prevent nm-applet from autostarting
This commit is contained in:
parent
fbd99b4aba
commit
c193a3631f
1 changed files with 67 additions and 60 deletions
107
graphical.nix
107
graphical.nix
|
|
@ -24,6 +24,9 @@
|
|||
ddcutil
|
||||
gnome-calculator
|
||||
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
|
||||
sublime-merge
|
||||
wl-clipboard
|
||||
|
|
@ -34,8 +37,6 @@
|
|||
firefox.enable = true;
|
||||
gnome-terminal.enable = true;
|
||||
niri.enable = true;
|
||||
# Gives us NetworkManager Connection Editor.
|
||||
nm-applet.enable = true;
|
||||
thunderbird.enable = true;
|
||||
|
||||
dconf = {
|
||||
|
|
@ -102,64 +103,70 @@
|
|||
];
|
||||
};
|
||||
|
||||
etc."xdg/hypr/hyprlock.conf".text = ''
|
||||
background {
|
||||
path = /home/rei/projects/infrastructure/nixos/assets/wallpaper-macos-swirlies
|
||||
blur_passes = 4
|
||||
blur_size = 4
|
||||
contrast = 1.0
|
||||
brightness = 1.0
|
||||
vibrancy = 0.0
|
||||
}
|
||||
etc = {
|
||||
"xdg/autostart/nm-applet.desktop".text = ''
|
||||
[Desktop Entry]
|
||||
Hidden=true
|
||||
'';
|
||||
"xdg/hypr/hyprlock.conf".text = ''
|
||||
background {
|
||||
path = /home/rei/projects/infrastructure/nixos/assets/wallpaper-macos-swirlies
|
||||
blur_passes = 4
|
||||
blur_size = 4
|
||||
contrast = 1.0
|
||||
brightness = 1.0
|
||||
vibrancy = 0.0
|
||||
}
|
||||
|
||||
animations {
|
||||
animation = fade, 0
|
||||
}
|
||||
animations {
|
||||
animation = fade, 0
|
||||
}
|
||||
|
||||
# Clock.
|
||||
# Clock.
|
||||
|
||||
label {
|
||||
halign = center
|
||||
valign = center
|
||||
position = 0, 140
|
||||
label {
|
||||
halign = center
|
||||
valign = center
|
||||
position = 0, 140
|
||||
|
||||
# TODO: Get the letter spacing identical to the explicit font name version.
|
||||
# text = <span font="sans-serif 220" color="white" weight="400">$TIME</span>
|
||||
text = <span font="Fira Sans Condensed 220" color="white">$TIME</span>
|
||||
text_align = center
|
||||
}
|
||||
# TODO: Get the letter spacing identical to the explicit font name version.
|
||||
# text = <span font="sans-serif 220" color="white" weight="400">$TIME</span>
|
||||
text = <span font="Fira Sans Condensed 220" color="white">$TIME</span>
|
||||
text_align = center
|
||||
}
|
||||
|
||||
# Password textbox.
|
||||
# Password textbox.
|
||||
|
||||
input-field {
|
||||
halign = center
|
||||
valign = center
|
||||
position = 0, -180
|
||||
input-field {
|
||||
halign = center
|
||||
valign = center
|
||||
position = 0, -180
|
||||
|
||||
size = 450, 75
|
||||
placeholder_text = <span font="Fira Sans Condensed Bold 20" color="grey">Password</span>
|
||||
fail_text = <span font="Fira Sans Condensed Bold 20" color="white">Incorrect</span>
|
||||
inner_color = rgb(FFFFFF)
|
||||
font_color = rgb(000000)
|
||||
check_color = rgb(FF9800)
|
||||
outline_thickness = 0
|
||||
rounding = 10
|
||||
fade_on_empty = false
|
||||
# TODO: Doesn't exist anymore, what did this use to achieve?
|
||||
# fail_timeout = 500
|
||||
}
|
||||
size = 450, 75
|
||||
placeholder_text = <span font="Fira Sans Condensed Bold 20" color="grey">Password</span>
|
||||
fail_text = <span font="Fira Sans Condensed Bold 20" color="white">Incorrect</span>
|
||||
inner_color = rgb(FFFFFF)
|
||||
font_color = rgb(000000)
|
||||
check_color = rgb(FF9800)
|
||||
outline_thickness = 0
|
||||
rounding = 10
|
||||
fade_on_empty = false
|
||||
# TODO: Doesn't exist anymore, what did this use to achieve?
|
||||
# fail_timeout = 500
|
||||
}
|
||||
|
||||
# Keyboard layout indicator.
|
||||
# TODO: Why does this not work anymore?
|
||||
# Keyboard layout indicator.
|
||||
# TODO: Why does this not work anymore?
|
||||
|
||||
# label {
|
||||
# halign = center
|
||||
# valign = center
|
||||
# position = 0, -600
|
||||
# label {
|
||||
# halign = center
|
||||
# valign = center
|
||||
# position = 0, -600
|
||||
|
||||
# text = <span font="Fira Sans Condensed Bold 30" color="white">$LAYOUT[!,Keyboard layout: български,Keyboard layout: Ελληνικά]</span>
|
||||
# }
|
||||
'';
|
||||
# text = <span font="Fira Sans Condensed Bold 30" color="white">$LAYOUT[!,Keyboard layout: български,Keyboard layout: Ελληνικά]</span>
|
||||
# }
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
security.soteria.enable = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue