diff --git a/graphical.nix b/graphical.nix
index 5b7fdd2..bf63747 100644
--- a/graphical.nix
+++ b/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
- }
-
- animations {
- animation = fade, 0
- }
-
- # Clock.
-
- label {
- halign = center
- valign = center
- position = 0, 140
-
- # TODO: Get the letter spacing identical to the explicit font name version.
- # text = $TIME
- text = $TIME
- text_align = center
- }
-
- # Password textbox.
-
- input-field {
- halign = center
- valign = center
- position = 0, -180
-
- size = 450, 75
- placeholder_text = Password
- fail_text = Incorrect
- 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?
-
- # label {
- # halign = center
- # valign = center
- # position = 0, -600
-
- # text = $LAYOUT[!,Keyboard layout: български,Keyboard layout: Ελληνικά]
- # }
- '';
+ 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
+ }
+
+ # Clock.
+
+ label {
+ halign = center
+ valign = center
+ position = 0, 140
+
+ # TODO: Get the letter spacing identical to the explicit font name version.
+ # text = $TIME
+ text = $TIME
+ text_align = center
+ }
+
+ # Password textbox.
+
+ input-field {
+ halign = center
+ valign = center
+ position = 0, -180
+
+ size = 450, 75
+ placeholder_text = Password
+ fail_text = Incorrect
+ 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?
+
+ # label {
+ # halign = center
+ # valign = center
+ # position = 0, -600
+
+ # text = $LAYOUT[!,Keyboard layout: български,Keyboard layout: Ελληνικά]
+ # }
+ '';
+ };
};
security.soteria.enable = true;