added maddie's ssh key

This commit is contained in:
Evelyne 2023-04-22 20:55:05 +01:00
parent 97f929cd1f
commit 8dfc175b34
Signed by: evelyne
GPG Key ID: 00FC03E8D01EA976
5 changed files with 53 additions and 5 deletions

View File

@ -18,7 +18,7 @@
ka = "killall";
xw = "xwallpaper";
nf = "neofetch";
tf = "pridefetch -f trans";
gf = "pridefetch -f genderfluid";
pf = "pfetch";
i = "inertia";
@ -29,6 +29,7 @@
sx = "startx ~/.config/x11/xinitrc";
sdn = "doas shutdown -h now";
kys = "kill $(pidof '$@')";
nheko = "systemctl restart --user pass-secret-service.service && nheko";
# Nix system shortucts
nix-system-update = "nix flake update $NIXFILES && doas nixos-rebuild switch --flake $NIXFILES";

View File

@ -0,0 +1 @@
sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIA1jTkcMhBQQoYqNVLofrNnTbB8RCyzSYmdsnPeoOineAAAABHNzaDo= spy@luna (yubikey)

View File

@ -97,9 +97,9 @@
# Prompt character
character = {
success_symbol = "-> [λ](bold purple)";
error_symbol = "-> [λ](bold red)";
vimcmd_symbol = "-> [λ](bold green)";
success_symbol = "-> [](bold purple)";
error_symbol = "-> [](bold red)";
vimcmd_symbol = "-> [](bold green)";
};
# When in a deep directory or git repo

View 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;
};
}

View File

@ -6,6 +6,6 @@
shell = pkgs.zsh;
description = "Evelyne";
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 ];
};
}