diff options
Diffstat (limited to 'mixins')
-rw-r--r-- | mixins/cli.nix | 4 | ||||
-rw-r--r-- | mixins/greet.nix | 2 | ||||
-rw-r--r-- | mixins/hyprland.nix | 2 | ||||
-rw-r--r-- | mixins/mpd.nix | 10 | ||||
-rw-r--r-- | mixins/multimedia.nix | 10 | ||||
-rw-r--r-- | mixins/pipewire.nix | 8 | ||||
-rw-r--r-- | mixins/sway.nix | 2 | ||||
-rw-r--r-- | mixins/tailscale.nix | 12 |
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 +} |