From 1ee7fcfdd43881b0576f665f8b3df6a810afe733 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sat, 27 Apr 2024 19:23:40 -0400 Subject: [PATCH] reformat with alejandra --- homeManagerModules/desktop/hypr/hypridle/default.nix | 6 +++++- .../desktop/hypr/hyprpaper/hyprpaper-random.nix | 2 +- nixosModules/apps/nicotine-plus/default.nix | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/homeManagerModules/desktop/hypr/hypridle/default.nix b/homeManagerModules/desktop/hypr/hypridle/default.nix index 2de1a070..238382bb 100644 --- a/homeManagerModules/desktop/hypr/hypridle/default.nix +++ b/homeManagerModules/desktop/hypr/hypridle/default.nix @@ -47,7 +47,11 @@ listener { timeout = 900 # 15min - on-timeout = ${if osConfig.networking.hostName == "mauville" then "" else "${pkgs.systemd}/bin/systemctl suspend"} # suspend pc unless on mauville + on-timeout = ${ + if osConfig.networking.hostName == "mauville" + then "" + else "${pkgs.systemd}/bin/systemctl suspend" + } # suspend pc unless on mauville } ''; }; diff --git a/homeManagerModules/desktop/hypr/hyprpaper/hyprpaper-random.nix b/homeManagerModules/desktop/hypr/hyprpaper/hyprpaper-random.nix index 4b71e404..d94b33e7 100644 --- a/homeManagerModules/desktop/hypr/hyprpaper/hyprpaper-random.nix +++ b/homeManagerModules/desktop/hypr/hyprpaper/hyprpaper-random.nix @@ -6,7 +6,7 @@ }: let hyprpaper-random = pkgs.writeShellScriptBin "hyprpaper-random" '' directory=${config.home.homeDirectory}/.local/share/backgrounds - + if [ -d "$directory" ]; then while true; do sleep 30 diff --git a/nixosModules/apps/nicotine-plus/default.nix b/nixosModules/apps/nicotine-plus/default.nix index 30cbac42..2fe4c739 100644 --- a/nixosModules/apps/nicotine-plus/default.nix +++ b/nixosModules/apps/nicotine-plus/default.nix @@ -10,7 +10,7 @@ }; config = lib.mkIf config.alyraffauf.apps.nicotine-plus.enable { - environment.systemPackages = [ pkgs.nicotine-plus ]; + environment.systemPackages = [pkgs.nicotine-plus]; networking = { firewall.allowedTCPPortRanges = [ # Soulseek