Added senpai configuration to home-manager/chat.nix, moved catgirl configuration to home-manager/chat.nix, and added sic package to nixos/chat.nix

This commit is contained in:
Thai Noodles 2024-01-05 21:52:21 -08:00
parent e6d13ffdf8
commit eb11ec0726
8 changed files with 37 additions and 12 deletions

16
home-manager/chat.nix Normal file
View File

@ -0,0 +1,16 @@
# Chat home.nix
{ config, lib, pkgs, inputs, user, ... }:
{
xdg.configFile = {
"catgirl" = {
source = ./dots/catgirl;
target = "catgirl";
recursive = true;
};
"senpai" = {
source = ./dots/senpai;
target = "senpai";
recursive = true;
};
};
}

View File

@ -11,13 +11,6 @@
home.sessionPath = [
"${config.home.homeDirectory}/.local/share/go/bin"
];
xdg.configFile = {
"catgirl" = {
source = ./dots/catgirl;
target = "catgirl";
recursive = true;
};
};
xdg = {
userDirs = {
enable = true;

View File

@ -3,6 +3,14 @@
set -o vi
unset HISTFILE
function mkplatypus() {
cd $(mktemp -d)
touch "platypus.sh"
printf '#!/usr/bin/env sh' >> "platypus.sh"
printf "\n\n\n" >> "platypus.sh"
chmod +x "platypus.sh"
vim "+normal GA" "platypus.sh"
}
# Functions
function search() {
surfraw $(surfraw -elvi | fzf | awk '{print $1;}')
@ -11,11 +19,6 @@ function mkcd {
mkdir -p $1
cd $1
}
function ukr() {
read -rsp "Password: " PASS
export $(echo -n "$PASS" | gnome-keyring-daemon --replace --unlock)
unset PASS
}
# fe [FUZZY PATTERN] - Open the selected file with the default editor
# - Bypass fuzzy finder if there's only one match (--select-1)
# - Exit if there's no match (--exit-0)

View File

@ -0,0 +1,6 @@
#!/usr/bin/env sh
escape() {
printf "%s" "$1" | sed 's#\#\\#g'
}
notify-desktop "[$BUFFER] $SENDER" "$(escape "$MESSAGE")"

View File

@ -0,0 +1,4 @@
address irc.pico.sh:6697
nickname iiogama
password-cmd pass irc-pico
highlight

View File

@ -20,6 +20,7 @@
imports = [
../home-manager/all.nix
../home-manager/cli.nix
../home-manager/chat.nix
../home-manager/gui.nix
./buckwheat/home.nix
];

View File

@ -5,6 +5,7 @@
catgirl
discord
profanity
sic
senpai
signal-desktop
tut

View File

@ -101,6 +101,7 @@
lynis
mdp
mediainfo
mosh
nb
nethogs
oed