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 = [
|
home.sessionPath = [
|
||||||
"${config.home.homeDirectory}/.local/share/go/bin"
|
"${config.home.homeDirectory}/.local/share/go/bin"
|
||||||
];
|
];
|
||||||
xdg.configFile = {
|
|
||||||
"catgirl" = {
|
|
||||||
source = ./dots/catgirl;
|
|
||||||
target = "catgirl";
|
|
||||||
recursive = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
xdg = {
|
xdg = {
|
||||||
userDirs = {
|
userDirs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -3,6 +3,14 @@
|
|||||||
set -o vi
|
set -o vi
|
||||||
unset HISTFILE
|
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
|
# Functions
|
||||||
function search() {
|
function search() {
|
||||||
surfraw $(surfraw -elvi | fzf | awk '{print $1;}')
|
surfraw $(surfraw -elvi | fzf | awk '{print $1;}')
|
||||||
@ -11,11 +19,6 @@ function mkcd {
|
|||||||
mkdir -p $1
|
mkdir -p $1
|
||||||
cd $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
|
# fe [FUZZY PATTERN] - Open the selected file with the default editor
|
||||||
# - Bypass fuzzy finder if there's only one match (--select-1)
|
# - Bypass fuzzy finder if there's only one match (--select-1)
|
||||||
# - Exit if there's no match (--exit-0)
|
# - 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 = [
|
imports = [
|
||||||
../home-manager/all.nix
|
../home-manager/all.nix
|
||||||
../home-manager/cli.nix
|
../home-manager/cli.nix
|
||||||
|
../home-manager/chat.nix
|
||||||
../home-manager/gui.nix
|
../home-manager/gui.nix
|
||||||
./buckwheat/home.nix
|
./buckwheat/home.nix
|
||||||
];
|
];
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
catgirl
|
catgirl
|
||||||
discord
|
discord
|
||||||
profanity
|
profanity
|
||||||
|
sic
|
||||||
senpai
|
senpai
|
||||||
signal-desktop
|
signal-desktop
|
||||||
tut
|
tut
|
||||||
|
@ -101,6 +101,7 @@
|
|||||||
lynis
|
lynis
|
||||||
mdp
|
mdp
|
||||||
mediainfo
|
mediainfo
|
||||||
|
mosh
|
||||||
nb
|
nb
|
||||||
nethogs
|
nethogs
|
||||||
oed
|
oed
|
||||||
|
Loading…
Reference in New Issue
Block a user