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
|
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
|
||||||
|
contrast = 1.0
|
||||||
|
brightness = 1.0
|
||||||
|
vibrancy = 0.0
|
||||||
|
}
|
||||||
|
|
||||||
animations {
|
animations {
|
||||||
animation = fade, 0
|
animation = fade, 0
|
||||||
}
|
}
|
||||||
|
|
||||||
# Clock.
|
# Clock.
|
||||||
|
|
||||||
label {
|
label {
|
||||||
halign = center
|
halign = center
|
||||||
valign = center
|
valign = center
|
||||||
position = 0, 140
|
position = 0, 140
|
||||||
|
|
||||||
# TODO: Get the letter spacing identical to the explicit font name version.
|
# 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="sans-serif 220" color="white" weight="400">$TIME</span>
|
||||||
text = <span font="Fira Sans Condensed 220" color="white">$TIME</span>
|
text = <span font="Fira Sans Condensed 220" color="white">$TIME</span>
|
||||||
text_align = center
|
text_align = center
|
||||||
}
|
}
|
||||||
|
|
||||||
# Password textbox.
|
# Password textbox.
|
||||||
|
|
||||||
input-field {
|
input-field {
|
||||||
halign = center
|
halign = center
|
||||||
valign = center
|
valign = center
|
||||||
position = 0, -180
|
position = 0, -180
|
||||||
|
|
||||||
size = 450, 75
|
size = 450, 75
|
||||||
placeholder_text = <span font="Fira Sans Condensed Bold 20" color="grey">Password</span>
|
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>
|
fail_text = <span font="Fira Sans Condensed Bold 20" color="white">Incorrect</span>
|
||||||
inner_color = rgb(FFFFFF)
|
inner_color = rgb(FFFFFF)
|
||||||
font_color = rgb(000000)
|
font_color = rgb(000000)
|
||||||
check_color = rgb(FF9800)
|
check_color = rgb(FF9800)
|
||||||
outline_thickness = 0
|
outline_thickness = 0
|
||||||
rounding = 10
|
rounding = 10
|
||||||
fade_on_empty = false
|
fade_on_empty = false
|
||||||
# TODO: Doesn't exist anymore, what did this use to achieve?
|
# TODO: Doesn't exist anymore, what did this use to achieve?
|
||||||
# fail_timeout = 500
|
# fail_timeout = 500
|
||||||
}
|
}
|
||||||
|
|
||||||
# Keyboard layout indicator.
|
# Keyboard layout indicator.
|
||||||
# TODO: Why does this not work anymore?
|
# TODO: Why does this not work anymore?
|
||||||
|
|
||||||
# label {
|
# label {
|
||||||
# halign = center
|
# halign = center
|
||||||
# valign = center
|
# valign = center
|
||||||
# position = 0, -600
|
# 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;
|
security.soteria.enable = true;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue