aboutsummaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'nixos')
-rw-r--r--nixos/bootloader.nix14
-rw-r--r--nixos/custom-hosts.nix5
-rw-r--r--nixos/greetd.nix2
-rw-r--r--nixos/hardware-configuration.nix1
-rw-r--r--nixos/services/logind.service.nix5
-rw-r--r--nixos/services/nginx.service.nix4
-rw-r--r--nixos/services/pipewire.service.nix33
-rw-r--r--nixos/services/power_management.service.nix5
-rw-r--r--nixos/services/seatd.service.nix5
-rw-r--r--nixos/services/syncthing.service.nix4
-rw-r--r--nixos/services/tailscale.service.nix4
-rw-r--r--nixos/virtualisation.nix4
12 files changed, 9 insertions, 77 deletions
diff --git a/nixos/bootloader.nix b/nixos/bootloader.nix
index 00691b2..63d4f13 100644
--- a/nixos/bootloader.nix
+++ b/nixos/bootloader.nix
@@ -1,19 +1,7 @@
-{ config
-, pkgs
+{ pkgs
, ...
}:
let
- distro-grub-themes = pkgs.stdenv.mkDerivation {
- pname = "distro-grub-themes";
- version = "3.1";
- src = pkgs.fetchFromGitHub {
- owner = "AdisonCavani";
- repo = "distro-grub-themes";
- rev = "v3.1";
- hash = "sha256-ZcoGbbOMDDwjLhsvs77C7G7vINQnprdfI37a9ccrmPs=";
- };
- installPhase = "cp -r customize/nixos $out";
- };
xenlism-grub-themes = pkgs.stdenv.mkDerivation {
pname = "xenlism-grub-themes";
version = "1.0";
diff --git a/nixos/custom-hosts.nix b/nixos/custom-hosts.nix
index 954eaf4..69dcbc6 100644
--- a/nixos/custom-hosts.nix
+++ b/nixos/custom-hosts.nix
@@ -1,7 +1,4 @@
-{ config
-, lib
-, pkgs
-, ...
+{ ...
}: {
networking.extraHosts = ''
# home IP mapping
diff --git a/nixos/greetd.nix b/nixos/greetd.nix
index ae2f3ce..d5d0a07 100644
--- a/nixos/greetd.nix
+++ b/nixos/greetd.nix
@@ -1,6 +1,4 @@
{ pkgs
-, config
-, lib
, ...
}:
let
diff --git a/nixos/hardware-configuration.nix b/nixos/hardware-configuration.nix
index 1dc6755..39e35dc 100644
--- a/nixos/hardware-configuration.nix
+++ b/nixos/hardware-configuration.nix
@@ -3,7 +3,6 @@
# to /etc/nixos/configuration.nix instead.
{ config
, lib
-, pkgs
, modulesPath
, ...
}: {
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;
diff --git a/nixos/virtualisation.nix b/nixos/virtualisation.nix
index c91d0e2..fc5957c 100644
--- a/nixos/virtualisation.nix
+++ b/nixos/virtualisation.nix
@@ -1,6 +1,4 @@
-{ pkgs
-, lib
-, config
+{ config
, ...
}: {
virtualisation = {