From 6c710355869c3cb5ae1231420676d77ae655d050 Mon Sep 17 00:00:00 2001 From: Dmitriy Kholkin Date: Thu, 21 Aug 2025 04:38:26 +0300 Subject: [PATCH] style: nixfmt --- modules/home/workspace/wayland/waybar.nix | 17 ++++++++--------- modules/nixos/persist/default.nix | 21 ++++++++++----------- 2 files changed, 18 insertions(+), 20 deletions(-) diff --git a/modules/home/workspace/wayland/waybar.nix b/modules/home/workspace/wayland/waybar.nix index 329a982..64b1bd4 100644 --- a/modules/home/workspace/wayland/waybar.nix +++ b/modules/home/workspace/wayland/waybar.nix @@ -25,15 +25,14 @@ in layer = "top"; position = "top"; # margin = "8 8 0 8"; - modules-left = - [ - "hyprland/workspaces" - "wireplumber" - ] - ++ lib.optionals cfg.laptopWidgets [ - "battery" - "backlight" - ]; + modules-left = [ + "hyprland/workspaces" + "wireplumber" + ] + ++ lib.optionals cfg.laptopWidgets [ + "battery" + "backlight" + ]; modules-center = [ "hyprland/window" ]; modules-right = [ "tray" diff --git a/modules/nixos/persist/default.nix b/modules/nixos/persist/default.nix index 56a25a9..2742ec9 100644 --- a/modules/nixos/persist/default.nix +++ b/modules/nixos/persist/default.nix @@ -109,17 +109,16 @@ in "/var/cache" ]; persist.state = { - directories = - [ - "/var/lib/nixos" - "/var/lib/systemd" - ] - ++ lib.optionals config.services.mysql.enable [ - config.services.mysql.dataDir - ] - ++ lib.optionals config.services.postgresql.enable [ - "/var/lib/postgresql" - ]; + directories = [ + "/var/lib/nixos" + "/var/lib/systemd" + ] + ++ lib.optionals config.services.mysql.enable [ + config.services.mysql.dataDir + ] + ++ lib.optionals config.services.postgresql.enable [ + "/var/lib/postgresql" + ]; files = [ "/etc/machine-id" "/etc/ssh/ssh_host_ed25519_key"