summary refs log tree commit diff
path: root/mixins
diff options
context:
space:
mode:
authortzlil <tzlils@protonmail.com>2023-02-17 17:46:47 +0200
committertzlil <tzlils@protonmail.com>2023-02-17 17:46:47 +0200
commit222c7e35d7e9507f6eb8d67bb7af3ef9e623d0f3 (patch)
tree9b7f8ba8debdca1c2ca3739844d0fe4b3113209e /mixins
parent3c3e4531dac7f4ab591bf391be72a11121b45673 (diff)
added alejandra as formatter and formatted everything
Diffstat (limited to 'mixins')
-rw-r--r--mixins/cli.nix4
-rw-r--r--mixins/greet.nix2
-rw-r--r--mixins/hyprland.nix2
-rw-r--r--mixins/mpd.nix10
-rw-r--r--mixins/multimedia.nix10
-rw-r--r--mixins/pipewire.nix8
-rw-r--r--mixins/sway.nix2
-rw-r--r--mixins/tailscale.nix12
8 files changed, 30 insertions, 20 deletions
diff --git a/mixins/cli.nix b/mixins/cli.nix
index 0d82ed1..3dce0bf 100644
--- a/mixins/cli.nix
+++ b/mixins/cli.nix
@@ -9,7 +9,7 @@
     inputs.home-manager.nixosModules."home-manager"
   ];
   config = {
-    home-manager.users.tzlil = {pkgs, ...}@hm: {
+    home-manager.users.tzlil = {pkgs, ...} @ hm: {
       home = {
         packages = with pkgs; [
           rsync
@@ -45,4 +45,4 @@
       };
     };
   };
-}
\ No newline at end of file
+}
diff --git a/mixins/greet.nix b/mixins/greet.nix
index 0006eaf..fc1d151 100644
--- a/mixins/greet.nix
+++ b/mixins/greet.nix
@@ -38,4 +38,4 @@ in {
       };
     };
   };
-}
\ No newline at end of file
+}
diff --git a/mixins/hyprland.nix b/mixins/hyprland.nix
index 1a063d9..3442438 100644
--- a/mixins/hyprland.nix
+++ b/mixins/hyprland.nix
@@ -17,4 +17,4 @@
       };
     };
   };
-}
\ No newline at end of file
+}
diff --git a/mixins/mpd.nix b/mixins/mpd.nix
index 3730802..f86162b 100644
--- a/mixins/mpd.nix
+++ b/mixins/mpd.nix
@@ -1,11 +1,13 @@
-{ pkgs, config, ... }:
-
 {
-  home-manager.users.tzlil = {pkgs, ...}@hm: {
+  pkgs,
+  config,
+  ...
+}: {
+  home-manager.users.tzlil = {pkgs, ...} @ hm: {
     services = {
       mpd.enable = true;
       mpdris2.enable = true;
     };
     programs.ncmpcpp.enable = true;
   };
-}
\ No newline at end of file
+}
diff --git a/mixins/multimedia.nix b/mixins/multimedia.nix
index a814213..d36be17 100644
--- a/mixins/multimedia.nix
+++ b/mixins/multimedia.nix
@@ -1,6 +1,10 @@
-{ pkgs, lib, config, inputs, ... }:
-
 {
+  pkgs,
+  lib,
+  config,
+  inputs,
+  ...
+}: {
   config = {
     home-manager.users.tzlil = {...}: {
       fonts.fontconfig.enable = true;
@@ -14,4 +18,4 @@
       ];
     };
   };
-}
\ No newline at end of file
+}
diff --git a/mixins/pipewire.nix b/mixins/pipewire.nix
index 7f17aa1..4208f08 100644
--- a/mixins/pipewire.nix
+++ b/mixins/pipewire.nix
@@ -1,6 +1,8 @@
-{ pkgs, config, ... }:
-
 {
+  pkgs,
+  config,
+  ...
+}: {
   config = {
     sound.enable = false;
     security.rtkit.enable = true;
@@ -12,4 +14,4 @@
       jack.enable = true;
     };
   };
-}
\ No newline at end of file
+}
diff --git a/mixins/sway.nix b/mixins/sway.nix
index 7b99b2c..e7c71db 100644
--- a/mixins/sway.nix
+++ b/mixins/sway.nix
@@ -287,4 +287,4 @@ in {
       };
     };
   };
-}
\ No newline at end of file
+}
diff --git a/mixins/tailscale.nix b/mixins/tailscale.nix
index ccefc48..0822d97 100644
--- a/mixins/tailscale.nix
+++ b/mixins/tailscale.nix
@@ -1,13 +1,15 @@
-{ pkgs, config, ... }:
-
 {
+  pkgs,
+  config,
+  ...
+}: {
   config = {
     services.tailscale.enable = true;
     networking.firewall = {
-      trustedInterfaces = [ "tailscale0" ];
+      trustedInterfaces = ["tailscale0"];
       allowedUDPPorts = [41641];
     };
 
-    environment.persistence."/nix/persist".directories = [ "/var/lib/tailscale" ];
+    environment.persistence."/nix/persist".directories = ["/var/lib/tailscale"];
   };
-}
\ No newline at end of file
+}