style: nixfmt

This commit is contained in:
Dmitriy Kholkin 2025-08-21 04:38:26 +03:00
parent be29f1c4fb
commit 6c71035586
Signed by: AtaraxiaDev
GPG Key ID: FD266B810DF48DF2
2 changed files with 18 additions and 20 deletions

View File

@ -25,15 +25,14 @@ in
layer = "top"; layer = "top";
position = "top"; position = "top";
# margin = "8 8 0 8"; # margin = "8 8 0 8";
modules-left = modules-left = [
[ "hyprland/workspaces"
"hyprland/workspaces" "wireplumber"
"wireplumber" ]
] ++ lib.optionals cfg.laptopWidgets [
++ lib.optionals cfg.laptopWidgets [ "battery"
"battery" "backlight"
"backlight" ];
];
modules-center = [ "hyprland/window" ]; modules-center = [ "hyprland/window" ];
modules-right = [ modules-right = [
"tray" "tray"

View File

@ -109,17 +109,16 @@ in
"/var/cache" "/var/cache"
]; ];
persist.state = { persist.state = {
directories = directories = [
[ "/var/lib/nixos"
"/var/lib/nixos" "/var/lib/systemd"
"/var/lib/systemd" ]
] ++ lib.optionals config.services.mysql.enable [
++ lib.optionals config.services.mysql.enable [ config.services.mysql.dataDir
config.services.mysql.dataDir ]
] ++ lib.optionals config.services.postgresql.enable [
++ lib.optionals config.services.postgresql.enable [ "/var/lib/postgresql"
"/var/lib/postgresql" ];
];
files = [ files = [
"/etc/machine-id" "/etc/machine-id"
"/etc/ssh/ssh_host_ed25519_key" "/etc/ssh/ssh_host_ed25519_key"