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:
parent
e6d13ffdf8
commit
eb11ec0726
16
home-manager/chat.nix
Normal file
16
home-manager/chat.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
@ -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;
|
||||
|
@ -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)
|
||||
|
6
home-manager/dots/senpai/highlight
Executable file
6
home-manager/dots/senpai/highlight
Executable file
@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
escape() {
|
||||
printf "%s" "$1" | sed 's#\#\\#g'
|
||||
}
|
||||
notify-desktop "[$BUFFER] $SENDER" "$(escape "$MESSAGE")"
|
4
home-manager/dots/senpai/senpai.scfg
Normal file
4
home-manager/dots/senpai/senpai.scfg
Normal file
@ -0,0 +1,4 @@
|
||||
address irc.pico.sh:6697
|
||||
nickname iiogama
|
||||
password-cmd pass irc-pico
|
||||
highlight
|
@ -20,6 +20,7 @@
|
||||
imports = [
|
||||
../home-manager/all.nix
|
||||
../home-manager/cli.nix
|
||||
../home-manager/chat.nix
|
||||
../home-manager/gui.nix
|
||||
./buckwheat/home.nix
|
||||
];
|
||||
|
@ -5,6 +5,7 @@
|
||||
catgirl
|
||||
discord
|
||||
profanity
|
||||
sic
|
||||
senpai
|
||||
signal-desktop
|
||||
tut
|
||||
|
@ -101,6 +101,7 @@
|
||||
lynis
|
||||
mdp
|
||||
mediainfo
|
||||
mosh
|
||||
nb
|
||||
nethogs
|
||||
oed
|
||||
|
Loading…
Reference in New Issue
Block a user