diff options
Diffstat (limited to 'nixos/services')
-rw-r--r-- | nixos/services/logind.service.nix | 5 | ||||
-rw-r--r-- | nixos/services/nginx.service.nix | 4 | ||||
-rw-r--r-- | nixos/services/pipewire.service.nix | 33 | ||||
-rw-r--r-- | nixos/services/power_management.service.nix | 5 | ||||
-rw-r--r-- | nixos/services/seatd.service.nix | 5 | ||||
-rw-r--r-- | nixos/services/syncthing.service.nix | 4 | ||||
-rw-r--r-- | nixos/services/tailscale.service.nix | 4 |
7 files changed, 6 insertions, 54 deletions
diff --git a/nixos/services/logind.service.nix b/nixos/services/logind.service.nix index 7de7ea0..0c8225f 100644 --- a/nixos/services/logind.service.nix +++ b/nixos/services/logind.service.nix @@ -1,7 +1,4 @@ -{ pkgs -, config -, lib -, ... +{ ... }: { services.logind.extraConfig = '' # don't shutdown in short press diff --git a/nixos/services/nginx.service.nix b/nixos/services/nginx.service.nix index 53025c3..a627b30 100644 --- a/nixos/services/nginx.service.nix +++ b/nixos/services/nginx.service.nix @@ -1,6 +1,4 @@ -{ pkgs -, config -, ... +{ ... }: { services.nginx = { enable = true; diff --git a/nixos/services/pipewire.service.nix b/nixos/services/pipewire.service.nix index 83548a4..0cf6a8a 100644 --- a/nixos/services/pipewire.service.nix +++ b/nixos/services/pipewire.service.nix @@ -1,37 +1,4 @@ { pkgs, ... }: -let - pw_rnnoise_config = { - "context.modules" = [ - { - "name" = "libpipewire-module-filter-chain"; - "args" = { - "node.description" = "Noise Canceling source"; - "media.name" = "Noise Canceling source"; - "filter.graph" = { - "nodes" = [ - { - "type" = "ladspa"; - "name" = "rnnoise"; - "plugin" = "${pkgs.rnnoise-plugin}/lib/ladspa/librnnoise_ladspa.so"; - "label" = "noise_suppressor_stereo"; - "control" = { "VAD Threshold (%)" = 50.0; }; - } - ]; - }; - "audio.position" = [ "FL" "FR" ]; - "capture.props" = { - "node.name" = "effect_input.rnnoise"; - "node.passive" = true; - }; - "playback.props" = { - "node.name" = "effect_output.rnnoise"; - "media.class" = "Audio/Source"; - }; - }; - } - ]; - }; -in { services.pipewire = { enable = true; diff --git a/nixos/services/power_management.service.nix b/nixos/services/power_management.service.nix index e86d18c..570314b 100644 --- a/nixos/services/power_management.service.nix +++ b/nixos/services/power_management.service.nix @@ -1,7 +1,4 @@ -{ pkgs -, config -, lib -, ... +{ ... }: { services.tlp = { enable = true; diff --git a/nixos/services/seatd.service.nix b/nixos/services/seatd.service.nix index fe75f90..d738a79 100644 --- a/nixos/services/seatd.service.nix +++ b/nixos/services/seatd.service.nix @@ -1,7 +1,4 @@ -{ pkgs -, config -, lib -, ... +{ ... }: { services.seatd = { enable = true; diff --git a/nixos/services/syncthing.service.nix b/nixos/services/syncthing.service.nix index bd53243..e285e0e 100644 --- a/nixos/services/syncthing.service.nix +++ b/nixos/services/syncthing.service.nix @@ -1,6 +1,4 @@ -{ pkgs -, config -, lib +{ config , ... }: { services = { diff --git a/nixos/services/tailscale.service.nix b/nixos/services/tailscale.service.nix index d373aa9..0b7e27a 100644 --- a/nixos/services/tailscale.service.nix +++ b/nixos/services/tailscale.service.nix @@ -1,6 +1,4 @@ -{ pkgs -, config -, ... +{ ... }: { services.tailscale = { enable = true; |