chore(clean): deadnix pruning

This commit is contained in:
Zhongheng Liu 2025-01-08 14:24:09 +02:00
commit a81feaf5fa
Signed by: steven
GPG key ID: 805A28B071DAD84B
50 changed files with 37 additions and 168 deletions

View file

@ -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";

View file

@ -1,7 +1,4 @@
{ config
, lib
, pkgs
, ...
{ ...
}: {
networking.extraHosts = ''
# home IP mapping

View file

@ -1,6 +1,4 @@
{ pkgs
, config
, lib
, ...
}:
let

View file

@ -3,7 +3,6 @@
# to /etc/nixos/configuration.nix instead.
{ config
, lib
, pkgs
, modulesPath
, ...
}: {

View file

@ -1,7 +1,4 @@
{ pkgs
, config
, lib
, ...
{ ...
}: {
services.logind.extraConfig = ''
# don't shutdown in short press

View file

@ -1,6 +1,4 @@
{ pkgs
, config
, ...
{ ...
}: {
services.nginx = {
enable = true;

View file

@ -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;

View file

@ -1,7 +1,4 @@
{ pkgs
, config
, lib
, ...
{ ...
}: {
services.tlp = {
enable = true;

View file

@ -1,7 +1,4 @@
{ pkgs
, config
, lib
, ...
{ ...
}: {
services.seatd = {
enable = true;

View file

@ -1,6 +1,4 @@
{ pkgs
, config
, lib
{ config
, ...
}: {
services = {

View file

@ -1,6 +1,4 @@
{ pkgs
, config
, ...
{ ...
}: {
services.tailscale = {
enable = true;

View file

@ -1,6 +1,4 @@
{ pkgs
, lib
, config
{ config
, ...
}: {
virtualisation = {