added maddie's ssh key
This commit is contained in:
parent
97f929cd1f
commit
8dfc175b34
@ -18,7 +18,7 @@
|
|||||||
ka = "killall";
|
ka = "killall";
|
||||||
xw = "xwallpaper";
|
xw = "xwallpaper";
|
||||||
nf = "neofetch";
|
nf = "neofetch";
|
||||||
tf = "pridefetch -f trans";
|
gf = "pridefetch -f genderfluid";
|
||||||
pf = "pfetch";
|
pf = "pfetch";
|
||||||
i = "inertia";
|
i = "inertia";
|
||||||
|
|
||||||
@ -29,6 +29,7 @@
|
|||||||
sx = "startx ~/.config/x11/xinitrc";
|
sx = "startx ~/.config/x11/xinitrc";
|
||||||
sdn = "doas shutdown -h now";
|
sdn = "doas shutdown -h now";
|
||||||
kys = "kill $(pidof '$@')";
|
kys = "kill $(pidof '$@')";
|
||||||
|
nheko = "systemctl restart --user pass-secret-service.service && nheko";
|
||||||
|
|
||||||
# Nix system shortucts
|
# Nix system shortucts
|
||||||
nix-system-update = "nix flake update $NIXFILES && doas nixos-rebuild switch --flake $NIXFILES";
|
nix-system-update = "nix flake update $NIXFILES && doas nixos-rebuild switch --flake $NIXFILES";
|
||||||
|
1
evelyne/common/ssh/maddie.pub
Normal file
1
evelyne/common/ssh/maddie.pub
Normal file
@ -0,0 +1 @@
|
|||||||
|
sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIA1jTkcMhBQQoYqNVLofrNnTbB8RCyzSYmdsnPeoOineAAAABHNzaDo= spy@luna (yubikey)
|
@ -97,9 +97,9 @@
|
|||||||
|
|
||||||
# Prompt character
|
# Prompt character
|
||||||
character = {
|
character = {
|
||||||
success_symbol = "-> [λ](bold purple)";
|
success_symbol = "-> [](bold purple)";
|
||||||
error_symbol = "-> [λ](bold red)";
|
error_symbol = "-> [](bold red)";
|
||||||
vimcmd_symbol = "-> [λ](bold green)";
|
vimcmd_symbol = "-> [](bold green)";
|
||||||
};
|
};
|
||||||
|
|
||||||
# When in a deep directory or git repo
|
# When in a deep directory or git repo
|
||||||
|
46
systems/pogmachine/noise-suppression.nix
Normal file
46
systems/pogmachine/noise-suppression.nix
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
json = pkgs.formats.json {};
|
||||||
|
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
|
||||||
|
{
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
rnnoise
|
||||||
|
rnnoise-plugin
|
||||||
|
];
|
||||||
|
environment.etc."pipewire/pipewire.conf.d/99-input-denoising.conf" = {
|
||||||
|
source = json.generate "99-input-denoising.conf" pw_rnnoise_config;
|
||||||
|
};
|
||||||
|
}
|
@ -6,6 +6,6 @@
|
|||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
description = "Evelyne";
|
description = "Evelyne";
|
||||||
extraGroups = [ "adbusers" "dialout" "libvirtd" "plugdev" ];
|
extraGroups = [ "adbusers" "dialout" "libvirtd" "plugdev" ];
|
||||||
openssh.authorizedKeys.keyFiles = [ ../../evelyne/common/ssh/id_ed25519.pub ];
|
openssh.authorizedKeys.keyFiles = [ ../../evelyne/common/ssh/id_ed25519.pub ../../evelyne/common/ssh/maddie.pub ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user