mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-24 09:12:27 -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
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
@ -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