reformat with alejandra

This commit is contained in:
Aly Raffauf 2024-04-27 19:23:40 -04:00
parent 1c38c91894
commit 1ee7fcfdd4
3 changed files with 7 additions and 3 deletions

View file

@ -47,7 +47,11 @@
listener { listener {
timeout = 900 # 15min 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
} }
''; '';
}; };

View file

@ -6,7 +6,7 @@
}: let }: let
hyprpaper-random = pkgs.writeShellScriptBin "hyprpaper-random" '' hyprpaper-random = pkgs.writeShellScriptBin "hyprpaper-random" ''
directory=${config.home.homeDirectory}/.local/share/backgrounds directory=${config.home.homeDirectory}/.local/share/backgrounds
if [ -d "$directory" ]; then if [ -d "$directory" ]; then
while true; do while true; do
sleep 30 sleep 30

View file

@ -10,7 +10,7 @@
}; };
config = lib.mkIf config.alyraffauf.apps.nicotine-plus.enable { config = lib.mkIf config.alyraffauf.apps.nicotine-plus.enable {
environment.systemPackages = [ pkgs.nicotine-plus ]; environment.systemPackages = [pkgs.nicotine-plus];
networking = { networking = {
firewall.allowedTCPPortRanges = [ firewall.allowedTCPPortRanges = [
# Soulseek # Soulseek