mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-24 07:11:55 -05:00
reformat with alejandra
This commit is contained in:
parent
1c38c91894
commit
1ee7fcfdd4
|
@ -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
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue