summary refs log tree commit diff stats
path: root/system/settings/services
diff options
context:
space:
mode:
authorAlan Pearce2023-03-14 21:43:19 +0100
committerAlan Pearce2023-03-14 21:43:19 +0100
commit6db9eaad8e78f882ae44a28edcc4d11d2ffd5e28 (patch)
tree7a126873d4a216438d835123843132d09eb2bfab /system/settings/services
parentfa2d41901d9fd10fd257c7ccc249ab29c5df2e33 (diff)
downloadnixfiles-6db9eaad8e78f882ae44a28edcc4d11d2ffd5e28.tar.lz
nixfiles-6db9eaad8e78f882ae44a28edcc4d11d2ffd5e28.tar.zst
nixfiles-6db9eaad8e78f882ae44a28edcc4d11d2ffd5e28.zip
Re-format with nixpkgs-fmt
Diffstat (limited to 'system/settings/services')
-rw-r--r--system/settings/services/airplay-sink.nix7
-rw-r--r--system/settings/services/samba.nix17
-rw-r--r--system/settings/services/syncthing.nix7
-rw-r--r--system/settings/services/virtualisation.nix7
-rw-r--r--system/settings/services/xserver.nix15
-rw-r--r--system/settings/services/zeroconf.nix13
6 files changed, 31 insertions, 35 deletions
diff --git a/system/settings/services/airplay-sink.nix b/system/settings/services/airplay-sink.nix
index 4621706e..f03f7641 100644
--- a/system/settings/services/airplay-sink.nix
+++ b/system/settings/services/airplay-sink.nix
@@ -1,7 +1,6 @@
-{
-  config,
-  pkgs,
-  ...
+{ config
+, pkgs
+, ...
 }: {
   services.pipewire.systemWide = false;
   services.shairport-sync = {
diff --git a/system/settings/services/samba.nix b/system/settings/services/samba.nix
index 729a6756..ae6c6f5a 100644
--- a/system/settings/services/samba.nix
+++ b/system/settings/services/samba.nix
@@ -1,16 +1,17 @@
-{
-  config,
-  pkgs,
-  ...
-}: let
+{ config
+, pkgs
+, ...
+}:
+let
   workgroup = "WORKGROUP";
-in {
+in
+{
   services.samba-wsdd = {
     inherit workgroup;
     enable = true;
   };
-  networking.firewall.allowedTCPPorts = [5357];
-  networking.firewall.allowedUDPPorts = [3702];
+  networking.firewall.allowedTCPPorts = [ 5357 ];
+  networking.firewall.allowedUDPPorts = [ 3702 ];
 
   services.samba = {
     enable = true;
diff --git a/system/settings/services/syncthing.nix b/system/settings/services/syncthing.nix
index b504bde3..3623b875 100644
--- a/system/settings/services/syncthing.nix
+++ b/system/settings/services/syncthing.nix
@@ -1,7 +1,6 @@
-{
-  config,
-  pkgs,
-  ...
+{ config
+, pkgs
+, ...
 }: {
   services.syncthing = {
     enable = true;
diff --git a/system/settings/services/virtualisation.nix b/system/settings/services/virtualisation.nix
index 8056387c..dbe041c7 100644
--- a/system/settings/services/virtualisation.nix
+++ b/system/settings/services/virtualisation.nix
@@ -1,7 +1,6 @@
-{
-  config,
-  pkgs,
-  ...
+{ config
+, pkgs
+, ...
 }: {
   virtualisation.libvirtd = {
     enable = true;
diff --git a/system/settings/services/xserver.nix b/system/settings/services/xserver.nix
index 7e2a7c49..7ce0dbb2 100644
--- a/system/settings/services/xserver.nix
+++ b/system/settings/services/xserver.nix
@@ -1,8 +1,7 @@
-{
-  config,
-  lib,
-  pkgs,
-  ...
+{ config
+, lib
+, pkgs
+, ...
 }:
 with lib; {
   services.xserver = {
@@ -41,9 +40,9 @@ with lib; {
       };
       useEmbeddedBitmaps = !config.fonts.fontconfig.antialias;
       defaultFonts = {
-        monospace = ["IBM Plex Mono"];
-        sansSerif = ["Cantarell"];
-        serif = ["Times New Roman"];
+        monospace = [ "IBM Plex Mono" ];
+        sansSerif = [ "Cantarell" ];
+        serif = [ "Times New Roman" ];
       };
 
       localConf = ''
diff --git a/system/settings/services/zeroconf.nix b/system/settings/services/zeroconf.nix
index 6859cfd5..1412b1f0 100644
--- a/system/settings/services/zeroconf.nix
+++ b/system/settings/services/zeroconf.nix
@@ -1,8 +1,7 @@
-{
-  config,
-  pkgs,
-  lib,
-  ...
+{ config
+, pkgs
+, lib
+, ...
 }: {
   services.avahi = {
     enable = true;
@@ -16,10 +15,10 @@
       workstation = true;
     };
   };
-  systemd.services.avahi-daemon.wantedBy = lib.mkForce [];
+  systemd.services.avahi-daemon.wantedBy = lib.mkForce [ ];
   systemd.timers.avahi-daemon = {
     description = "Delayed startup of Avahi";
-    wantedBy = ["timers.target"];
+    wantedBy = [ "timers.target" ];
     timerConfig = {
       OnActiveSec = "1 min";
     };