Compare commits
No commits in common. "master" and "utils_import" have entirely different histories.
master
...
utils_impo
|
@ -1,4 +0,0 @@
|
||||||
.config
|
|
||||||
mimeapps.list
|
|
||||||
pulse/
|
|
||||||
chromium/
|
|
|
@ -1 +0,0 @@
|
||||||
hist
|
|
|
@ -1,102 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# if not interactive, don't do anything
|
|
||||||
[ -z "$PS1" ] && return
|
|
||||||
|
|
||||||
# some housekeeping
|
|
||||||
alias ls="ls --color=auto"
|
|
||||||
alias ll="ls -lah --color=auto"
|
|
||||||
function cd() {
|
|
||||||
builtin cd "$@" && ls --color=auto
|
|
||||||
}
|
|
||||||
|
|
||||||
# history
|
|
||||||
HISTCONTROL=ignorespace:ignoredups:erasedups
|
|
||||||
HISTFILESIZE=9999999999
|
|
||||||
HISTSIZE=9999999999
|
|
||||||
|
|
||||||
# bash specific settings
|
|
||||||
set -o vi # vim mode
|
|
||||||
shopt -s autocd
|
|
||||||
shopt -s cmdhist
|
|
||||||
shopt -s histreedit
|
|
||||||
shopt -s histappend
|
|
||||||
shopt -s histverify
|
|
||||||
|
|
||||||
PS1="\w\$ "
|
|
||||||
|
|
||||||
if [ -n "$IN_NIX_SHELL" ]; then
|
|
||||||
NIX_SHELL_PS1="nix:"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$USER" = "root" ]; then
|
|
||||||
USER_PREFIX="\[\033[41m\]root:\[\033[0;0m\]"
|
|
||||||
elif [ "$USER" == "ryan" ] && [ "$HOSTNAME" = "netbox" ]; then
|
|
||||||
USER_PREFIX=""
|
|
||||||
elif [ "$USER" != "usr" ]; then
|
|
||||||
USER_PREFIX="$USER:"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# hostname shenanigans
|
|
||||||
case "$HOSTNAME" in
|
|
||||||
"aristotle")
|
|
||||||
PS1="$USER_PREFIX\[\033[36;1m\]${NIX_SHELL_PS1}arist:$PS1\[\033[0;0m\]"
|
|
||||||
;;
|
|
||||||
"copernicus")
|
|
||||||
PS1="$USER_PREFIX\[\033[97;1m\]${NIX_SHELL_PS1}coper:$PS1\[\033[0;0m\]"
|
|
||||||
;;
|
|
||||||
"x230t")
|
|
||||||
PS1="$USER_PREFIX\[\033[93;1m\]${NIX_SHELL_PS1}x230t:$PS1\[\033[0;0m\]"
|
|
||||||
;;
|
|
||||||
"mlg")
|
|
||||||
PS1="$USER_PREFIX\[\033[94;1m\]${NIX_SHELL_PS1}mlg:$PS1\[\033[0;0m\]"
|
|
||||||
;;
|
|
||||||
"netbox")
|
|
||||||
PS1="$USER_PREFIX\[\033[95;1m\]${NIX_SHELL_PS1}net:$PS1\[\033[0;0m\]"
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
PS1="$USER_PREFIX\[\033[96;1m\]${NIX_SHELL_PS1}unk:$PS1\[\033[0;0m\]"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
repos() {
|
|
||||||
sel="$(ls ~/git | fzy | awk '{print "/home/usr/git/"$1}')"
|
|
||||||
[ "$?" -eq 1 ] && exit
|
|
||||||
|
|
||||||
cd "$sel"
|
|
||||||
}
|
|
||||||
|
|
||||||
hist() {
|
|
||||||
res=$(cat ~/.config/bash/hist | \
|
|
||||||
sort | \
|
|
||||||
uniq | \
|
|
||||||
shuf | \
|
|
||||||
fzy)
|
|
||||||
|
|
||||||
[ -n "$res" ] && $($res)
|
|
||||||
}
|
|
||||||
|
|
||||||
search() {
|
|
||||||
if [ "$1" = '-a' ]; then
|
|
||||||
res=$(find /home/usr/ /home/usr/doc/ \
|
|
||||||
-mindepth 1 \
|
|
||||||
-not -path '*/.*' \
|
|
||||||
-not -path './Mail/*' \
|
|
||||||
-not -path './vdir/*' \
|
|
||||||
-not -path '*venv*' \
|
|
||||||
-not -path '*node_modules*' \
|
|
||||||
-not -path '*__pycache__*' \
|
|
||||||
-type d | cut -c 11- | fzy)
|
|
||||||
else
|
|
||||||
res=$(find $(pwd) \
|
|
||||||
-mindepth 1 \
|
|
||||||
-not -path '*/.*' \
|
|
||||||
-not -path './Mail/*' \
|
|
||||||
-not -path './vdir/*' \
|
|
||||||
-not -path '*venv*' \
|
|
||||||
-not -path '*node_modules*' \
|
|
||||||
-not -path '*__pycache__*' \
|
|
||||||
-type d | cut -c 11- | fzy)
|
|
||||||
fi
|
|
||||||
[ -n "$res" ] && cd /home/usr/"$res"
|
|
||||||
}
|
|
|
@ -1,66 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# paths and stuff
|
|
||||||
export PATH="$PATH:$HOME/.local/bin"
|
|
||||||
|
|
||||||
if [ $(hostname) = "localhost" ]; then # this is phone
|
|
||||||
export PATH="$PATH:$HOME/dot_testing/boxes/phone/out-of-tree/git-annex.linux"
|
|
||||||
fi
|
|
||||||
export MANPATH="$(manpath -q):$HOME/.local/share/man"
|
|
||||||
export EDITOR="nvim"
|
|
||||||
mkdir -p "$HOME/.local/bin" "$HOME/.share/man"
|
|
||||||
|
|
||||||
# program exports to keep the $HOME neat and tidy
|
|
||||||
# bash
|
|
||||||
export HISTFILE="$HOME/.config/bash/hist"
|
|
||||||
export HISTFILESIZE=3000
|
|
||||||
|
|
||||||
# python
|
|
||||||
export PYTHONSTARTUP="$HOME/.config/python/pythonrc.py"
|
|
||||||
|
|
||||||
# less
|
|
||||||
export LESSHISTFILE="-"
|
|
||||||
|
|
||||||
# gnupg
|
|
||||||
export GNUPGHOME="$HOME/.local/share/gnupg"
|
|
||||||
|
|
||||||
# remind
|
|
||||||
export DOTREMINDERS="$HOME/git/calendar/reminders"
|
|
||||||
|
|
||||||
# XDG config
|
|
||||||
export XDG_CONFIG_HOME="$HOME/.config"
|
|
||||||
export XDG_CACHE_HOME="$HOME/.cache"
|
|
||||||
export XDG_DATA_HOME="$HOME/.local/share"
|
|
||||||
export XDG_STATE_HOME="$HOME/.local/state"
|
|
||||||
|
|
||||||
# reminders
|
|
||||||
export DOTREMINDERS="$XDG_DATA_HOME/reminders/remind"
|
|
||||||
|
|
||||||
# ls
|
|
||||||
export LS_COLORS='rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:';
|
|
||||||
|
|
||||||
# sfeed
|
|
||||||
|
|
||||||
SFEED_URL_FILE="$HOME/.local/share/sfeed"
|
|
||||||
mkdir -p $SFEED_URL_FILE
|
|
||||||
touch "$SFEED_URL_FILE"
|
|
||||||
export SFEED_URL_FILE="$SFEED_URL_FILE/.urls"
|
|
||||||
|
|
||||||
export $(dbus-launch)
|
|
||||||
export GTK_THEME="earth"
|
|
||||||
|
|
||||||
# elinks
|
|
||||||
export ELINKS_CONFDIR="$HOME/.config/elinks"
|
|
||||||
|
|
||||||
# dbus configuration
|
|
||||||
export DBUS_SESSION_BUS_ADDRESS="unix:path=$XDG_RUNTIME_DIR/bus"
|
|
||||||
|
|
||||||
# make nix-shell respect our PS1
|
|
||||||
export NIX_SHELL_PRESERVE_PROMPT=1
|
|
||||||
|
|
||||||
# source the bashrc(s)
|
|
||||||
[ -f $HOME/.config/bash/bashrc ] && . $HOME/.config/bash/bashrc
|
|
||||||
[ -f $HOME/.bashrc ] && . $HOME/.bashrc
|
|
||||||
|
|
||||||
# if we're interactive and the tty is /dev/tty1 then start xorg
|
|
||||||
[ "$(tty)" = "/dev/tty1" ] && sx
|
|
|
@ -1,30 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
# rndusr's bspwmrc
|
|
||||||
|
|
||||||
bspc rule -a st-gpg-menu state=floating
|
|
||||||
bspc rule -a statusbar border=off sticky=on state=floating manage=off
|
|
||||||
bspc rule -a tmenu-prompt border=on sticky=on state=floating
|
|
||||||
bspc rule -a Xmessage border=on state=floating
|
|
||||||
bspc rule -a Zathura state=tiled
|
|
||||||
bspc rule -a generic-st-window state=floating manage=on sticky=on border=on
|
|
||||||
bspc rule -a floating-feh state=floating
|
|
||||||
bspc rule -a send-to-9 desktop=9
|
|
||||||
|
|
||||||
bspc rule -a steam desktop=1
|
|
||||||
bspc rule -a discord desktop=2
|
|
||||||
|
|
||||||
bspc config normal_border_color "#161510"
|
|
||||||
bspc config active_border_color "#161510"
|
|
||||||
bspc config focused_border_color "#727A18"
|
|
||||||
|
|
||||||
bspc config pointer_follows_focus true
|
|
||||||
bspc config pointer_follows_monitor true
|
|
||||||
bspc config focus_follows_pointer true
|
|
||||||
|
|
||||||
bspc config window_gap 0
|
|
||||||
bspc config top_padding 20
|
|
||||||
|
|
||||||
# post-wm configuration
|
|
||||||
disp
|
|
||||||
|
|
||||||
bspc desktop -f 1
|
|
Binary file not shown.
|
@ -1,24 +0,0 @@
|
||||||
[global]
|
|
||||||
follow = mouse
|
|
||||||
font = Fantasque Sans Mono 20
|
|
||||||
frame_width = 1
|
|
||||||
always_run_script = true
|
|
||||||
|
|
||||||
[urgency_low]
|
|
||||||
background = "#161510"
|
|
||||||
foreground = "#cccccc"
|
|
||||||
frame_color = "#727a18"
|
|
||||||
|
|
||||||
[urgency_normal]
|
|
||||||
background = "#161510"
|
|
||||||
foreground = "#cccccc"
|
|
||||||
frame_color = "#727a18"
|
|
||||||
|
|
||||||
[urgency_critical]
|
|
||||||
background = "#161510"
|
|
||||||
foreground = "#cccccc"
|
|
||||||
frame_color = "#727a18"
|
|
||||||
|
|
||||||
[notify]
|
|
||||||
summary = "*"
|
|
||||||
script = ~/.config/dunst/notification_handler.sh
|
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
mpv ~/.config/dunst/beep.m4a
|
|
|
@ -1,3 +0,0 @@
|
||||||
bookmarks
|
|
||||||
globhist
|
|
||||||
gotohist
|
|
|
@ -1,524 +0,0 @@
|
||||||
## ELinks 0.16.1.1 configuration file
|
|
||||||
|
|
||||||
## This is ELinks configuration file. You can edit it manually,
|
|
||||||
## if you wish so; this file is edited by ELinks when you save
|
|
||||||
## options through UI, however only option values will be altered
|
|
||||||
## and missing options will be added at the end of file; if option
|
|
||||||
## is not written in this file, but in some file included from it,
|
|
||||||
## it is NOT counted as missing. Note that all your formatting,
|
|
||||||
## own comments and so on will be kept as-is.
|
|
||||||
##
|
|
||||||
## Obviously, if you don't like what ELinks is going to do with
|
|
||||||
## this file, you can change it by altering the config.saving_style
|
|
||||||
## option. Come on, aren't we friendly guys after all?
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##############################
|
|
||||||
# Automatically saved options
|
|
||||||
#
|
|
||||||
|
|
||||||
## config
|
|
||||||
# Configuration handling options.
|
|
||||||
|
|
||||||
## config.saving_style_w [0|1]
|
|
||||||
# This is internal option used when displaying a warning about obsolete
|
|
||||||
# config.saving_style. You shouldn't touch it.
|
|
||||||
set config.saving_style_w = 1
|
|
||||||
|
|
||||||
|
|
||||||
## terminal
|
|
||||||
# Terminal options.
|
|
||||||
|
|
||||||
## terminal.st-256color
|
|
||||||
# Options specific to this terminal type (according to $TERM value).
|
|
||||||
|
|
||||||
## terminal.st-256color.transparency [0|1]
|
|
||||||
set terminal.st-256color.transparency = 1
|
|
||||||
|
|
||||||
|
|
||||||
## ui
|
|
||||||
# User interface options.
|
|
||||||
|
|
||||||
## ui.language <language>
|
|
||||||
# Language of user interface. 'System' means that the language will be
|
|
||||||
# extracted from the environment dynamically.
|
|
||||||
set ui.language = "System"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##############################
|
|
||||||
# Automatically saved options
|
|
||||||
#
|
|
||||||
|
|
||||||
## terminal
|
|
||||||
# Terminal options.
|
|
||||||
|
|
||||||
## terminal.st-256color
|
|
||||||
# Options specific to this terminal type (according to $TERM value).
|
|
||||||
|
|
||||||
## terminal.st-256color.colors <num>
|
|
||||||
set terminal.st-256color.colors = 1
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##############################
|
|
||||||
# Automatically saved options
|
|
||||||
#
|
|
||||||
|
|
||||||
## cookies
|
|
||||||
# Cookies options.
|
|
||||||
|
|
||||||
## cookies.accept_policy <num>
|
|
||||||
# Cookies accepting policy:
|
|
||||||
# 0 is accept no cookies
|
|
||||||
# 1 is ask for confirmation before accepting cookie
|
|
||||||
# 2 is accept all cookies
|
|
||||||
set cookies.accept_policy = 0
|
|
||||||
|
|
||||||
|
|
||||||
## ui
|
|
||||||
# User interface options.
|
|
||||||
|
|
||||||
## ui.colors
|
|
||||||
# Default user interface color settings.
|
|
||||||
|
|
||||||
## ui.colors.color
|
|
||||||
# Color settings for color terminal.
|
|
||||||
|
|
||||||
## ui.colors.color.mainmenu
|
|
||||||
# Main menu bar colors.
|
|
||||||
|
|
||||||
## ui.colors.color.mainmenu.normal
|
|
||||||
# Unselected main menu bar item colors.
|
|
||||||
|
|
||||||
## ui.colors.color.mainmenu.normal.text <color|#rrggbb>
|
|
||||||
# Default text color.
|
|
||||||
set ui.colors.color.mainmenu.normal.text = "white"
|
|
||||||
|
|
||||||
## ui.colors.color.mainmenu.normal.background <color|#rrggbb>
|
|
||||||
# Default background color.
|
|
||||||
set ui.colors.color.mainmenu.normal.background = "black"
|
|
||||||
|
|
||||||
|
|
||||||
## ui.colors.color.mainmenu.selected
|
|
||||||
# Selected main menu bar item colors.
|
|
||||||
|
|
||||||
## ui.colors.color.mainmenu.selected.text <color|#rrggbb>
|
|
||||||
# Default text color.
|
|
||||||
set ui.colors.color.mainmenu.selected.text = "black"
|
|
||||||
|
|
||||||
## ui.colors.color.mainmenu.selected.background <color|#rrggbb>
|
|
||||||
# Default background color.
|
|
||||||
set ui.colors.color.mainmenu.selected.background = "white"
|
|
||||||
|
|
||||||
|
|
||||||
## ui.colors.color.mainmenu.hotkey
|
|
||||||
# Main menu hotkey colors.
|
|
||||||
|
|
||||||
## ui.colors.color.mainmenu.hotkey.normal
|
|
||||||
# Main menu unselected hotkey colors.
|
|
||||||
|
|
||||||
## ui.colors.color.mainmenu.hotkey.normal.text <color|#rrggbb>
|
|
||||||
# Default text color.
|
|
||||||
set ui.colors.color.mainmenu.hotkey.normal.text = "black"
|
|
||||||
|
|
||||||
## ui.colors.color.mainmenu.hotkey.normal.background <color|#rrggbb>
|
|
||||||
# Default background color.
|
|
||||||
set ui.colors.color.mainmenu.hotkey.normal.background = "white"
|
|
||||||
|
|
||||||
|
|
||||||
## ui.colors.color.mainmenu.hotkey.selected
|
|
||||||
# Main menu selected hotkey colors.
|
|
||||||
|
|
||||||
## ui.colors.color.mainmenu.hotkey.selected.text <color|#rrggbb>
|
|
||||||
# Default text color.
|
|
||||||
set ui.colors.color.mainmenu.hotkey.selected.text = "white"
|
|
||||||
|
|
||||||
## ui.colors.color.mainmenu.hotkey.selected.background <color|#rrggbb>
|
|
||||||
# Default background color.
|
|
||||||
set ui.colors.color.mainmenu.hotkey.selected.background = "black"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## ui.colors.color.menu
|
|
||||||
# Menu bar colors.
|
|
||||||
|
|
||||||
## ui.colors.color.menu.normal
|
|
||||||
# Unselected menu item colors.
|
|
||||||
|
|
||||||
## ui.colors.color.menu.normal.text <color|#rrggbb>
|
|
||||||
# Default text color.
|
|
||||||
set ui.colors.color.menu.normal.text = "white"
|
|
||||||
|
|
||||||
## ui.colors.color.menu.normal.background <color|#rrggbb>
|
|
||||||
# Default background color.
|
|
||||||
set ui.colors.color.menu.normal.background = "black"
|
|
||||||
|
|
||||||
|
|
||||||
## ui.colors.color.menu.selected
|
|
||||||
# Selected menu item colors.
|
|
||||||
|
|
||||||
## ui.colors.color.menu.selected.text <color|#rrggbb>
|
|
||||||
# Default text color.
|
|
||||||
set ui.colors.color.menu.selected.text = "black"
|
|
||||||
|
|
||||||
## ui.colors.color.menu.selected.background <color|#rrggbb>
|
|
||||||
# Default background color.
|
|
||||||
set ui.colors.color.menu.selected.background = "white"
|
|
||||||
|
|
||||||
|
|
||||||
## ui.colors.color.menu.marked
|
|
||||||
# Marked menu item colors.
|
|
||||||
|
|
||||||
## ui.colors.color.menu.marked.text <color|#rrggbb>
|
|
||||||
# Default text color.
|
|
||||||
set ui.colors.color.menu.marked.text = "red"
|
|
||||||
|
|
||||||
## ui.colors.color.menu.marked.background <color|#rrggbb>
|
|
||||||
# Default background color.
|
|
||||||
set ui.colors.color.menu.marked.background = "black"
|
|
||||||
|
|
||||||
|
|
||||||
## ui.colors.color.menu.hotkey
|
|
||||||
# Menu item hotkey colors.
|
|
||||||
|
|
||||||
## ui.colors.color.menu.hotkey.normal
|
|
||||||
# Menu item unselected hotkey colors.
|
|
||||||
|
|
||||||
## ui.colors.color.menu.hotkey.normal.text <color|#rrggbb>
|
|
||||||
# Default text color.
|
|
||||||
set ui.colors.color.menu.hotkey.normal.text = "black"
|
|
||||||
|
|
||||||
## ui.colors.color.menu.hotkey.normal.background <color|#rrggbb>
|
|
||||||
# Default background color.
|
|
||||||
set ui.colors.color.menu.hotkey.normal.background = "white"
|
|
||||||
|
|
||||||
|
|
||||||
## ui.colors.color.menu.hotkey.selected
|
|
||||||
# Menu item selected hotkey colors.
|
|
||||||
|
|
||||||
## ui.colors.color.menu.hotkey.selected.text <color|#rrggbb>
|
|
||||||
# Default text color.
|
|
||||||
set ui.colors.color.menu.hotkey.selected.text = "white"
|
|
||||||
|
|
||||||
## ui.colors.color.menu.hotkey.selected.background <color|#rrggbb>
|
|
||||||
# Default background color.
|
|
||||||
set ui.colors.color.menu.hotkey.selected.background = "black"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## ui.colors.color.menu.frame
|
|
||||||
# Menu frame colors.
|
|
||||||
|
|
||||||
## ui.colors.color.menu.frame.text <color|#rrggbb>
|
|
||||||
# Default text color.
|
|
||||||
set ui.colors.color.menu.frame.text = "white"
|
|
||||||
|
|
||||||
## ui.colors.color.menu.frame.background <color|#rrggbb>
|
|
||||||
# Default background color.
|
|
||||||
set ui.colors.color.menu.frame.background = "black"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## ui.colors.color.dialog
|
|
||||||
# Dialog colors.
|
|
||||||
|
|
||||||
## ui.colors.color.dialog.generic
|
|
||||||
# Generic dialog colors.
|
|
||||||
|
|
||||||
## ui.colors.color.dialog.generic.text <color|#rrggbb>
|
|
||||||
# Default text color.
|
|
||||||
set ui.colors.color.dialog.generic.text = "white"
|
|
||||||
|
|
||||||
## ui.colors.color.dialog.generic.background <color|#rrggbb>
|
|
||||||
# Default background color.
|
|
||||||
set ui.colors.color.dialog.generic.background = "black"
|
|
||||||
|
|
||||||
|
|
||||||
## ui.colors.color.dialog.frame
|
|
||||||
# Dialog frame colors.
|
|
||||||
|
|
||||||
## ui.colors.color.dialog.frame.text <color|#rrggbb>
|
|
||||||
# Default text color.
|
|
||||||
set ui.colors.color.dialog.frame.text = "white"
|
|
||||||
|
|
||||||
## ui.colors.color.dialog.frame.background <color|#rrggbb>
|
|
||||||
# Default background color.
|
|
||||||
set ui.colors.color.dialog.frame.background = "black"
|
|
||||||
|
|
||||||
|
|
||||||
## ui.colors.color.dialog.title
|
|
||||||
# Dialog title colors.
|
|
||||||
|
|
||||||
## ui.colors.color.dialog.title.text <color|#rrggbb>
|
|
||||||
# Default text color.
|
|
||||||
set ui.colors.color.dialog.title.text = "white"
|
|
||||||
|
|
||||||
## ui.colors.color.dialog.title.background <color|#rrggbb>
|
|
||||||
# Default background color.
|
|
||||||
set ui.colors.color.dialog.title.background = "black"
|
|
||||||
|
|
||||||
|
|
||||||
## ui.colors.color.dialog.text
|
|
||||||
# Dialog text colors.
|
|
||||||
|
|
||||||
## ui.colors.color.dialog.text.text <color|#rrggbb>
|
|
||||||
# Default text color.
|
|
||||||
set ui.colors.color.dialog.text.text = "white"
|
|
||||||
|
|
||||||
## ui.colors.color.dialog.text.background <color|#rrggbb>
|
|
||||||
# Default background color.
|
|
||||||
set ui.colors.color.dialog.text.background = "black"
|
|
||||||
|
|
||||||
|
|
||||||
## ui.colors.color.dialog.checkbox
|
|
||||||
# Dialog checkbox colors.
|
|
||||||
|
|
||||||
## ui.colors.color.dialog.checkbox.text <color|#rrggbb>
|
|
||||||
# Default text color.
|
|
||||||
set ui.colors.color.dialog.checkbox.text = "darkred"
|
|
||||||
|
|
||||||
## ui.colors.color.dialog.checkbox.background <color|#rrggbb>
|
|
||||||
# Default background color.
|
|
||||||
set ui.colors.color.dialog.checkbox.background = "black"
|
|
||||||
|
|
||||||
|
|
||||||
## ui.colors.color.dialog.checkbox-selected
|
|
||||||
# Dialog selected checkbox colors.
|
|
||||||
|
|
||||||
## ui.colors.color.dialog.checkbox-selected.text <color|#rrggbb>
|
|
||||||
# Default text color.
|
|
||||||
set ui.colors.color.dialog.checkbox-selected.text = "yellow"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## ui.colors.color.title
|
|
||||||
# Title bar colors.
|
|
||||||
|
|
||||||
## ui.colors.color.title.title-bar
|
|
||||||
# Generic title bar colors.
|
|
||||||
|
|
||||||
## ui.colors.color.title.title-bar.text <color|#rrggbb>
|
|
||||||
# Default text color.
|
|
||||||
set ui.colors.color.title.title-bar.text = "white"
|
|
||||||
|
|
||||||
## ui.colors.color.title.title-bar.background <color|#rrggbb>
|
|
||||||
# Default background color.
|
|
||||||
set ui.colors.color.title.title-bar.background = "black"
|
|
||||||
|
|
||||||
|
|
||||||
## ui.colors.color.title.title-text
|
|
||||||
# Title bar text colors.
|
|
||||||
|
|
||||||
## ui.colors.color.title.title-text.text <color|#rrggbb>
|
|
||||||
# Default text color.
|
|
||||||
set ui.colors.color.title.title-text.text = "white"
|
|
||||||
|
|
||||||
## ui.colors.color.title.title-text.background <color|#rrggbb>
|
|
||||||
# Default background color.
|
|
||||||
set ui.colors.color.title.title-text.background = "black"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## ui.colors.color.status
|
|
||||||
# Status bar colors.
|
|
||||||
|
|
||||||
## ui.colors.color.status.showip-text
|
|
||||||
# Status bar show ip text colors.
|
|
||||||
|
|
||||||
## ui.colors.color.status.showip-text.text <color|#rrggbb>
|
|
||||||
# Default text color.
|
|
||||||
set ui.colors.color.status.showip-text.text = "white"
|
|
||||||
|
|
||||||
## ui.colors.color.status.showip-text.background <color|#rrggbb>
|
|
||||||
# Default background color.
|
|
||||||
set ui.colors.color.status.showip-text.background = "black"
|
|
||||||
|
|
||||||
|
|
||||||
## ui.colors.color.status.status-bar
|
|
||||||
# Generic status bar colors.
|
|
||||||
|
|
||||||
## ui.colors.color.status.status-bar.text <color|#rrggbb>
|
|
||||||
# Default text color.
|
|
||||||
set ui.colors.color.status.status-bar.text = "white"
|
|
||||||
|
|
||||||
## ui.colors.color.status.status-bar.background <color|#rrggbb>
|
|
||||||
# Default background color.
|
|
||||||
set ui.colors.color.status.status-bar.background = "black"
|
|
||||||
|
|
||||||
|
|
||||||
## ui.colors.color.status.status-text
|
|
||||||
# Status bar text colors.
|
|
||||||
|
|
||||||
## ui.colors.color.status.status-text.text <color|#rrggbb>
|
|
||||||
# Default text color.
|
|
||||||
set ui.colors.color.status.status-text.text = "white"
|
|
||||||
|
|
||||||
## ui.colors.color.status.status-text.background <color|#rrggbb>
|
|
||||||
# Default background color.
|
|
||||||
set ui.colors.color.status.status-text.background = "black"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## ui.colors.color.tabs
|
|
||||||
# Tabs bar colors.
|
|
||||||
|
|
||||||
## ui.colors.color.tabs.unvisited
|
|
||||||
# Tab colors for tabs that have not been selected since they completed
|
|
||||||
# loading.
|
|
||||||
|
|
||||||
## ui.colors.color.tabs.unvisited.text <color|#rrggbb>
|
|
||||||
# Default text color.
|
|
||||||
set ui.colors.color.tabs.unvisited.text = "white"
|
|
||||||
|
|
||||||
## ui.colors.color.tabs.unvisited.background <color|#rrggbb>
|
|
||||||
# Default background color.
|
|
||||||
set ui.colors.color.tabs.unvisited.background = "black"
|
|
||||||
|
|
||||||
|
|
||||||
## ui.colors.color.tabs.normal
|
|
||||||
# Unselected tab colors.
|
|
||||||
|
|
||||||
## ui.colors.color.tabs.normal.text <color|#rrggbb>
|
|
||||||
# Default text color.
|
|
||||||
set ui.colors.color.tabs.normal.text = "white"
|
|
||||||
|
|
||||||
## ui.colors.color.tabs.normal.background <color|#rrggbb>
|
|
||||||
# Default background color.
|
|
||||||
set ui.colors.color.tabs.normal.background = "black"
|
|
||||||
|
|
||||||
|
|
||||||
## ui.colors.color.tabs.loading
|
|
||||||
# Tab colors for tabs that are loading in the background.
|
|
||||||
|
|
||||||
## ui.colors.color.tabs.loading.text <color|#rrggbb>
|
|
||||||
# Default text color.
|
|
||||||
set ui.colors.color.tabs.loading.text = "darkred"
|
|
||||||
|
|
||||||
## ui.colors.color.tabs.loading.background <color|#rrggbb>
|
|
||||||
# Default background color.
|
|
||||||
set ui.colors.color.tabs.loading.background = "black"
|
|
||||||
|
|
||||||
|
|
||||||
## ui.colors.color.tabs.selected
|
|
||||||
# Selected tab colors.
|
|
||||||
|
|
||||||
## ui.colors.color.tabs.selected.text <color|#rrggbb>
|
|
||||||
# Default text color.
|
|
||||||
set ui.colors.color.tabs.selected.text = "black"
|
|
||||||
|
|
||||||
## ui.colors.color.tabs.selected.background <color|#rrggbb>
|
|
||||||
# Default background color.
|
|
||||||
set ui.colors.color.tabs.selected.background = "white"
|
|
||||||
|
|
||||||
|
|
||||||
## ui.colors.color.tabs.separator
|
|
||||||
# Tab separator colors.
|
|
||||||
|
|
||||||
## ui.colors.color.tabs.separator.text <color|#rrggbb>
|
|
||||||
# Default text color.
|
|
||||||
set ui.colors.color.tabs.separator.text = "white"
|
|
||||||
|
|
||||||
## ui.colors.color.tabs.separator.background <color|#rrggbb>
|
|
||||||
# Default background color.
|
|
||||||
set ui.colors.color.tabs.separator.background = "black"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## ui.colors.color.desktop
|
|
||||||
# Desktop background.
|
|
||||||
|
|
||||||
## ui.colors.color.desktop.text <color|#rrggbb>
|
|
||||||
# Default text color.
|
|
||||||
set ui.colors.color.desktop.text = "white"
|
|
||||||
|
|
||||||
## ui.colors.color.desktop.background <color|#rrggbb>
|
|
||||||
# Default background color.
|
|
||||||
set ui.colors.color.desktop.background = "black"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## ui.background_char <num>
|
|
||||||
# Integer value of background character.
|
|
||||||
set ui.background_char = 32
|
|
||||||
|
|
||||||
## ui.show_ip [0|1]
|
|
||||||
# Whether to display IP of the document in the status bar.
|
|
||||||
set ui.show_ip = 1
|
|
||||||
|
|
||||||
## ui.show_menu_bar_always [0|1]
|
|
||||||
# Always show menu bar on the screen.
|
|
||||||
set ui.show_menu_bar_always = 1
|
|
||||||
|
|
||||||
## ui.show_status_bar [0|1]
|
|
||||||
# Show status bar on the screen.
|
|
||||||
set ui.show_status_bar = 1
|
|
||||||
|
|
||||||
## ui.show_title_bar [0|1]
|
|
||||||
# Show title bar on the screen.
|
|
||||||
set ui.show_title_bar = 1
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##################################
|
|
||||||
# Automatically saved keybindings
|
|
||||||
#
|
|
||||||
|
|
||||||
bind "main" "k" = "none"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##############################
|
|
||||||
# Automatically saved options
|
|
||||||
#
|
|
||||||
|
|
||||||
## document
|
|
||||||
# Document options.
|
|
||||||
|
|
||||||
## document.colors
|
|
||||||
# Default document color settings.
|
|
||||||
|
|
||||||
## document.colors.use_document_colors <num>
|
|
||||||
# Use colors specified in document:
|
|
||||||
# 0 is use always the default settings
|
|
||||||
# 1 is use document colors if available, except background
|
|
||||||
# 2 is use document colors, including background. This can
|
|
||||||
# mostly look very impressive, but some sites will appear
|
|
||||||
# really ugly. Note, that obviously if the background is
|
|
||||||
# not black, it will break the behaviour of transparency.
|
|
||||||
set document.colors.use_document_colors = 1
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##############################
|
|
||||||
# Automatically saved options
|
|
||||||
#
|
|
||||||
|
|
||||||
## document
|
|
||||||
# Document options.
|
|
||||||
|
|
||||||
## document.browse
|
|
||||||
# Document browsing options (mainly interactivity).
|
|
||||||
|
|
||||||
## document.browse.forms
|
|
||||||
# Options for handling of the forms interaction.
|
|
||||||
|
|
||||||
## document.browse.forms.confirm_submit [0|1]
|
|
||||||
# Ask for confirmation when submitting a form.
|
|
||||||
set document.browse.forms.confirm_submit = 0
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,168 +0,0 @@
|
||||||
;; rndusr's init.el
|
|
||||||
|
|
||||||
;; configure the package manager
|
|
||||||
(require 'package)
|
|
||||||
(add-to-list 'package-archives
|
|
||||||
'("melpa" . "https://melpa.org/packages/"))
|
|
||||||
(package-initialize)
|
|
||||||
;; (package-refresh-contents)
|
|
||||||
|
|
||||||
; disable annoying ui features
|
|
||||||
(menu-bar-mode -1)
|
|
||||||
(tool-bar-mode -1)
|
|
||||||
(scroll-bar-mode -1)
|
|
||||||
(setq auto-save-default nil)
|
|
||||||
(add-hook 'prog-mode-hook 'display-line-numbers-mode)
|
|
||||||
|
|
||||||
(defun keymap-symbol (keymap)
|
|
||||||
"Return the symbol to which KEYMAP is bound, or nil if no such symbol exists."
|
|
||||||
(catch 'gotit
|
|
||||||
(mapatoms (lambda (sym)
|
|
||||||
(and (boundp sym)
|
|
||||||
(eq (symbol-value sym) keymap)
|
|
||||||
(not (eq sym 'keymap))
|
|
||||||
(throw 'gotit sym))))))
|
|
||||||
|
|
||||||
(defun get-local-map () (interactive) (message "Current mapping: %S" (keymap-symbol (current-local-map))))
|
|
||||||
|
|
||||||
;; download packages
|
|
||||||
(unless (package-installed-p 'evil)
|
|
||||||
(package-install 'evil))
|
|
||||||
(unless (package-installed-p 'org)
|
|
||||||
(package-install 'org))
|
|
||||||
(unless (package-installed-p 'org-drill)
|
|
||||||
(package-install 'org-drill))
|
|
||||||
(unless (package-installed-p 'accent)
|
|
||||||
(package-install 'accent))
|
|
||||||
(unless (package-installed-p 'elfeed)
|
|
||||||
(package-install 'elfeed))
|
|
||||||
(unless (package-installed-p 'hackernews)
|
|
||||||
(package-install 'hackernews))
|
|
||||||
(unless (package-installed-p 'emms)
|
|
||||||
(package-install 'emms))
|
|
||||||
(unless (package-installed-p 'company)
|
|
||||||
(package-install 'company))
|
|
||||||
(unless (package-installed-p 'anaconda-mode)
|
|
||||||
(package-install 'anaconda-mode))
|
|
||||||
(unless (package-installed-p 'company-anaconda)
|
|
||||||
(package-install 'company-anaconda))
|
|
||||||
(unless (package-installed-p 'calfw)
|
|
||||||
(package-install 'calfw))
|
|
||||||
(unless (package-installed-p 'calfw-org)
|
|
||||||
(package-install 'calfw-org))
|
|
||||||
(unless (package-installed-p 'calfw-ical)
|
|
||||||
(package-install 'calfw-ical))
|
|
||||||
|
|
||||||
;; activate packages
|
|
||||||
(require 'evil)
|
|
||||||
(require 'org)
|
|
||||||
(require 'calfw)
|
|
||||||
(require 'calfw-org)
|
|
||||||
(require 'calfw-ical)
|
|
||||||
(require 'org-drill)
|
|
||||||
(require 'accent)
|
|
||||||
(require 'elfeed)
|
|
||||||
(require 'hackernews)
|
|
||||||
(require 'emms)
|
|
||||||
(require 'company)
|
|
||||||
(require 'anaconda-mode)
|
|
||||||
(require 'company-anaconda)
|
|
||||||
|
|
||||||
;; configure packages
|
|
||||||
|
|
||||||
;; - evil-mode
|
|
||||||
(evil-set-initial-state 'elfeed-search 'emacs)
|
|
||||||
|
|
||||||
;; swap ; and :
|
|
||||||
(with-eval-after-load 'evil-maps
|
|
||||||
(define-key evil-motion-state-map (kbd ";") 'evil-ex))
|
|
||||||
|
|
||||||
(evil-set-leader 'normal (kbd "<SPC>"))
|
|
||||||
(defun configreload () (interactive) (load "~/.config/emacs/init.el"))
|
|
||||||
(defun configread () (interactive) (find-file-noselect "~/dot_testing/config/emacs/init.el"))
|
|
||||||
(defun nixrebuild () (interactive) (term "rebuild"))
|
|
||||||
|
|
||||||
(evil-define-key 'normal 'global (kbd "<leader>rr") 'configreload)
|
|
||||||
(evil-define-key 'normal 'global (kbd "<leader>re") 'configread)
|
|
||||||
(evil-define-key 'normal 'global (kbd "<leader>nrr") 'nixrebuild)
|
|
||||||
(evil-ex-define-cmd "get-current-mapping" 'get-local-map)
|
|
||||||
(evil-mode 1)
|
|
||||||
|
|
||||||
;; company-mode
|
|
||||||
(add-hook 'after-init-hook 'global-company-mode)
|
|
||||||
(setq company-idle-delay 1
|
|
||||||
company-tooltip-idle-delay 10
|
|
||||||
company-require-match nil
|
|
||||||
company-frontends
|
|
||||||
'(company-pseudo-tooltip-unless-just-one-frontend-with-delay
|
|
||||||
company-preview-frontend
|
|
||||||
company-echo-metadata-frontend)
|
|
||||||
company-backends '(company-capf))
|
|
||||||
(setq company-tooltip-align-annotations t)
|
|
||||||
(add-to-list 'company-backends 'company-anaconda)
|
|
||||||
(add-hook 'python-mode-hook 'anaconda-mode)
|
|
||||||
|
|
||||||
;; org
|
|
||||||
(setq org-agenda-files '("~/org"))
|
|
||||||
(setq calendar-week-start-day 1)
|
|
||||||
(setq org-todo-keywords '((type "MEETING" "CLASS" "TODO" "REHERSAL" "|" "DONE")))
|
|
||||||
(setq org-return-follows-link t)
|
|
||||||
|
|
||||||
;; calfw
|
|
||||||
(defun google-calendar (id) (concatenate 'string "https://calendar.google.com/calendar/ical/" id "%40group.calendar.google.com/public/basic.ics"))
|
|
||||||
|
|
||||||
(defun my-open-calendar ()
|
|
||||||
(interactive)
|
|
||||||
(cfw:open-calendar-buffer
|
|
||||||
:contents-sources
|
|
||||||
(list
|
|
||||||
(cfw:org-create-source "Green")
|
|
||||||
(cfw:ical-create-source "wcs" (google-calendar "c_037e243v5md54rj8kp1k898oo4") "IndianRed")
|
|
||||||
(cfw:ical-create-source "band" (google-calendar "i6bong6iferbcuf1u25jg47t7k") "Blue")
|
|
||||||
(cfw:ical-create-source "schoology" "https://wcschools.schoology.com/calendar/feed/ical/1692031887/ef3eab3f5ac45935472a9fa6f601a63a/ical.ics" "Yellow")
|
|
||||||
)))
|
|
||||||
|
|
||||||
;; emms
|
|
||||||
(require 'emms-player-simple)
|
|
||||||
(require 'emms-source-file)
|
|
||||||
(require 'emms-source-playlist)
|
|
||||||
|
|
||||||
(emms-all)
|
|
||||||
(emms-default-players)
|
|
||||||
|
|
||||||
(evil-define-key 'normal 'emms-browser-mode-map (kbd "z") 'emms-browser-expand-one-level)
|
|
||||||
(evil-define-key 'normal 'emms-browser-mode-map (kbd "RET") 'emms-browser-add-tracks-and-play)
|
|
||||||
(evil-define-key 'normal 'emms-browser-mode-map (kbd "e") 'emms-browser-add-tracks)
|
|
||||||
|
|
||||||
;; - elfeed
|
|
||||||
(global-set-key (kbd "C-x w") 'elfeed)
|
|
||||||
|
|
||||||
(setq elfeed-feeds
|
|
||||||
'("http://nullprogram.com/feed/"
|
|
||||||
"https://drewdevault.com/blog/index.xml"
|
|
||||||
"https://digitallibrary.un.org/rss?ln=en&p=libya&rg=50&c=Resource%20Type&c=UN%20Bodies"
|
|
||||||
"https://planet.emacslife.com/atom.xml"))
|
|
||||||
|
|
||||||
(setq elfeed-db-directory "~/.cache/elfeed")
|
|
||||||
|
|
||||||
;; - accent.el
|
|
||||||
(evil-define-key 'insert 'global (kbd "C-k") 'accent-menu)
|
|
||||||
|
|
||||||
;; fonts
|
|
||||||
(set-face-attribute 'default nil
|
|
||||||
:font "Fantasque Sans Mono 10"
|
|
||||||
:foreground "white" :background "gray8")
|
|
||||||
|
|
||||||
(custom-set-variables
|
|
||||||
;; custom-set-variables was added by Custom.
|
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
|
||||||
;; Your init file should contain only one such instance.
|
|
||||||
;; If there is more than one, they won't work right.
|
|
||||||
'(package-selected-packages
|
|
||||||
'(company-anaconda anaconda-mode company emms bongo accent org-drill hackernews evil elfeed)))
|
|
||||||
(custom-set-faces
|
|
||||||
;; custom-set-faces was added by Custom.
|
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
|
||||||
;; Your init file should contain only one such instance.
|
|
||||||
;; If there is more than one, they won't work right.
|
|
||||||
)
|
|
|
@ -1,21 +0,0 @@
|
||||||
[user]
|
|
||||||
email = ryan@beepboop.systems
|
|
||||||
name = stupidcomputer
|
|
||||||
|
|
||||||
[credential "https://git.beepboop.systems"]
|
|
||||||
helper = !git-rbw-wrap gitea
|
|
||||||
|
|
||||||
[credential "https://github.com"]
|
|
||||||
helper = !git-rbw-wrap github-pat
|
|
||||||
|
|
||||||
[advice]
|
|
||||||
addIgnoredFile = false
|
|
||||||
|
|
||||||
[init]
|
|
||||||
defaultBranch = main
|
|
||||||
|
|
||||||
[help]
|
|
||||||
autocorrect = prompt
|
|
||||||
|
|
||||||
[push]
|
|
||||||
autoSetupRemote = true
|
|
|
@ -1,39 +0,0 @@
|
||||||
# Beware! This file is rewritten by htop when settings are changed in the interface.
|
|
||||||
# The parser is also very primitive, and not human-friendly.
|
|
||||||
fields=0 48 17 18 38 39 40 2 46 47 49 1
|
|
||||||
sort_key=46
|
|
||||||
sort_direction=-1
|
|
||||||
tree_sort_key=0
|
|
||||||
tree_sort_direction=1
|
|
||||||
hide_kernel_threads=1
|
|
||||||
hide_userland_threads=0
|
|
||||||
shadow_other_users=0
|
|
||||||
show_thread_names=0
|
|
||||||
show_program_path=1
|
|
||||||
highlight_base_name=0
|
|
||||||
highlight_megabytes=1
|
|
||||||
highlight_threads=1
|
|
||||||
highlight_changes=0
|
|
||||||
highlight_changes_delay_secs=5
|
|
||||||
find_comm_in_cmdline=1
|
|
||||||
strip_exe_from_cmdline=1
|
|
||||||
show_merged_command=0
|
|
||||||
tree_view=1
|
|
||||||
tree_view_always_by_pid=1
|
|
||||||
header_margin=1
|
|
||||||
detailed_cpu_time=0
|
|
||||||
cpu_count_from_one=0
|
|
||||||
show_cpu_usage=1
|
|
||||||
show_cpu_frequency=0
|
|
||||||
show_cpu_temperature=1
|
|
||||||
degree_fahrenheit=1
|
|
||||||
update_process_names=0
|
|
||||||
account_guest_in_cpu_meter=0
|
|
||||||
color_scheme=0
|
|
||||||
enable_mouse=1
|
|
||||||
delay=15
|
|
||||||
left_meters=AllCPUs Memory Swap
|
|
||||||
left_meter_modes=1 1 1
|
|
||||||
right_meters=Tasks LoadAverage Uptime
|
|
||||||
right_meter_modes=2 2 2
|
|
||||||
hide_function_bar=0
|
|
|
@ -1,20 +0,0 @@
|
||||||
IMAPStore main-remote
|
|
||||||
Host mail.beepboop.systems
|
|
||||||
Port 993
|
|
||||||
User ryan@beepboop.systems
|
|
||||||
PassCmd "rbw get mail.beepboop.systems"
|
|
||||||
SSLType IMAPS
|
|
||||||
CertificateFile /etc/ssl/certs/ca-certificates.crt
|
|
||||||
|
|
||||||
MaildirStore main-local
|
|
||||||
Path ~/Mail/main/
|
|
||||||
Inbox ~/Mail/main/INBOX
|
|
||||||
Subfolders Verbatim
|
|
||||||
|
|
||||||
Channel main
|
|
||||||
Far :main-remote:
|
|
||||||
Near :main-local:
|
|
||||||
Create Both
|
|
||||||
Expunge Both
|
|
||||||
Patterns *
|
|
||||||
SyncState *
|
|
|
@ -1,21 +0,0 @@
|
||||||
IMAPStore main-remote
|
|
||||||
Host mail.beepboop.systems
|
|
||||||
Port 993
|
|
||||||
User ryan@beepboop.systems
|
|
||||||
PassCmd "rbw get mail.beepboop.systems"
|
|
||||||
SSLType IMAPS
|
|
||||||
# termux is weird
|
|
||||||
CertificateFile /data/data/com.termux/files/usr/etc/tls
|
|
||||||
|
|
||||||
MaildirStore main-local
|
|
||||||
Path ~/Mail/main/
|
|
||||||
Inbox ~/Mail/main/INBOX
|
|
||||||
Subfolders Verbatim
|
|
||||||
|
|
||||||
Channel main
|
|
||||||
Far :main-remote:
|
|
||||||
Near :main-local:
|
|
||||||
Create Both
|
|
||||||
Expunge Both
|
|
||||||
Patterns *
|
|
||||||
SyncState *
|
|
|
@ -1,23 +0,0 @@
|
||||||
[calendars]
|
|
||||||
[[home]]
|
|
||||||
path = "~/vdir/calendar/personal/edfbeaf1-e9f3-4d94-a512-40cdafdbc7a0"
|
|
||||||
color = dark green
|
|
||||||
|
|
||||||
[[band]]
|
|
||||||
path = "~/vdir/calendar/band"
|
|
||||||
color = light cyan
|
|
||||||
|
|
||||||
[[pco]]
|
|
||||||
path = "~/vdir/calendar/pco"
|
|
||||||
color = yellow
|
|
||||||
|
|
||||||
[[school]]
|
|
||||||
path = "~/vdir/calendar/school"
|
|
||||||
color = dark red
|
|
||||||
|
|
||||||
[locale]
|
|
||||||
timeformat = %H:%M
|
|
||||||
dateformat = %Y-%m-%d
|
|
||||||
longdateformat = %Y-%m-%d %a
|
|
||||||
datetimeformat = %Y-%m-%d %H:%M
|
|
||||||
longdatetimeformat = %Y-%m-%d %H:%M
|
|
|
@ -1,19 +0,0 @@
|
||||||
[addressbooks]
|
|
||||||
[[main]]
|
|
||||||
path = ~/vdir/people/main/20cda0dd-5922-4905-8956-859c989a6519
|
|
||||||
[general]
|
|
||||||
default_action = list
|
|
||||||
editor = nvim
|
|
||||||
merge_editor = nvim, -d
|
|
||||||
|
|
||||||
[contact table]
|
|
||||||
display = first_name
|
|
||||||
group_by_addressbook = no
|
|
||||||
reverse = no
|
|
||||||
show_nicknames = no
|
|
||||||
show_uids = yes
|
|
||||||
show_kinds = no
|
|
||||||
sort = last_name
|
|
||||||
localize_dates = yes
|
|
||||||
preferred_phone_number_type = pref, cell, home
|
|
||||||
preferred_email_address_type = pref, work, home
|
|
|
@ -1,12 +0,0 @@
|
||||||
defaults
|
|
||||||
auth on
|
|
||||||
tls on
|
|
||||||
tls_trust_file /etc/ssl/certs/ca-certificates.crt
|
|
||||||
|
|
||||||
account default
|
|
||||||
host mail.beepboop.systems
|
|
||||||
port 587
|
|
||||||
tls_starttls on
|
|
||||||
from ryan@beepboop.systems
|
|
||||||
user ryan@beepboop.systems
|
|
||||||
passwordeval rbw get "mail.beepboop.systems"
|
|
|
@ -1,29 +0,0 @@
|
||||||
set editor = "nvim"
|
|
||||||
|
|
||||||
set my_name = "Ryan Marina"
|
|
||||||
set fast_reply
|
|
||||||
|
|
||||||
set mbox_type = Maildir
|
|
||||||
set folder = "~/Mail/main"
|
|
||||||
|
|
||||||
set sidebar_visible
|
|
||||||
set sidebar_format = "%B%<F? [%F}>%* %<N?%N/>%S"
|
|
||||||
set mail_check_stats
|
|
||||||
|
|
||||||
set sendmail = "msmtp -a default -C $HOME/.config/msmtp/config"
|
|
||||||
|
|
||||||
set from = "ryan@beepboop.systems"
|
|
||||||
set spoolfile = +INBOX
|
|
||||||
set record = "+Sent"
|
|
||||||
set trash = "+Trash"
|
|
||||||
set postponed = "+Drafts"
|
|
||||||
mailboxes +SMS +INBOX "+College Messages" +"Internship 24"
|
|
||||||
|
|
||||||
unset wait_key
|
|
||||||
macro index S "<shell-escape>mbsync --config=$HOME/.config/isync/config main; vdirsyncer sync<enter>"
|
|
||||||
|
|
||||||
set use_threads = yes
|
|
||||||
set sort_aux = reverse-last-date-received
|
|
||||||
|
|
||||||
set imap_keepalive = 300
|
|
||||||
set query_command = "khard email --parsable --search-in-source-files '%s'"
|
|
|
@ -1 +0,0 @@
|
||||||
plugin
|
|
|
@ -1,48 +0,0 @@
|
||||||
set background=dark
|
|
||||||
highlight clear
|
|
||||||
if exists("syntax_on")
|
|
||||||
syntax reset
|
|
||||||
endif
|
|
||||||
|
|
||||||
let g:colors_name = "earth"
|
|
||||||
|
|
||||||
hi Normal ctermbg=black ctermfg=NONE cterm=NONE
|
|
||||||
hi Comment ctermbg=NONE ctermfg=darkblue cterm=NONE
|
|
||||||
hi Operator ctermbg=NONE ctermfg=green cterm=NONE
|
|
||||||
hi Statement ctermbg=NONE ctermfg=green cterm=NONE
|
|
||||||
hi link Keyword Operator
|
|
||||||
hi Label ctermbg=NONE ctermfg=darkyellow cterm=NONE
|
|
||||||
hi link Function Label
|
|
||||||
hi link Repeat Label
|
|
||||||
hi link Conditional Label
|
|
||||||
hi link Exception Label
|
|
||||||
hi Identifier ctermbg=NONE ctermfg=blue cterm=NONE
|
|
||||||
hi link Constant Identifier
|
|
||||||
|
|
||||||
hi PreProc ctermbg=NONE ctermfg=darkblue cterm=NONE
|
|
||||||
hi link Include PreProc
|
|
||||||
hi link Define PreProc
|
|
||||||
hi link Macro PreProc
|
|
||||||
hi link PreCondit PreProc
|
|
||||||
|
|
||||||
hi Type ctermbg=NONE ctermfg=blue cterm=NONE
|
|
||||||
|
|
||||||
hi Constant ctermbg=NONE ctermfg=blue cterm=NONE
|
|
||||||
|
|
||||||
hi Error ctermbg=darkred ctermfg=white cterm=NONE
|
|
||||||
hi Todo ctermbg=darkyellow ctermfg=black cterm=NONE
|
|
||||||
|
|
||||||
hi Search ctermbg=NONE ctermfg=red cterm=NONE
|
|
||||||
hi LineNr ctermbg=black ctermfg=gray
|
|
||||||
hi Pmenu ctermbg=blue ctermfg=black
|
|
||||||
hi PmenuSel ctermbg=green ctermfg=black
|
|
||||||
|
|
||||||
hi VertSplit ctermbg=NONE ctermfg=white cterm=NONE
|
|
||||||
|
|
||||||
hi StatusLine ctermbg=black ctermfg=white cterm=NONE gui=NONE
|
|
||||||
hi StatusLineNC ctermbg=white ctermfg=black cterm=NONE gui=NONE
|
|
||||||
|
|
||||||
hi SpellBad ctermbg=NONE ctermfg=red cterm=NONE
|
|
||||||
hi SpellCap ctermbg=NONE ctermfg=12 cterm=NONE
|
|
||||||
hi SpellRare ctermbg=NONE ctermfg=13 cterm=NONE
|
|
||||||
hi SpellLocal ctermbg=NONE ctermfg=14 cterm=NONE
|
|
|
@ -1,197 +0,0 @@
|
||||||
-- randomuser's
|
|
||||||
-- _ _ _ _
|
|
||||||
-- (_)_ __ (_) |_ | |_ _ __ _
|
|
||||||
-- | | '_ \| | __| | | | | |/ _` |
|
|
||||||
-- | | | | | | |_ _| | |_| | (_| |
|
|
||||||
-- |_|_| |_|_|\__(_)_|\__,_|\__,_|
|
|
||||||
|
|
||||||
-- helper functions {{{
|
|
||||||
local keymapper = vim.keymap
|
|
||||||
local globals = vim.g
|
|
||||||
local opt = vim.o
|
|
||||||
local cmd = vim.cmd
|
|
||||||
function nnoremap(l, r)
|
|
||||||
keymapper.set('n', l, r) -- noremap is implied
|
|
||||||
end
|
|
||||||
|
|
||||||
function inoremap(l, r)
|
|
||||||
keymapper.set('i', l, r)
|
|
||||||
end
|
|
||||||
|
|
||||||
function tnoremap(l, r)
|
|
||||||
keymapper.set('t', l, r)
|
|
||||||
end
|
|
||||||
-- }}}
|
|
||||||
|
|
||||||
-- custom mappings {{{
|
|
||||||
globals.mapleader = ' '
|
|
||||||
nnoremap(';', ':')
|
|
||||||
nnoremap(':', ';')
|
|
||||||
nnoremap('<leader><leader>', ':')
|
|
||||||
|
|
||||||
-- source init.vim
|
|
||||||
-- requires rebuilding the configuration first
|
|
||||||
nnoremap('<leader>rr', function()
|
|
||||||
cmd.source('~/.config/nvim/init.lua')
|
|
||||||
end)
|
|
||||||
-- edit init.vim
|
|
||||||
nnoremap('<leader>re', function()
|
|
||||||
cmd.edit('~/dot_testing/config/nvim/init.lua')
|
|
||||||
end)
|
|
||||||
-- openup netrw
|
|
||||||
nnoremap('<leader>fs', function()
|
|
||||||
cmd.Lexplore()
|
|
||||||
end)
|
|
||||||
|
|
||||||
inoremap('qp', '<c-g>u<Esc>[s1z=`]a<c-g>u')
|
|
||||||
inoremap("<C-a>", "<Esc>mZ0i<Tab><Esc>`ZlA")
|
|
||||||
inoremap('jk', '<Esc>')
|
|
||||||
inoremap('zz', '<Esc>:w!<CR>a')
|
|
||||||
|
|
||||||
tnoremap('<Esc>', '<C-\\><C-n>')
|
|
||||||
-- }}}
|
|
||||||
|
|
||||||
-- vim options {{{
|
|
||||||
opt.compatible = false
|
|
||||||
opt.number = true
|
|
||||||
opt.foldmethod = 'marker'
|
|
||||||
opt.encoding = 'utf8'
|
|
||||||
opt.list = true
|
|
||||||
opt.lcs = 'tab:->,trail:_,eol:^'
|
|
||||||
opt.clipboard = 'unnamedplus'
|
|
||||||
opt.spell = true
|
|
||||||
opt.spelllang = "en_us"
|
|
||||||
opt.title = true
|
|
||||||
opt.ts = 2
|
|
||||||
opt.sw = 2
|
|
||||||
opt.hlsearch = true
|
|
||||||
opt.incsearch = true
|
|
||||||
opt.ignorecase = true
|
|
||||||
opt.smartcase = true
|
|
||||||
opt.inccommand = 'nosplit'
|
|
||||||
opt.hidden = true
|
|
||||||
opt.linebreak = true
|
|
||||||
opt.path = '.,/usr/include,**'
|
|
||||||
vim.cmd.colorscheme('earth')
|
|
||||||
opt.statusline="%f %r%m%q%h%=%y 0x%02B %04l:%03c:%03p"
|
|
||||||
vim.api.nvim_exec("let &titlestring='%{expand(\"%:p\")}'", true)
|
|
||||||
|
|
||||||
globals.vimtex_view_method = 'zathura'
|
|
||||||
-- }}}
|
|
||||||
|
|
||||||
-- autocommands {{{
|
|
||||||
function setTabbing(lang, width)
|
|
||||||
vim.api.nvim_create_autocmd({"Filetype"}, {
|
|
||||||
pattern = {lang},
|
|
||||||
callback = function()
|
|
||||||
vim.bo.expandtab = true
|
|
||||||
vim.bo.tabstop = width
|
|
||||||
vim.bo.shiftwidth = width
|
|
||||||
end
|
|
||||||
})
|
|
||||||
end
|
|
||||||
|
|
||||||
setTabbing("python", 4)
|
|
||||||
setTabbing("htmldjango", 4)
|
|
||||||
setTabbing("javascript", 4)
|
|
||||||
setTabbing("css", 4)
|
|
||||||
setTabbing("html", 4)
|
|
||||||
setTabbing("nix", 2)
|
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd({"TermOpen"}, {
|
|
||||||
pattern = {"*"},
|
|
||||||
callback = function()
|
|
||||||
vim.wo.number = false
|
|
||||||
end
|
|
||||||
})
|
|
||||||
-- }}}
|
|
||||||
|
|
||||||
-- netrw options {{{
|
|
||||||
globals.netrw_winsize = -28
|
|
||||||
globals.netrw_banner = 0
|
|
||||||
-- for tree view
|
|
||||||
globals.netrw_liststyle = 3
|
|
||||||
-- use previous window to open files
|
|
||||||
globals.netrw_browser_split = 4
|
|
||||||
-- }}}
|
|
||||||
|
|
||||||
-- packer.nvim {{{
|
|
||||||
-- taken from packer.nvim readme
|
|
||||||
local ensure_packer = function()
|
|
||||||
local fn = vim.fn
|
|
||||||
local install_path = fn.stdpath('data') .. '/site/pack/packer/start/packer.nvim'
|
|
||||||
if fn.empty(fn.glob(install_path)) > 0 then
|
|
||||||
fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path})
|
|
||||||
vim.cmd [[packadd packer.nvim]]
|
|
||||||
return true
|
|
||||||
end
|
|
||||||
return false
|
|
||||||
end
|
|
||||||
|
|
||||||
local packer_bootstrap = ensure_packer()
|
|
||||||
|
|
||||||
local packer = require('packer').startup(function(use)
|
|
||||||
use 'wbthomason/packer.nvim'
|
|
||||||
use 'nvim-lua/plenary.nvim'
|
|
||||||
use 'nvim-telescope/telescope.nvim'
|
|
||||||
use 'octarect/telescope-menu.nvim'
|
|
||||||
use 'VonHeikemen/lsp-zero.nvim'
|
|
||||||
use 'neovim/nvim-lspconfig'
|
|
||||||
use 'hrsh7th/nvim-cmp'
|
|
||||||
use 'hrsh7th/cmp-nvim-lsp'
|
|
||||||
use 'L3MON4D3/LuaSnip'
|
|
||||||
use 'saadparwaiz1/cmp_luasnip'
|
|
||||||
use 'lervag/vimtex'
|
|
||||||
use 'https://github.com/protex/better-digraphs.nvim'
|
|
||||||
|
|
||||||
if packer_bootstrap then
|
|
||||||
require('packer').sync()
|
|
||||||
end
|
|
||||||
end);
|
|
||||||
-- -- }}}
|
|
||||||
|
|
||||||
nnoremap('<leader>ff', function()
|
|
||||||
require('telescope.builtin').find_files()
|
|
||||||
end)
|
|
||||||
|
|
||||||
inoremap('<C-k><C-k>', function()
|
|
||||||
require('better-digraphs').digraphs("insert")
|
|
||||||
end)
|
|
||||||
|
|
||||||
-- lsp config {{{
|
|
||||||
local lsp_zero = require('lsp-zero')
|
|
||||||
lsp_zero.on_attach(function(client, bufnr)
|
|
||||||
-- see :help lsp-zero-keybindings
|
|
||||||
-- to learn the available actions
|
|
||||||
lsp_zero.default_keymaps({buffer = bufnr})
|
|
||||||
end)
|
|
||||||
|
|
||||||
require('lspconfig').lua_ls.setup({})
|
|
||||||
require('lspconfig').texlab.setup({})
|
|
||||||
require('lspconfig').pylyzer.setup({})
|
|
||||||
-- }}}
|
|
||||||
|
|
||||||
-- luasnip configuration {{{
|
|
||||||
local luasnip = require("luasnip")
|
|
||||||
local ls_extras = require("luasnip.extras")
|
|
||||||
require("luasnip.loaders.from_snipmate").lazy_load()
|
|
||||||
vim.cmd[[
|
|
||||||
imap <silent><expr> <Tab> luasnip#expand_or_jumpable() ? '<Plug>luasnip-expand-or-jump' : '<Tab>'
|
|
||||||
]]
|
|
||||||
|
|
||||||
luasnip.add_snippets("tex", {
|
|
||||||
luasnip.snippet("env", {
|
|
||||||
luasnip.text_node("\\begin{"), luasnip.insert_node(1), luasnip.text_node("}"),
|
|
||||||
luasnip.text_node({ "", "\t" }), luasnip.insert_node(0),
|
|
||||||
luasnip.text_node({ "", "\\end{" }), ls_extras.rep(1), luasnip.text_node("}")
|
|
||||||
})
|
|
||||||
})
|
|
||||||
|
|
||||||
luasnip.add_snippets("tex", {
|
|
||||||
luasnip.snippet("desc", {
|
|
||||||
luasnip.text_node("\\begin{description}"),
|
|
||||||
luasnip.text_node({ "", "\t\\item " }), luasnip.insert_node(1),
|
|
||||||
luasnip.text_node({ "", "\\end{description}" })
|
|
||||||
})
|
|
||||||
})
|
|
||||||
-- }}}
|
|
|
@ -1,111 +0,0 @@
|
||||||
-- init.min.lua - a stripped down init.vim for environments
|
|
||||||
-- in which packer.nvim is inappropriate
|
|
||||||
|
|
||||||
-- helper functions {{{
|
|
||||||
local keymapper = vim.keymap
|
|
||||||
local globals = vim.g
|
|
||||||
local opt = vim.o
|
|
||||||
local cmd = vim.cmd
|
|
||||||
function nnoremap(l, r)
|
|
||||||
keymapper.set('n', l, r) -- noremap is implied
|
|
||||||
end
|
|
||||||
|
|
||||||
function inoremap(l, r)
|
|
||||||
keymapper.set('i', l, r)
|
|
||||||
end
|
|
||||||
|
|
||||||
function tnoremap(l, r)
|
|
||||||
keymapper.set('t', l, r)
|
|
||||||
end
|
|
||||||
-- }}}
|
|
||||||
|
|
||||||
-- custom mappings {{{
|
|
||||||
globals.mapleader = ' '
|
|
||||||
nnoremap(';', ':')
|
|
||||||
nnoremap(':', ';')
|
|
||||||
nnoremap('<leader><leader>', ':')
|
|
||||||
|
|
||||||
-- source init.vim
|
|
||||||
-- requires rebuilding the configuration first
|
|
||||||
nnoremap('<leader>rr', function()
|
|
||||||
cmd.source('~/.config/nvim/init.lua')
|
|
||||||
end)
|
|
||||||
-- edit init.vim
|
|
||||||
nnoremap('<leader>re', function()
|
|
||||||
cmd.edit('~/dot_testing/config/nvim/init.lua')
|
|
||||||
end)
|
|
||||||
-- openup netrw
|
|
||||||
nnoremap('<leader>fs', function()
|
|
||||||
cmd.Lexplore()
|
|
||||||
end)
|
|
||||||
|
|
||||||
inoremap('qp', '<c-g>u<Esc>[s1z=`]a<c-g>u')
|
|
||||||
inoremap("<C-a>", "<Esc>mZ0i<Tab><Esc>`ZlA")
|
|
||||||
inoremap('jk', '<Esc>')
|
|
||||||
inoremap('zz', '<Esc>:w!<CR>a')
|
|
||||||
|
|
||||||
tnoremap('<Esc>', '<C-\\><C-n>')
|
|
||||||
-- }}}
|
|
||||||
|
|
||||||
-- vim options {{{
|
|
||||||
opt.compatible = false
|
|
||||||
opt.number = true
|
|
||||||
opt.foldmethod = 'marker'
|
|
||||||
opt.encoding = 'utf8'
|
|
||||||
opt.list = true
|
|
||||||
opt.lcs = 'tab:->,trail:_,eol:^'
|
|
||||||
opt.clipboard = 'unnamedplus'
|
|
||||||
opt.spell = true
|
|
||||||
opt.spelllang = "en_us"
|
|
||||||
opt.title = true
|
|
||||||
opt.ts = 2
|
|
||||||
opt.sw = 2
|
|
||||||
opt.hlsearch = true
|
|
||||||
opt.incsearch = true
|
|
||||||
opt.ignorecase = true
|
|
||||||
opt.smartcase = true
|
|
||||||
opt.inccommand = 'nosplit'
|
|
||||||
opt.hidden = true
|
|
||||||
opt.linebreak = true
|
|
||||||
opt.path = '.,/usr/include,**'
|
|
||||||
opt.statusline="%f %r%m%q%h%=%y 0x%02B %04l:%03c:%03p"
|
|
||||||
vim.api.nvim_exec("let &titlestring='%{expand(\"%:p\")}'", true)
|
|
||||||
|
|
||||||
globals.vimtex_view_method = 'zathura'
|
|
||||||
-- }}}
|
|
||||||
|
|
||||||
-- autocommands {{{
|
|
||||||
function setTabbing(lang, width)
|
|
||||||
vim.api.nvim_create_autocmd({"Filetype"}, {
|
|
||||||
pattern = {lang},
|
|
||||||
callback = function()
|
|
||||||
vim.bo.expandtab = true
|
|
||||||
vim.bo.tabstop = width
|
|
||||||
vim.bo.shiftwidth = width
|
|
||||||
end
|
|
||||||
})
|
|
||||||
end
|
|
||||||
|
|
||||||
setTabbing("python", 4)
|
|
||||||
setTabbing("htmldjango", 4)
|
|
||||||
setTabbing("javascript", 4)
|
|
||||||
setTabbing("css", 4)
|
|
||||||
setTabbing("html", 4)
|
|
||||||
setTabbing("nix", 2)
|
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd({"TermOpen"}, {
|
|
||||||
pattern = {"*"},
|
|
||||||
callback = function()
|
|
||||||
vim.wo.number = false
|
|
||||||
end
|
|
||||||
})
|
|
||||||
-- }}}
|
|
||||||
|
|
||||||
-- netrw options {{{
|
|
||||||
globals.netrw_winsize = -28
|
|
||||||
globals.netrw_banner = 0
|
|
||||||
-- for tree view
|
|
||||||
globals.netrw_liststyle = 3
|
|
||||||
-- use previous window to open files
|
|
||||||
globals.netrw_browser_split = 4
|
|
||||||
-- }}}
|
|
|
@ -1,17 +0,0 @@
|
||||||
import os
|
|
||||||
import atexit
|
|
||||||
import readline
|
|
||||||
|
|
||||||
history = os.path.join(os.path.expanduser('~'), '.cache/python_history')
|
|
||||||
try:
|
|
||||||
readline.read_history_file(history)
|
|
||||||
except OSError:
|
|
||||||
pass
|
|
||||||
|
|
||||||
def write_history():
|
|
||||||
try:
|
|
||||||
readline.write_history_file(history)
|
|
||||||
except OSError:
|
|
||||||
pass
|
|
||||||
|
|
||||||
atexit.register(write_history)
|
|
|
@ -1,6 +0,0 @@
|
||||||
{
|
|
||||||
"base_url": "https://bitwarden.beepboop.systems",
|
|
||||||
"email": "bit@beepboop.systems",
|
|
||||||
"identity_url": null,
|
|
||||||
"lock_timeout": 3600
|
|
||||||
}
|
|
|
@ -1,30 +0,0 @@
|
||||||
Host mainsail
|
|
||||||
User usr
|
|
||||||
Port 22
|
|
||||||
|
|
||||||
Host phone
|
|
||||||
User u0_a193
|
|
||||||
Port 8022
|
|
||||||
|
|
||||||
Host netbox
|
|
||||||
HostName beepboop.systems
|
|
||||||
User ryan
|
|
||||||
Port 443
|
|
||||||
|
|
||||||
Host mainsail-prox
|
|
||||||
HostName localhost
|
|
||||||
User usr
|
|
||||||
Port 55554
|
|
||||||
ProxyJump netbox
|
|
||||||
|
|
||||||
Host mlg-prox
|
|
||||||
HostName localhost
|
|
||||||
User usr
|
|
||||||
Port 2222
|
|
||||||
ProxyJump mainsail-prox
|
|
||||||
|
|
||||||
Host x230t-prox
|
|
||||||
HostName x230t
|
|
||||||
User usr
|
|
||||||
Port 22
|
|
||||||
ProxyJump mainsail-prox
|
|
|
@ -1,3 +0,0 @@
|
||||||
# start the wm
|
|
||||||
mode sxhkdrc
|
|
||||||
bspwm
|
|
|
@ -1,50 +0,0 @@
|
||||||
# exit mouse mode
|
|
||||||
Escape
|
|
||||||
mode sxhkdrc
|
|
||||||
|
|
||||||
w
|
|
||||||
mode sxhkdrc
|
|
||||||
|
|
||||||
# send the escape key
|
|
||||||
]
|
|
||||||
xdotool key Escape
|
|
||||||
|
|
||||||
# move left
|
|
||||||
{ctrl +,shift +,_} h
|
|
||||||
xdotool mousemove_relative -- {-5,-50,-20} 0
|
|
||||||
|
|
||||||
# move down
|
|
||||||
{ctrl +,shift +,_} j
|
|
||||||
xdotool mousemove_relative -- 0 {5,50,20}
|
|
||||||
|
|
||||||
# move up
|
|
||||||
{ctrl +,shift +,_} k
|
|
||||||
xdotool mousemove_relative -- 0 {-5,-50,-20}
|
|
||||||
|
|
||||||
# move right
|
|
||||||
{ctrl +,shift +,_} l
|
|
||||||
xdotool mousemove_relative -- {5,50,20} 0
|
|
||||||
|
|
||||||
# left, middle, right click
|
|
||||||
{ctrl +,_} {a,s,d}
|
|
||||||
xdotool {mousedown,click} {1,2,3}
|
|
||||||
|
|
||||||
# let go of clicked button
|
|
||||||
q
|
|
||||||
xdotool mouseup 1; xdotool mouseup 2; xdotool mouseup 3
|
|
||||||
|
|
||||||
# move the mouse to the top of the window
|
|
||||||
g ; g
|
|
||||||
mousehelper top
|
|
||||||
|
|
||||||
# ditto for bottom
|
|
||||||
G
|
|
||||||
mousehelper bottom
|
|
||||||
|
|
||||||
# ditto for left
|
|
||||||
0
|
|
||||||
mousehelper left
|
|
||||||
|
|
||||||
# ditto for right
|
|
||||||
dollar
|
|
||||||
mousehelper right
|
|
|
@ -1,98 +0,0 @@
|
||||||
# spawn a terminal
|
|
||||||
super + Return
|
|
||||||
st
|
|
||||||
|
|
||||||
ctrl + b; c
|
|
||||||
st
|
|
||||||
|
|
||||||
ctrl + b; Return
|
|
||||||
st
|
|
||||||
|
|
||||||
# spawn the launcher
|
|
||||||
super + d
|
|
||||||
tmenu_run
|
|
||||||
|
|
||||||
ctrl + b; d
|
|
||||||
tmenu_run
|
|
||||||
|
|
||||||
# kill sxhkd with USR1 and restart bspwm
|
|
||||||
super + r
|
|
||||||
pkill -USR1 -x sxhkd; \
|
|
||||||
bspc wm -r
|
|
||||||
|
|
||||||
ctrl + b; r
|
|
||||||
pkill -USR1 -x sxhkd; \
|
|
||||||
bspc wm -r
|
|
||||||
|
|
||||||
# show nws radar
|
|
||||||
super + {_,shift + }n
|
|
||||||
nws {local,national}
|
|
||||||
|
|
||||||
# switch to "mouse mode"
|
|
||||||
super + m
|
|
||||||
mode mouse
|
|
||||||
|
|
||||||
ctrl + b; m
|
|
||||||
mode mouse
|
|
||||||
|
|
||||||
# kill the current node
|
|
||||||
super + q
|
|
||||||
bspc node -c
|
|
||||||
|
|
||||||
ctrl + b; q
|
|
||||||
bspc node -c
|
|
||||||
|
|
||||||
# kill bspwm
|
|
||||||
super + e
|
|
||||||
bspc quit 0
|
|
||||||
|
|
||||||
ctrl + b; e
|
|
||||||
bspc quit 0; \
|
|
||||||
pkill X # phone starts bspwm differently
|
|
||||||
# to take everything down, we need to kill X
|
|
||||||
|
|
||||||
# systemctl suspend
|
|
||||||
super + shift + e
|
|
||||||
systemctl suspend
|
|
||||||
|
|
||||||
# password menu
|
|
||||||
super + z
|
|
||||||
passmenu
|
|
||||||
|
|
||||||
ctrl + b; z
|
|
||||||
passmenu
|
|
||||||
|
|
||||||
# manipulate a node
|
|
||||||
super + {_,ctrl +,shift + }{h,j,k,l}
|
|
||||||
bspc node -{f,p,s} {west,south,north,east}
|
|
||||||
|
|
||||||
ctrl + b; {_,ctrl +,shift + }{h,j,k,l}
|
|
||||||
bspc node -{f,p,s} {west,south,north,east}
|
|
||||||
|
|
||||||
# change to or move a node to a desktop
|
|
||||||
super + {_,shift + } {1-9,0}
|
|
||||||
bspc {desktop -f,node -d} '0{1-9,0}'
|
|
||||||
|
|
||||||
super + space; {_,shift + } {1-9,0}
|
|
||||||
bspc {desktop -f,node -d} '1{1-9,0}'
|
|
||||||
|
|
||||||
ctrl + b; {_,shift + } {1-9,0}
|
|
||||||
bspc {desktop -f,node -d} '0{1-9,0}'
|
|
||||||
|
|
||||||
# change a node to tiling, floating, or fullscreen
|
|
||||||
super + {t,f,s}
|
|
||||||
bspc node -t {tiled,floating,fullscreen}
|
|
||||||
|
|
||||||
ctrl + b; {t,f,s}
|
|
||||||
bspc node -t {tiled,floating,fullscreen}
|
|
||||||
|
|
||||||
# x230t specific -- activate the tablet menu
|
|
||||||
XF86RotateWindows
|
|
||||||
tabletmenu
|
|
||||||
|
|
||||||
shift + Insert
|
|
||||||
special_ins
|
|
||||||
|
|
||||||
# phone specific -- send the escape key since we can't use it
|
|
||||||
super + b; [
|
|
||||||
xdotool key Escape
|
|
|
@ -1,5 +0,0 @@
|
||||||
path = "~/vdir/calendar/personal/*"
|
|
||||||
date_format = "%m-%d-%Y"
|
|
||||||
time_format = "%H:%M"
|
|
||||||
default_due = 0
|
|
||||||
default_list = "edfbeaf1-e9f3-4d94-a512-40cdafdbc7a0"
|
|
|
@ -1,92 +0,0 @@
|
||||||
sanitize commandline tridactyllocal tridactylsync
|
|
||||||
|
|
||||||
" better thean google
|
|
||||||
set searchengine duckduckgo
|
|
||||||
|
|
||||||
" redirect youtube, reddit, twitter to proxies
|
|
||||||
autocmd DocStart https://www.youtube.com js let vsites = ["invidious.snopyta.org", "yewtu.be", "invidious.kavin.rocks", "vid.puffyan.us"]; tri.excmds.urlmodify("-t", "www.youtube.com", vsites[Math.floor(Math.random() * vsites.length)])
|
|
||||||
autocmd DocStart https://www.reddit.com js let rsites = ["libredd.it", "libreddit.spike.codes", "libreddit.kavin.rocks", "reddit.invak.id", "reddit.phii.me"]; tri.excmds.urlmodify("-t", "www.reddit.com", rsites[Math.floor(Math.random() * rsites.length)])
|
|
||||||
autocmd DocStart https://twitter.com js let tsites = ["nitter.dcs0.hu", "twitter.dr460nf1r3.org", "n.ramle.be", "nitter.cz", "nitter.nl"]; tri.excmds.urlmodify("-t", "www.twitter.com", tsites[Math.floor(Math.random() * tsites.length)])
|
|
||||||
|
|
||||||
|
|
||||||
" shamelessly stolen from glacambre
|
|
||||||
alias clone jsb -p tri.native.run("git clone '" + JS_ARG "' /home/usr/git" + JS_ARG.split("/").slide(-1))
|
|
||||||
alias so source ~/.tridactylrc
|
|
||||||
alias cookie sanitize cookies
|
|
||||||
alias clearhistory sanitize history
|
|
||||||
unbind <C-f>
|
|
||||||
|
|
||||||
set hintchars asdfhjkl
|
|
||||||
set incsearch true
|
|
||||||
set modindicatorshowkeys true
|
|
||||||
colors dark
|
|
||||||
|
|
||||||
" crap ton of setprefs
|
|
||||||
setpref app.normandy.first_run false
|
|
||||||
setpref app.normandy.migrationsApplied 10
|
|
||||||
setpref app.shield.optoutstudies.enabled false
|
|
||||||
setpref browser.aboutConfig.showWarning false
|
|
||||||
setpref browser.laterrun.enabled false
|
|
||||||
setpref browser.newtabpage.activity-stream.discoverystream.endpointSpocsClear "http://example.com"
|
|
||||||
setpref browser.newtabpage.activity-stream.discoverystream.endpoints "http://example.com"
|
|
||||||
setpref browser.newtabpage.activity-stream.feeds.section.highlights false
|
|
||||||
setpref browser.newtabpage.activity-stream.feeds.section.topstories false
|
|
||||||
setpref browser.newtabpage.activity-stream.feeds.snippets false
|
|
||||||
setpref browser.newtabpage.activity-stream.feeds.telemetry false
|
|
||||||
setpref browser.newtabpage.activity-stream.feeds.topsites false
|
|
||||||
setpref browser.newtabpage.activity-stream.impressionId "hmmst"
|
|
||||||
setpref browser.newtabpage.activity-stream.showSearch false
|
|
||||||
setpref browser.newtabpage.activity-stream.telemetry false
|
|
||||||
setpref browser.newtabpage.activity-stream.telemetry.structuredIngestion false
|
|
||||||
setpref browser.newtabpage.activity-stream.telemetry.structuredIngestion.endpoint "http://example.com"
|
|
||||||
setpref browser.ping-centre.telemetry false
|
|
||||||
setpref browser.search.suggest.enabled false
|
|
||||||
setpref browser.safebrowsing.appRepURL ""
|
|
||||||
setpref browser.safebrowsing.blockedURIs.enabled false
|
|
||||||
setpref browser.safebrowsing.downloads.remote.enabled false
|
|
||||||
setpref browser.safebrowsing.downloads.remote.url ""
|
|
||||||
setpref browser.safebrowsing.gethashURL ""
|
|
||||||
setpref browser.safebrowsing.malware.enabled false
|
|
||||||
setpref browser.safebrowsing.malware.reportURL ""
|
|
||||||
setpref browser.safebrowsing.phishing.enabled false
|
|
||||||
setpref browser.safebrowsing.provider.google.gethashURL ""
|
|
||||||
setpref browser.safebrowsing.provider.google.lists ""
|
|
||||||
setpref browser.safebrowsing.provider.google.reportMalwareMistakeURL ""
|
|
||||||
setpref browser.safebrowsing.provider.google.reportPhishMistakeURL ""
|
|
||||||
setpref browser.safebrowsing.provider.google.reportURL ""
|
|
||||||
setpref browser.safebrowsing.provider.google.updateURL ""
|
|
||||||
setpref browser.safebrowsing.provider.google4.dataSharing.enabled false
|
|
||||||
setpref browser.safebrowsing.provider.google4.dataSharingURL ""
|
|
||||||
setpref browser.safebrowsing.provider.google4.reportMalwareMistakeURL ""
|
|
||||||
setpref browser.safebrowsing.provider.google4.reportPhishMistakeURL ""
|
|
||||||
setpref browser.safebrowsing.provider.google4.reportURL ""
|
|
||||||
setpref browser.safebrowsing.provider.mozilla.gethashURL ""
|
|
||||||
setpref browser.safebrowsing.provider.mozilla.updateURL ""
|
|
||||||
setpref browser.safebrowsing.reportPhishURL ""
|
|
||||||
setpref browser.safebrowsing.reportURL ""
|
|
||||||
setpref browser.safebrowsing.updateURL ""
|
|
||||||
setpref dom.push.connection.enabled false
|
|
||||||
setpref dom.presentation.receiver.enabled
|
|
||||||
setpref extensions.pocket.api "example.com"
|
|
||||||
setpref extensions.pocket.enabled true
|
|
||||||
setpref geo.enabled false
|
|
||||||
setpref identity.fxaccounts.pairing.enabled false
|
|
||||||
setpref privacy.resistFingerprinting true
|
|
||||||
setpref privacy.trackingprotection.socialtracking.enabled true
|
|
||||||
setpref security.app_menu.recordEventTelemetry false
|
|
||||||
setpref security.certerrors.recordEventTelemetry false
|
|
||||||
setpref security.identitypopup.recordEventTelemetry false
|
|
||||||
setpref security.protectionspopup.recordEventTelemetry false
|
|
||||||
setpref toolkit.telemetry.archive.enabled false
|
|
||||||
setpref toolkit.telemetry.bhrPing.enabled false
|
|
||||||
setpref toolkit.telemetry.firstShutdownPing.enabled false
|
|
||||||
setpref toolkit.telemetry.newProfilePing.enabled false
|
|
||||||
setpref toolkit.telemetry.reportingpolicy.firstRun false
|
|
||||||
setpref toolkit.telemetry.server "http://example.com"
|
|
||||||
setpref toolkit.telemetry.server "IANA/IETF"
|
|
||||||
setpref toolkit.telemetry.shutdownPingSender.enabled false
|
|
||||||
setpref toolkit.telemetry.unified false
|
|
||||||
setpref toolkit.telemetry.updatePing.enabled false
|
|
||||||
setpref browser.newtabpage.activity-stream.discoverystream.enabled false
|
|
||||||
setpref browser.uiCustomization.state '{"placements":{"widget-overflow-fixed-list":[],"nav-bar":["back-button","forward-button","umatrix_raymondhill_net-browser-action","stop-reload-button","downloads-button","urlbar-container","vim-vixen_i-beam_org-browser-action"],"toolbar-menubar":["menubar-items"],"TabsToolbar":["tabbrowser-tabs","new-tab-button","alltabs-button"],"PersonalToolbar":["personal-bookmarks"]},"seen":["developer-button","umatrix_raymondhill_net-browser-action","vim-vixen_i-beam_org-browser-action"],"dirtyAreaCache":["nav-bar","toolbar-menubar","TabsToolbar","PersonalToolbar"],"currentVersion":16,"newElementCount":4}'
|
|
||||||
setpref privacy.resistFingerprinting.letterboxing false
|
|
|
@ -1,79 +0,0 @@
|
||||||
[general]
|
|
||||||
status_path = "~/vdir/status"
|
|
||||||
|
|
||||||
[pair contacts]
|
|
||||||
a = "contacts_local"
|
|
||||||
b = "contacts_remote"
|
|
||||||
collections = ["from a", "from b"]
|
|
||||||
|
|
||||||
[pair calendar]
|
|
||||||
a = "calendar_local"
|
|
||||||
b = "calendar_remote"
|
|
||||||
collections = ["from a", "from b"]
|
|
||||||
|
|
||||||
[pair band_calendar]
|
|
||||||
a = "band_calendar_local"
|
|
||||||
b = "band_calendar_remote"
|
|
||||||
collections = null
|
|
||||||
|
|
||||||
[pair pco_calendar]
|
|
||||||
a = "pco_local"
|
|
||||||
b = "pco_remote"
|
|
||||||
collections = null
|
|
||||||
|
|
||||||
[pair school_calendar]
|
|
||||||
a = "school_local"
|
|
||||||
b = "school_remote"
|
|
||||||
collections = null
|
|
||||||
|
|
||||||
[storage contacts_local]
|
|
||||||
type = "filesystem"
|
|
||||||
path = "~/vdir/people/main"
|
|
||||||
fileext = ".vcf"
|
|
||||||
|
|
||||||
[storage calendar_local]
|
|
||||||
type = "filesystem"
|
|
||||||
path = "~/vdir/calendar/personal"
|
|
||||||
fileext = ".ics"
|
|
||||||
|
|
||||||
[storage band_calendar_local]
|
|
||||||
type = "filesystem"
|
|
||||||
path = "~/vdir/calendar/band"
|
|
||||||
fileext = ".ics"
|
|
||||||
|
|
||||||
[storage pco_local]
|
|
||||||
type = "filesystem"
|
|
||||||
path = "~/vdir/calendar/pco"
|
|
||||||
fileext = ".ics"
|
|
||||||
|
|
||||||
[storage school_local]
|
|
||||||
type = "filesystem"
|
|
||||||
path = "~/vdir/calendar/school"
|
|
||||||
fileext = ".ics"
|
|
||||||
|
|
||||||
[storage contacts_remote]
|
|
||||||
type = "carddav"
|
|
||||||
|
|
||||||
url = "https://radicale.beepboop.systems/ryan/20cda0dd-5922-4905-8956-859c989a6519/"
|
|
||||||
username = "ryan"
|
|
||||||
password.fetch = ["command", "rbw", "get", "radicale"]
|
|
||||||
|
|
||||||
[storage band_calendar_remote]
|
|
||||||
type = "http"
|
|
||||||
url = "https://calendar.google.com/calendar/ical/i6bong6iferbcuf1u25jg47t7k%40group.calendar.google.com/public/basic.ics"
|
|
||||||
|
|
||||||
[storage pco_remote]
|
|
||||||
type = "http"
|
|
||||||
|
|
||||||
url.fetch = ["command", "rbw", "get", "pco-ical-sync"]
|
|
||||||
|
|
||||||
[storage school_remote]
|
|
||||||
type = "http"
|
|
||||||
|
|
||||||
url.fetch = ["command", "rbw", "get", "school-ical-sync"]
|
|
||||||
[storage calendar_remote]
|
|
||||||
type = "caldav"
|
|
||||||
|
|
||||||
url = "https://radicale.beepboop.systems/ryan/edfbeaf1-e9f3-4d94-a512-40cdafdbc7a0/"
|
|
||||||
username = "ryan"
|
|
||||||
password.fetch = ["command", "rbw", "get", "radicale"]
|
|
|
@ -1,300 +0,0 @@
|
||||||
# XScreenSaver Preferences File
|
|
||||||
# Written by xscreensaver-settings 6.08 for usr on Sat Aug 31 19:23:22 2024.
|
|
||||||
# https://www.jwz.org/xscreensaver/
|
|
||||||
|
|
||||||
timeout: 0:10:00
|
|
||||||
cycle: 0:10:00
|
|
||||||
lock: False
|
|
||||||
lockTimeout: 0:00:00
|
|
||||||
passwdTimeout: 0:00:30
|
|
||||||
visualID: default
|
|
||||||
installColormap: True
|
|
||||||
verbose: False
|
|
||||||
splash: True
|
|
||||||
splashDuration: 0:00:05
|
|
||||||
demoCommand: xscreensaver-settings
|
|
||||||
nice: 10
|
|
||||||
fade: True
|
|
||||||
unfade: True
|
|
||||||
fadeSeconds: 0:00:03
|
|
||||||
ignoreUninstalledPrograms:False
|
|
||||||
dpmsEnabled: False
|
|
||||||
dpmsQuickOff: False
|
|
||||||
dpmsStandby: 2:00:00
|
|
||||||
dpmsSuspend: 2:00:00
|
|
||||||
dpmsOff: 4:00:00
|
|
||||||
grabDesktopImages: True
|
|
||||||
grabVideoFrames: False
|
|
||||||
chooseRandomImages: False
|
|
||||||
imageDirectory:
|
|
||||||
|
|
||||||
mode: one
|
|
||||||
selected: 24
|
|
||||||
|
|
||||||
textMode: url
|
|
||||||
textLiteral: XScreenSaver
|
|
||||||
textFile:
|
|
||||||
textProgram: fortune
|
|
||||||
textURL: https://en.wikipedia.org/w/index.php?title=Special:NewPages&feed=rss
|
|
||||||
dialogTheme: default
|
|
||||||
settingsGeom: 761,550 0,0
|
|
||||||
|
|
||||||
programs: \
|
|
||||||
maze --root \n\
|
|
||||||
GL: superquadrics --root \n\
|
|
||||||
attraction --root \n\
|
|
||||||
blitspin --root \n\
|
|
||||||
greynetic --root \n\
|
|
||||||
helix --root \n\
|
|
||||||
hopalong --root \n\
|
|
||||||
imsmap --root \n\
|
|
||||||
- noseguy --root \n\
|
|
||||||
- pyro --root \n\
|
|
||||||
qix --root \n\
|
|
||||||
- rocks --root \n\
|
|
||||||
rorschach --root \n\
|
|
||||||
decayscreen --root \n\
|
|
||||||
flame --root \n\
|
|
||||||
halo --root \n\
|
|
||||||
slidescreen --root \n\
|
|
||||||
pedal --root \n\
|
|
||||||
bouboule --root \n\
|
|
||||||
- braid --root \n\
|
|
||||||
coral --root \n\
|
|
||||||
deco --root \n\
|
|
||||||
drift --root \n\
|
|
||||||
- fadeplot --root \n\
|
|
||||||
galaxy --root --delay 82787 --ncolors 143 \
|
|
||||||
--no-spin \n\
|
|
||||||
goop --root \n\
|
|
||||||
grav --root \n\
|
|
||||||
ifs --root \n\
|
|
||||||
GL: jigsaw --root \n\
|
|
||||||
julia --root \n\
|
|
||||||
- kaleidescope --root \n\
|
|
||||||
GL: moebius --root \n\
|
|
||||||
moire --root \n\
|
|
||||||
GL: morph3d --root \n\
|
|
||||||
mountain --root \n\
|
|
||||||
munch --root \n\
|
|
||||||
penrose --root \n\
|
|
||||||
GL: pipes --root \n\
|
|
||||||
rdbomb --root \n\
|
|
||||||
GL: rubik --root \n\
|
|
||||||
- sierpinski --root \n\
|
|
||||||
slip --root \n\
|
|
||||||
GL: sproingies --root \n\
|
|
||||||
starfish --root \n\
|
|
||||||
strange --root \n\
|
|
||||||
swirl --root \n\
|
|
||||||
triangle --root \n\
|
|
||||||
xjack --root \n\
|
|
||||||
xlyap --root \n\
|
|
||||||
GL: atlantis --root \n\
|
|
||||||
bsod --root \n\
|
|
||||||
GL: bubble3d --root \n\
|
|
||||||
GL: cage --root \n\
|
|
||||||
- crystal --root \n\
|
|
||||||
cynosure --root \n\
|
|
||||||
discrete --root \n\
|
|
||||||
distort --root \n\
|
|
||||||
epicycle --root \n\
|
|
||||||
flow --root \n\
|
|
||||||
GL: glplanet --root \n\
|
|
||||||
interference --root \n\
|
|
||||||
kumppa --root \n\
|
|
||||||
GL: lament --root \n\
|
|
||||||
moire2 --root \n\
|
|
||||||
GL: sonar --root \n\
|
|
||||||
GL: stairs --root \n\
|
|
||||||
truchet --root \n\
|
|
||||||
- vidwhacker --root \n\
|
|
||||||
- webcollage --root \n\
|
|
||||||
blaster --root \n\
|
|
||||||
bumps --root \n\
|
|
||||||
ccurve --root \n\
|
|
||||||
compass --root \n\
|
|
||||||
deluxe --root \n\
|
|
||||||
- demon --root \n\
|
|
||||||
GL: extrusion --root \n\
|
|
||||||
- loop --root \n\
|
|
||||||
penetrate --root \n\
|
|
||||||
petri --root \n\
|
|
||||||
phosphor --root \n\
|
|
||||||
GL: pulsar --root \n\
|
|
||||||
ripples --root \n\
|
|
||||||
shadebobs --root \n\
|
|
||||||
GL: sierpinski3d --root \n\
|
|
||||||
spotlight --root \n\
|
|
||||||
squiral --root \n\
|
|
||||||
wander --root \n\
|
|
||||||
xflame --root \n\
|
|
||||||
xmatrix --root \n\
|
|
||||||
GL: gflux --root \n\
|
|
||||||
- nerverot --root \n\
|
|
||||||
xrayswarm --root \n\
|
|
||||||
xspirograph --root \n\
|
|
||||||
GL: circuit --root \n\
|
|
||||||
GL: dangerball --root \n\
|
|
||||||
- GL: dnalogo --root \n\
|
|
||||||
GL: engine --root \n\
|
|
||||||
GL: flipscreen3d --root \n\
|
|
||||||
GL: gltext --root \n\
|
|
||||||
GL: menger --root \n\
|
|
||||||
GL: molecule --root \n\
|
|
||||||
rotzoomer --root \n\
|
|
||||||
scooter --root \n\
|
|
||||||
speedmine --root \n\
|
|
||||||
GL: starwars --root \n\
|
|
||||||
GL: stonerview --root \n\
|
|
||||||
vermiculate --root \n\
|
|
||||||
whirlwindwarp --root \n\
|
|
||||||
zoom --root \n\
|
|
||||||
anemone --root \n\
|
|
||||||
apollonian --root \n\
|
|
||||||
GL: boxed --root \n\
|
|
||||||
GL: cubenetic --root \n\
|
|
||||||
GL: endgame --root \n\
|
|
||||||
euler2d --root \n\
|
|
||||||
fluidballs --root \n\
|
|
||||||
GL: flurry --root \n\
|
|
||||||
- GL: glblur --root \n\
|
|
||||||
GL: glsnake --root \n\
|
|
||||||
halftone --root \n\
|
|
||||||
GL: juggler3d --root \n\
|
|
||||||
GL: lavalite --root \n\
|
|
||||||
- polyominoes --root \n\
|
|
||||||
GL: queens --root \n\
|
|
||||||
- GL: sballs --root \n\
|
|
||||||
GL: spheremonics --root \n\
|
|
||||||
twang --root \n\
|
|
||||||
- GL: antspotlight --root \n\
|
|
||||||
apple2 --root \n\
|
|
||||||
GL: atunnel --root \n\
|
|
||||||
barcode --root \n\
|
|
||||||
GL: blinkbox --root \n\
|
|
||||||
GL: blocktube --root \n\
|
|
||||||
GL: bouncingcow --root \n\
|
|
||||||
cloudlife --root \n\
|
|
||||||
GL: cubestorm --root \n\
|
|
||||||
eruption --root \n\
|
|
||||||
GL: flipflop --root \n\
|
|
||||||
GL: flyingtoasters --root \n\
|
|
||||||
fontglide --root \n\
|
|
||||||
GL: gleidescope --root \n\
|
|
||||||
GL: glknots --root \n\
|
|
||||||
GL: glmatrix --root \n\
|
|
||||||
- GL: glslideshow --root \n\
|
|
||||||
GL: hypertorus --root \n\
|
|
||||||
- GL: jigglypuff --root \n\
|
|
||||||
metaballs --root \n\
|
|
||||||
GL: mirrorblob --root \n\
|
|
||||||
piecewise --root \n\
|
|
||||||
GL: polytopes --root \n\
|
|
||||||
pong --root \n\
|
|
||||||
popsquares --root \n\
|
|
||||||
GL: surfaces --root \n\
|
|
||||||
xanalogtv --root \n\
|
|
||||||
abstractile --root \n\
|
|
||||||
anemotaxis --root \n\
|
|
||||||
- GL: antinspect --root \n\
|
|
||||||
fireworkx --root \n\
|
|
||||||
fuzzyflakes --root \n\
|
|
||||||
interaggregate --root \n\
|
|
||||||
intermomentary --root \n\
|
|
||||||
memscroller --root \n\
|
|
||||||
GL: noof --root \n\
|
|
||||||
pacman --root \n\
|
|
||||||
GL: pinion --root \n\
|
|
||||||
GL: polyhedra --root \n\
|
|
||||||
- GL: providence --root \n\
|
|
||||||
substrate --root \n\
|
|
||||||
wormhole --root \n\
|
|
||||||
- GL: antmaze --root \n\
|
|
||||||
GL: boing --root \n\
|
|
||||||
boxfit --root \n\
|
|
||||||
GL: carousel --root \n\
|
|
||||||
celtic --root \n\
|
|
||||||
GL: crackberg --root \n\
|
|
||||||
GL: cube21 --root \n\
|
|
||||||
fiberlamp --root \n\
|
|
||||||
GL: fliptext --root \n\
|
|
||||||
GL: glhanoi --root \n\
|
|
||||||
GL: tangram --root \n\
|
|
||||||
GL: timetunnel --root \n\
|
|
||||||
GL: glschool --root \n\
|
|
||||||
GL: topblock --root \n\
|
|
||||||
GL: cubicgrid --root \n\
|
|
||||||
cwaves --root \n\
|
|
||||||
GL: gears --root \n\
|
|
||||||
GL: glcells --root \n\
|
|
||||||
GL: lockward --root \n\
|
|
||||||
m6502 --root \n\
|
|
||||||
GL: moebiusgears --root \n\
|
|
||||||
GL: voronoi --root \n\
|
|
||||||
GL: hypnowheel --root \n\
|
|
||||||
GL: klein --root \n\
|
|
||||||
- lcdscrub --root \n\
|
|
||||||
GL: photopile --root \n\
|
|
||||||
GL: skytentacles --root \n\
|
|
||||||
GL: rubikblocks --root \n\
|
|
||||||
GL: companioncube --root \n\
|
|
||||||
GL: hilbert --root \n\
|
|
||||||
GL: tronbit --root \n\
|
|
||||||
GL: geodesic --root \n\
|
|
||||||
hexadrop --root \n\
|
|
||||||
GL: kaleidocycle --root \n\
|
|
||||||
GL: quasicrystal --root \n\
|
|
||||||
GL: unknownpleasures --root \n\
|
|
||||||
binaryring --root \n\
|
|
||||||
GL: cityflow --root \n\
|
|
||||||
GL: geodesicgears --root \n\
|
|
||||||
GL: projectiveplane --root \n\
|
|
||||||
GL: romanboy --root \n\
|
|
||||||
tessellimage --root \n\
|
|
||||||
GL: winduprobot --root \n\
|
|
||||||
GL: splitflap --root \n\
|
|
||||||
GL: cubestack --root \n\
|
|
||||||
GL: cubetwist --root \n\
|
|
||||||
GL: discoball --root \n\
|
|
||||||
GL: dymaxionmap --root \n\
|
|
||||||
GL: energystream --root \n\
|
|
||||||
GL: hexstrut --root \n\
|
|
||||||
GL: hydrostat --root \n\
|
|
||||||
GL: raverhoop --root \n\
|
|
||||||
GL: splodesic --root \n\
|
|
||||||
GL: unicrud --root \n\
|
|
||||||
GL: esper --root \n\
|
|
||||||
GL: vigilance --root \n\
|
|
||||||
GL: crumbler --root \n\
|
|
||||||
filmleader --root \n\
|
|
||||||
glitchpeg --root \n\
|
|
||||||
GL: handsy --root \n\
|
|
||||||
GL: maze3d --root \n\
|
|
||||||
GL: peepers --root \n\
|
|
||||||
GL: razzledazzle --root \n\
|
|
||||||
vfeedback --root \n\
|
|
||||||
GL: deepstars --root \n\
|
|
||||||
GL: gravitywell --root \n\
|
|
||||||
GL: beats --root \n\
|
|
||||||
GL: covid19 --root \n\
|
|
||||||
GL: etruscanvenus --root \n\
|
|
||||||
GL: gibson --root \n\
|
|
||||||
GL: headroom --root \n\
|
|
||||||
GL: sphereeversion --root \n\
|
|
||||||
binaryhorizon --root \n\
|
|
||||||
marbling --root \n\
|
|
||||||
GL: chompytower --root \n\
|
|
||||||
GL: hextrail --root \n\
|
|
||||||
GL: mapscroller --root \n\
|
|
||||||
GL: nakagin --root \n\
|
|
||||||
GL: squirtorus --root \n\
|
|
||||||
GL: cubocteversion --root \n\
|
|
||||||
droste --root \n\
|
|
||||||
GL: papercube --root \n\
|
|
||||||
GL: skulloop --root \n\
|
|
||||||
|
|
||||||
|
|
||||||
pointerHysteresis: 10
|
|
||||||
authWarningSlack: 20
|
|
||||||
|
|
|
@ -1,59 +0,0 @@
|
||||||
set adjust-open "best-fit"
|
|
||||||
set pages-per-row 1
|
|
||||||
set selection-clipboard clipboard
|
|
||||||
|
|
||||||
set scroll-page-aware "true"
|
|
||||||
set zoom-min 10
|
|
||||||
|
|
||||||
set font "Fantasque Sans Mono 11"
|
|
||||||
|
|
||||||
" set show-scrollbars "false"
|
|
||||||
set database "plain"
|
|
||||||
set dbus-service "false"
|
|
||||||
set filemonitor "glib"
|
|
||||||
set synctex "false"
|
|
||||||
|
|
||||||
map ; feedkeys :
|
|
||||||
|
|
||||||
# themes
|
|
||||||
|
|
||||||
set recolor "true"
|
|
||||||
set recolor-reverse-video "true"
|
|
||||||
set recolor-lightcolor "#161510"
|
|
||||||
set recolor-darkcolor "#ccbc8e"
|
|
||||||
|
|
||||||
set completion-bg "#161510"
|
|
||||||
set completion-fg "#ccbc8e"
|
|
||||||
set completion-group-bg "#161510"
|
|
||||||
set completion-group-fg "#ccbc8e"
|
|
||||||
set completion-highlight-bg "#ccbc8e"
|
|
||||||
set completion-highlight-fg "#161510"
|
|
||||||
|
|
||||||
set default-bg "#161510"
|
|
||||||
set default-fg "#ccbc8e"
|
|
||||||
set inputbar-bg "#161510"
|
|
||||||
set inputbar-fg "#ccbc8e"
|
|
||||||
set statusbar-bg "#161510"
|
|
||||||
set statusbar-fg "#ccbc8e"
|
|
||||||
set index-bg "#161510"
|
|
||||||
set index-fg "#ccbc8e"
|
|
||||||
set index-active-bg "#ccbc8e"
|
|
||||||
set index-active-fg "#161510"
|
|
||||||
" set tabbar-bg "#161510"
|
|
||||||
" set tabbar-fg "#ccbc8e"
|
|
||||||
" set tabbar-focus-bg "#ccbc8e"
|
|
||||||
" set tabbar-focus-fg "#161510"
|
|
||||||
|
|
||||||
set notification-bg "#161510"
|
|
||||||
set notification-fg "#ccbc8e"
|
|
||||||
set notification-warning-bg "#161510"
|
|
||||||
set notification-warning-fg "#cc9528"
|
|
||||||
set notification-error-bg "#161510"
|
|
||||||
set notification-error-fg "#cc3214"
|
|
||||||
|
|
||||||
set highlight-color "#a37720"
|
|
||||||
set highlight-active-color "#727a18"
|
|
||||||
set highlight-transparency 0.25
|
|
||||||
|
|
||||||
set render-loading-bg "#161510"
|
|
||||||
set render-loading-fg "#ccbc8e"
|
|
|
@ -1,2 +1,10 @@
|
||||||
.environment
|
*.swp
|
||||||
.firefox_env
|
*.tmp
|
||||||
|
c/scream
|
||||||
|
c/xgetnewwindow
|
||||||
|
c/timer
|
||||||
|
c/boid
|
||||||
|
c/a.out
|
||||||
|
c/anaconda
|
||||||
|
c/colors
|
||||||
|
c/tmessage
|
||||||
|
|
4
.mailmap
4
.mailmap
|
@ -1,4 +0,0 @@
|
||||||
stupidcomputer <ryan@beepboop.systems> <randomuser@tilde.club>
|
|
||||||
stupidcomputer <ryan@beepboop.systems>
|
|
||||||
stupidcomputer <ryan@beepboop.systems> <rndusr@beepboop.systems>
|
|
||||||
stupidcomputer <ryan@beepboop.systems> <Unixsys@github.com>
|
|
|
@ -0,0 +1 @@
|
||||||
|
test
|
619
LICENSE
619
LICENSE
|
@ -1,619 +0,0 @@
|
||||||
GNU GENERAL PUBLIC LICENSE
|
|
||||||
Version 3, 29 June 2007
|
|
||||||
|
|
||||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
|
||||||
of this license document, but changing it is not allowed.
|
|
||||||
|
|
||||||
Preamble
|
|
||||||
|
|
||||||
The GNU General Public License is a free, copyleft license for
|
|
||||||
software and other kinds of works.
|
|
||||||
|
|
||||||
The licenses for most software and other practical works are designed
|
|
||||||
to take away your freedom to share and change the works. By contrast,
|
|
||||||
the GNU General Public License is intended to guarantee your freedom to
|
|
||||||
share and change all versions of a program--to make sure it remains free
|
|
||||||
software for all its users. We, the Free Software Foundation, use the
|
|
||||||
GNU General Public License for most of our software; it applies also to
|
|
||||||
any other work released this way by its authors. You can apply it to
|
|
||||||
your programs, too.
|
|
||||||
|
|
||||||
When we speak of free software, we are referring to freedom, not
|
|
||||||
price. Our General Public Licenses are designed to make sure that you
|
|
||||||
have the freedom to distribute copies of free software (and charge for
|
|
||||||
them if you wish), that you receive source code or can get it if you
|
|
||||||
want it, that you can change the software or use pieces of it in new
|
|
||||||
free programs, and that you know you can do these things.
|
|
||||||
|
|
||||||
To protect your rights, we need to prevent others from denying you
|
|
||||||
these rights or asking you to surrender the rights. Therefore, you have
|
|
||||||
certain responsibilities if you distribute copies of the software, or if
|
|
||||||
you modify it: responsibilities to respect the freedom of others.
|
|
||||||
|
|
||||||
For example, if you distribute copies of such a program, whether
|
|
||||||
gratis or for a fee, you must pass on to the recipients the same
|
|
||||||
freedoms that you received. You must make sure that they, too, receive
|
|
||||||
or can get the source code. And you must show them these terms so they
|
|
||||||
know their rights.
|
|
||||||
|
|
||||||
Developers that use the GNU GPL protect your rights with two steps:
|
|
||||||
(1) assert copyright on the software, and (2) offer you this License
|
|
||||||
giving you legal permission to copy, distribute and/or modify it.
|
|
||||||
|
|
||||||
For the developers' and authors' protection, the GPL clearly explains
|
|
||||||
that there is no warranty for this free software. For both users' and
|
|
||||||
authors' sake, the GPL requires that modified versions be marked as
|
|
||||||
changed, so that their problems will not be attributed erroneously to
|
|
||||||
authors of previous versions.
|
|
||||||
|
|
||||||
Some devices are designed to deny users access to install or run
|
|
||||||
modified versions of the software inside them, although the manufacturer
|
|
||||||
can do so. This is fundamentally incompatible with the aim of
|
|
||||||
protecting users' freedom to change the software. The systematic
|
|
||||||
pattern of such abuse occurs in the area of products for individuals to
|
|
||||||
use, which is precisely where it is most unacceptable. Therefore, we
|
|
||||||
have designed this version of the GPL to prohibit the practice for those
|
|
||||||
products. If such problems arise substantially in other domains, we
|
|
||||||
stand ready to extend this provision to those domains in future versions
|
|
||||||
of the GPL, as needed to protect the freedom of users.
|
|
||||||
|
|
||||||
Finally, every program is threatened constantly by software patents.
|
|
||||||
States should not allow patents to restrict development and use of
|
|
||||||
software on general-purpose computers, but in those that do, we wish to
|
|
||||||
avoid the special danger that patents applied to a free program could
|
|
||||||
make it effectively proprietary. To prevent this, the GPL assures that
|
|
||||||
patents cannot be used to render the program non-free.
|
|
||||||
|
|
||||||
The precise terms and conditions for copying, distribution and
|
|
||||||
modification follow.
|
|
||||||
|
|
||||||
TERMS AND CONDITIONS
|
|
||||||
|
|
||||||
0. Definitions.
|
|
||||||
|
|
||||||
"This License" refers to version 3 of the GNU General Public License.
|
|
||||||
|
|
||||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
|
||||||
works, such as semiconductor masks.
|
|
||||||
|
|
||||||
"The Program" refers to any copyrightable work licensed under this
|
|
||||||
License. Each licensee is addressed as "you". "Licensees" and
|
|
||||||
"recipients" may be individuals or organizations.
|
|
||||||
|
|
||||||
To "modify" a work means to copy from or adapt all or part of the work
|
|
||||||
in a fashion requiring copyright permission, other than the making of an
|
|
||||||
exact copy. The resulting work is called a "modified version" of the
|
|
||||||
earlier work or a work "based on" the earlier work.
|
|
||||||
|
|
||||||
A "covered work" means either the unmodified Program or a work based
|
|
||||||
on the Program.
|
|
||||||
|
|
||||||
To "propagate" a work means to do anything with it that, without
|
|
||||||
permission, would make you directly or secondarily liable for
|
|
||||||
infringement under applicable copyright law, except executing it on a
|
|
||||||
computer or modifying a private copy. Propagation includes copying,
|
|
||||||
distribution (with or without modification), making available to the
|
|
||||||
public, and in some countries other activities as well.
|
|
||||||
|
|
||||||
To "convey" a work means any kind of propagation that enables other
|
|
||||||
parties to make or receive copies. Mere interaction with a user through
|
|
||||||
a computer network, with no transfer of a copy, is not conveying.
|
|
||||||
|
|
||||||
An interactive user interface displays "Appropriate Legal Notices"
|
|
||||||
to the extent that it includes a convenient and prominently visible
|
|
||||||
feature that (1) displays an appropriate copyright notice, and (2)
|
|
||||||
tells the user that there is no warranty for the work (except to the
|
|
||||||
extent that warranties are provided), that licensees may convey the
|
|
||||||
work under this License, and how to view a copy of this License. If
|
|
||||||
the interface presents a list of user commands or options, such as a
|
|
||||||
menu, a prominent item in the list meets this criterion.
|
|
||||||
|
|
||||||
1. Source Code.
|
|
||||||
|
|
||||||
The "source code" for a work means the preferred form of the work
|
|
||||||
for making modifications to it. "Object code" means any non-source
|
|
||||||
form of a work.
|
|
||||||
|
|
||||||
A "Standard Interface" means an interface that either is an official
|
|
||||||
standard defined by a recognized standards body, or, in the case of
|
|
||||||
interfaces specified for a particular programming language, one that
|
|
||||||
is widely used among developers working in that language.
|
|
||||||
|
|
||||||
The "System Libraries" of an executable work include anything, other
|
|
||||||
than the work as a whole, that (a) is included in the normal form of
|
|
||||||
packaging a Major Component, but which is not part of that Major
|
|
||||||
Component, and (b) serves only to enable use of the work with that
|
|
||||||
Major Component, or to implement a Standard Interface for which an
|
|
||||||
implementation is available to the public in source code form. A
|
|
||||||
"Major Component", in this context, means a major essential component
|
|
||||||
(kernel, window system, and so on) of the specific operating system
|
|
||||||
(if any) on which the executable work runs, or a compiler used to
|
|
||||||
produce the work, or an object code interpreter used to run it.
|
|
||||||
|
|
||||||
The "Corresponding Source" for a work in object code form means all
|
|
||||||
the source code needed to generate, install, and (for an executable
|
|
||||||
work) run the object code and to modify the work, including scripts to
|
|
||||||
control those activities. However, it does not include the work's
|
|
||||||
System Libraries, or general-purpose tools or generally available free
|
|
||||||
programs which are used unmodified in performing those activities but
|
|
||||||
which are not part of the work. For example, Corresponding Source
|
|
||||||
includes interface definition files associated with source files for
|
|
||||||
the work, and the source code for shared libraries and dynamically
|
|
||||||
linked subprograms that the work is specifically designed to require,
|
|
||||||
such as by intimate data communication or control flow between those
|
|
||||||
subprograms and other parts of the work.
|
|
||||||
|
|
||||||
The Corresponding Source need not include anything that users
|
|
||||||
can regenerate automatically from other parts of the Corresponding
|
|
||||||
Source.
|
|
||||||
|
|
||||||
The Corresponding Source for a work in source code form is that
|
|
||||||
same work.
|
|
||||||
|
|
||||||
2. Basic Permissions.
|
|
||||||
|
|
||||||
All rights granted under this License are granted for the term of
|
|
||||||
copyright on the Program, and are irrevocable provided the stated
|
|
||||||
conditions are met. This License explicitly affirms your unlimited
|
|
||||||
permission to run the unmodified Program. The output from running a
|
|
||||||
covered work is covered by this License only if the output, given its
|
|
||||||
content, constitutes a covered work. This License acknowledges your
|
|
||||||
rights of fair use or other equivalent, as provided by copyright law.
|
|
||||||
|
|
||||||
You may make, run and propagate covered works that you do not
|
|
||||||
convey, without conditions so long as your license otherwise remains
|
|
||||||
in force. You may convey covered works to others for the sole purpose
|
|
||||||
of having them make modifications exclusively for you, or provide you
|
|
||||||
with facilities for running those works, provided that you comply with
|
|
||||||
the terms of this License in conveying all material for which you do
|
|
||||||
not control copyright. Those thus making or running the covered works
|
|
||||||
for you must do so exclusively on your behalf, under your direction
|
|
||||||
and control, on terms that prohibit them from making any copies of
|
|
||||||
your copyrighted material outside their relationship with you.
|
|
||||||
|
|
||||||
Conveying under any other circumstances is permitted solely under
|
|
||||||
the conditions stated below. Sublicensing is not allowed; section 10
|
|
||||||
makes it unnecessary.
|
|
||||||
|
|
||||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
|
||||||
|
|
||||||
No covered work shall be deemed part of an effective technological
|
|
||||||
measure under any applicable law fulfilling obligations under article
|
|
||||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
|
||||||
similar laws prohibiting or restricting circumvention of such
|
|
||||||
measures.
|
|
||||||
|
|
||||||
When you convey a covered work, you waive any legal power to forbid
|
|
||||||
circumvention of technological measures to the extent such circumvention
|
|
||||||
is effected by exercising rights under this License with respect to
|
|
||||||
the covered work, and you disclaim any intention to limit operation or
|
|
||||||
modification of the work as a means of enforcing, against the work's
|
|
||||||
users, your or third parties' legal rights to forbid circumvention of
|
|
||||||
technological measures.
|
|
||||||
|
|
||||||
4. Conveying Verbatim Copies.
|
|
||||||
|
|
||||||
You may convey verbatim copies of the Program's source code as you
|
|
||||||
receive it, in any medium, provided that you conspicuously and
|
|
||||||
appropriately publish on each copy an appropriate copyright notice;
|
|
||||||
keep intact all notices stating that this License and any
|
|
||||||
non-permissive terms added in accord with section 7 apply to the code;
|
|
||||||
keep intact all notices of the absence of any warranty; and give all
|
|
||||||
recipients a copy of this License along with the Program.
|
|
||||||
|
|
||||||
You may charge any price or no price for each copy that you convey,
|
|
||||||
and you may offer support or warranty protection for a fee.
|
|
||||||
|
|
||||||
5. Conveying Modified Source Versions.
|
|
||||||
|
|
||||||
You may convey a work based on the Program, or the modifications to
|
|
||||||
produce it from the Program, in the form of source code under the
|
|
||||||
terms of section 4, provided that you also meet all of these conditions:
|
|
||||||
|
|
||||||
a) The work must carry prominent notices stating that you modified
|
|
||||||
it, and giving a relevant date.
|
|
||||||
|
|
||||||
b) The work must carry prominent notices stating that it is
|
|
||||||
released under this License and any conditions added under section
|
|
||||||
7. This requirement modifies the requirement in section 4 to
|
|
||||||
"keep intact all notices".
|
|
||||||
|
|
||||||
c) You must license the entire work, as a whole, under this
|
|
||||||
License to anyone who comes into possession of a copy. This
|
|
||||||
License will therefore apply, along with any applicable section 7
|
|
||||||
additional terms, to the whole of the work, and all its parts,
|
|
||||||
regardless of how they are packaged. This License gives no
|
|
||||||
permission to license the work in any other way, but it does not
|
|
||||||
invalidate such permission if you have separately received it.
|
|
||||||
|
|
||||||
d) If the work has interactive user interfaces, each must display
|
|
||||||
Appropriate Legal Notices; however, if the Program has interactive
|
|
||||||
interfaces that do not display Appropriate Legal Notices, your
|
|
||||||
work need not make them do so.
|
|
||||||
|
|
||||||
A compilation of a covered work with other separate and independent
|
|
||||||
works, which are not by their nature extensions of the covered work,
|
|
||||||
and which are not combined with it such as to form a larger program,
|
|
||||||
in or on a volume of a storage or distribution medium, is called an
|
|
||||||
"aggregate" if the compilation and its resulting copyright are not
|
|
||||||
used to limit the access or legal rights of the compilation's users
|
|
||||||
beyond what the individual works permit. Inclusion of a covered work
|
|
||||||
in an aggregate does not cause this License to apply to the other
|
|
||||||
parts of the aggregate.
|
|
||||||
|
|
||||||
6. Conveying Non-Source Forms.
|
|
||||||
|
|
||||||
You may convey a covered work in object code form under the terms
|
|
||||||
of sections 4 and 5, provided that you also convey the
|
|
||||||
machine-readable Corresponding Source under the terms of this License,
|
|
||||||
in one of these ways:
|
|
||||||
|
|
||||||
a) Convey the object code in, or embodied in, a physical product
|
|
||||||
(including a physical distribution medium), accompanied by the
|
|
||||||
Corresponding Source fixed on a durable physical medium
|
|
||||||
customarily used for software interchange.
|
|
||||||
|
|
||||||
b) Convey the object code in, or embodied in, a physical product
|
|
||||||
(including a physical distribution medium), accompanied by a
|
|
||||||
written offer, valid for at least three years and valid for as
|
|
||||||
long as you offer spare parts or customer support for that product
|
|
||||||
model, to give anyone who possesses the object code either (1) a
|
|
||||||
copy of the Corresponding Source for all the software in the
|
|
||||||
product that is covered by this License, on a durable physical
|
|
||||||
medium customarily used for software interchange, for a price no
|
|
||||||
more than your reasonable cost of physically performing this
|
|
||||||
conveying of source, or (2) access to copy the
|
|
||||||
Corresponding Source from a network server at no charge.
|
|
||||||
|
|
||||||
c) Convey individual copies of the object code with a copy of the
|
|
||||||
written offer to provide the Corresponding Source. This
|
|
||||||
alternative is allowed only occasionally and noncommercially, and
|
|
||||||
only if you received the object code with such an offer, in accord
|
|
||||||
with subsection 6b.
|
|
||||||
|
|
||||||
d) Convey the object code by offering access from a designated
|
|
||||||
place (gratis or for a charge), and offer equivalent access to the
|
|
||||||
Corresponding Source in the same way through the same place at no
|
|
||||||
further charge. You need not require recipients to copy the
|
|
||||||
Corresponding Source along with the object code. If the place to
|
|
||||||
copy the object code is a network server, the Corresponding Source
|
|
||||||
may be on a different server (operated by you or a third party)
|
|
||||||
that supports equivalent copying facilities, provided you maintain
|
|
||||||
clear directions next to the object code saying where to find the
|
|
||||||
Corresponding Source. Regardless of what server hosts the
|
|
||||||
Corresponding Source, you remain obligated to ensure that it is
|
|
||||||
available for as long as needed to satisfy these requirements.
|
|
||||||
|
|
||||||
e) Convey the object code using peer-to-peer transmission, provided
|
|
||||||
you inform other peers where the object code and Corresponding
|
|
||||||
Source of the work are being offered to the general public at no
|
|
||||||
charge under subsection 6d.
|
|
||||||
|
|
||||||
A separable portion of the object code, whose source code is excluded
|
|
||||||
from the Corresponding Source as a System Library, need not be
|
|
||||||
included in conveying the object code work.
|
|
||||||
|
|
||||||
A "User Product" is either (1) a "consumer product", which means any
|
|
||||||
tangible personal property which is normally used for personal, family,
|
|
||||||
or household purposes, or (2) anything designed or sold for incorporation
|
|
||||||
into a dwelling. In determining whether a product is a consumer product,
|
|
||||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
|
||||||
product received by a particular user, "normally used" refers to a
|
|
||||||
typical or common use of that class of product, regardless of the status
|
|
||||||
of the particular user or of the way in which the particular user
|
|
||||||
actually uses, or expects or is expected to use, the product. A product
|
|
||||||
is a consumer product regardless of whether the product has substantial
|
|
||||||
commercial, industrial or non-consumer uses, unless such uses represent
|
|
||||||
the only significant mode of use of the product.
|
|
||||||
|
|
||||||
"Installation Information" for a User Product means any methods,
|
|
||||||
procedures, authorization keys, or other information required to install
|
|
||||||
and execute modified versions of a covered work in that User Product from
|
|
||||||
a modified version of its Corresponding Source. The information must
|
|
||||||
suffice to ensure that the continued functioning of the modified object
|
|
||||||
code is in no case prevented or interfered with solely because
|
|
||||||
modification has been made.
|
|
||||||
|
|
||||||
If you convey an object code work under this section in, or with, or
|
|
||||||
specifically for use in, a User Product, and the conveying occurs as
|
|
||||||
part of a transaction in which the right of possession and use of the
|
|
||||||
User Product is transferred to the recipient in perpetuity or for a
|
|
||||||
fixed term (regardless of how the transaction is characterized), the
|
|
||||||
Corresponding Source conveyed under this section must be accompanied
|
|
||||||
by the Installation Information. But this requirement does not apply
|
|
||||||
if neither you nor any third party retains the ability to install
|
|
||||||
modified object code on the User Product (for example, the work has
|
|
||||||
been installed in ROM).
|
|
||||||
|
|
||||||
The requirement to provide Installation Information does not include a
|
|
||||||
requirement to continue to provide support service, warranty, or updates
|
|
||||||
for a work that has been modified or installed by the recipient, or for
|
|
||||||
the User Product in which it has been modified or installed. Access to a
|
|
||||||
network may be denied when the modification itself materially and
|
|
||||||
adversely affects the operation of the network or violates the rules and
|
|
||||||
protocols for communication across the network.
|
|
||||||
|
|
||||||
Corresponding Source conveyed, and Installation Information provided,
|
|
||||||
in accord with this section must be in a format that is publicly
|
|
||||||
documented (and with an implementation available to the public in
|
|
||||||
source code form), and must require no special password or key for
|
|
||||||
unpacking, reading or copying.
|
|
||||||
|
|
||||||
7. Additional Terms.
|
|
||||||
|
|
||||||
"Additional permissions" are terms that supplement the terms of this
|
|
||||||
License by making exceptions from one or more of its conditions.
|
|
||||||
Additional permissions that are applicable to the entire Program shall
|
|
||||||
be treated as though they were included in this License, to the extent
|
|
||||||
that they are valid under applicable law. If additional permissions
|
|
||||||
apply only to part of the Program, that part may be used separately
|
|
||||||
under those permissions, but the entire Program remains governed by
|
|
||||||
this License without regard to the additional permissions.
|
|
||||||
|
|
||||||
When you convey a copy of a covered work, you may at your option
|
|
||||||
remove any additional permissions from that copy, or from any part of
|
|
||||||
it. (Additional permissions may be written to require their own
|
|
||||||
removal in certain cases when you modify the work.) You may place
|
|
||||||
additional permissions on material, added by you to a covered work,
|
|
||||||
for which you have or can give appropriate copyright permission.
|
|
||||||
|
|
||||||
Notwithstanding any other provision of this License, for material you
|
|
||||||
add to a covered work, you may (if authorized by the copyright holders of
|
|
||||||
that material) supplement the terms of this License with terms:
|
|
||||||
|
|
||||||
a) Disclaiming warranty or limiting liability differently from the
|
|
||||||
terms of sections 15 and 16 of this License; or
|
|
||||||
|
|
||||||
b) Requiring preservation of specified reasonable legal notices or
|
|
||||||
author attributions in that material or in the Appropriate Legal
|
|
||||||
Notices displayed by works containing it; or
|
|
||||||
|
|
||||||
c) Prohibiting misrepresentation of the origin of that material, or
|
|
||||||
requiring that modified versions of such material be marked in
|
|
||||||
reasonable ways as different from the original version; or
|
|
||||||
|
|
||||||
d) Limiting the use for publicity purposes of names of licensors or
|
|
||||||
authors of the material; or
|
|
||||||
|
|
||||||
e) Declining to grant rights under trademark law for use of some
|
|
||||||
trade names, trademarks, or service marks; or
|
|
||||||
|
|
||||||
f) Requiring indemnification of licensors and authors of that
|
|
||||||
material by anyone who conveys the material (or modified versions of
|
|
||||||
it) with contractual assumptions of liability to the recipient, for
|
|
||||||
any liability that these contractual assumptions directly impose on
|
|
||||||
those licensors and authors.
|
|
||||||
|
|
||||||
All other non-permissive additional terms are considered "further
|
|
||||||
restrictions" within the meaning of section 10. If the Program as you
|
|
||||||
received it, or any part of it, contains a notice stating that it is
|
|
||||||
governed by this License along with a term that is a further
|
|
||||||
restriction, you may remove that term. If a license document contains
|
|
||||||
a further restriction but permits relicensing or conveying under this
|
|
||||||
License, you may add to a covered work material governed by the terms
|
|
||||||
of that license document, provided that the further restriction does
|
|
||||||
not survive such relicensing or conveying.
|
|
||||||
|
|
||||||
If you add terms to a covered work in accord with this section, you
|
|
||||||
must place, in the relevant source files, a statement of the
|
|
||||||
additional terms that apply to those files, or a notice indicating
|
|
||||||
where to find the applicable terms.
|
|
||||||
|
|
||||||
Additional terms, permissive or non-permissive, may be stated in the
|
|
||||||
form of a separately written license, or stated as exceptions;
|
|
||||||
the above requirements apply either way.
|
|
||||||
|
|
||||||
8. Termination.
|
|
||||||
|
|
||||||
You may not propagate or modify a covered work except as expressly
|
|
||||||
provided under this License. Any attempt otherwise to propagate or
|
|
||||||
modify it is void, and will automatically terminate your rights under
|
|
||||||
this License (including any patent licenses granted under the third
|
|
||||||
paragraph of section 11).
|
|
||||||
|
|
||||||
However, if you cease all violation of this License, then your
|
|
||||||
license from a particular copyright holder is reinstated (a)
|
|
||||||
provisionally, unless and until the copyright holder explicitly and
|
|
||||||
finally terminates your license, and (b) permanently, if the copyright
|
|
||||||
holder fails to notify you of the violation by some reasonable means
|
|
||||||
prior to 60 days after the cessation.
|
|
||||||
|
|
||||||
Moreover, your license from a particular copyright holder is
|
|
||||||
reinstated permanently if the copyright holder notifies you of the
|
|
||||||
violation by some reasonable means, this is the first time you have
|
|
||||||
received notice of violation of this License (for any work) from that
|
|
||||||
copyright holder, and you cure the violation prior to 30 days after
|
|
||||||
your receipt of the notice.
|
|
||||||
|
|
||||||
Termination of your rights under this section does not terminate the
|
|
||||||
licenses of parties who have received copies or rights from you under
|
|
||||||
this License. If your rights have been terminated and not permanently
|
|
||||||
reinstated, you do not qualify to receive new licenses for the same
|
|
||||||
material under section 10.
|
|
||||||
|
|
||||||
9. Acceptance Not Required for Having Copies.
|
|
||||||
|
|
||||||
You are not required to accept this License in order to receive or
|
|
||||||
run a copy of the Program. Ancillary propagation of a covered work
|
|
||||||
occurring solely as a consequence of using peer-to-peer transmission
|
|
||||||
to receive a copy likewise does not require acceptance. However,
|
|
||||||
nothing other than this License grants you permission to propagate or
|
|
||||||
modify any covered work. These actions infringe copyright if you do
|
|
||||||
not accept this License. Therefore, by modifying or propagating a
|
|
||||||
covered work, you indicate your acceptance of this License to do so.
|
|
||||||
|
|
||||||
10. Automatic Licensing of Downstream Recipients.
|
|
||||||
|
|
||||||
Each time you convey a covered work, the recipient automatically
|
|
||||||
receives a license from the original licensors, to run, modify and
|
|
||||||
propagate that work, subject to this License. You are not responsible
|
|
||||||
for enforcing compliance by third parties with this License.
|
|
||||||
|
|
||||||
An "entity transaction" is a transaction transferring control of an
|
|
||||||
organization, or substantially all assets of one, or subdividing an
|
|
||||||
organization, or merging organizations. If propagation of a covered
|
|
||||||
work results from an entity transaction, each party to that
|
|
||||||
transaction who receives a copy of the work also receives whatever
|
|
||||||
licenses to the work the party's predecessor in interest had or could
|
|
||||||
give under the previous paragraph, plus a right to possession of the
|
|
||||||
Corresponding Source of the work from the predecessor in interest, if
|
|
||||||
the predecessor has it or can get it with reasonable efforts.
|
|
||||||
|
|
||||||
You may not impose any further restrictions on the exercise of the
|
|
||||||
rights granted or affirmed under this License. For example, you may
|
|
||||||
not impose a license fee, royalty, or other charge for exercise of
|
|
||||||
rights granted under this License, and you may not initiate litigation
|
|
||||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
|
||||||
any patent claim is infringed by making, using, selling, offering for
|
|
||||||
sale, or importing the Program or any portion of it.
|
|
||||||
|
|
||||||
11. Patents.
|
|
||||||
|
|
||||||
A "contributor" is a copyright holder who authorizes use under this
|
|
||||||
License of the Program or a work on which the Program is based. The
|
|
||||||
work thus licensed is called the contributor's "contributor version".
|
|
||||||
|
|
||||||
A contributor's "essential patent claims" are all patent claims
|
|
||||||
owned or controlled by the contributor, whether already acquired or
|
|
||||||
hereafter acquired, that would be infringed by some manner, permitted
|
|
||||||
by this License, of making, using, or selling its contributor version,
|
|
||||||
but do not include claims that would be infringed only as a
|
|
||||||
consequence of further modification of the contributor version. For
|
|
||||||
purposes of this definition, "control" includes the right to grant
|
|
||||||
patent sublicenses in a manner consistent with the requirements of
|
|
||||||
this License.
|
|
||||||
|
|
||||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
|
||||||
patent license under the contributor's essential patent claims, to
|
|
||||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
|
||||||
propagate the contents of its contributor version.
|
|
||||||
|
|
||||||
In the following three paragraphs, a "patent license" is any express
|
|
||||||
agreement or commitment, however denominated, not to enforce a patent
|
|
||||||
(such as an express permission to practice a patent or covenant not to
|
|
||||||
sue for patent infringement). To "grant" such a patent license to a
|
|
||||||
party means to make such an agreement or commitment not to enforce a
|
|
||||||
patent against the party.
|
|
||||||
|
|
||||||
If you convey a covered work, knowingly relying on a patent license,
|
|
||||||
and the Corresponding Source of the work is not available for anyone
|
|
||||||
to copy, free of charge and under the terms of this License, through a
|
|
||||||
publicly available network server or other readily accessible means,
|
|
||||||
then you must either (1) cause the Corresponding Source to be so
|
|
||||||
available, or (2) arrange to deprive yourself of the benefit of the
|
|
||||||
patent license for this particular work, or (3) arrange, in a manner
|
|
||||||
consistent with the requirements of this License, to extend the patent
|
|
||||||
license to downstream recipients. "Knowingly relying" means you have
|
|
||||||
actual knowledge that, but for the patent license, your conveying the
|
|
||||||
covered work in a country, or your recipient's use of the covered work
|
|
||||||
in a country, would infringe one or more identifiable patents in that
|
|
||||||
country that you have reason to believe are valid.
|
|
||||||
|
|
||||||
If, pursuant to or in connection with a single transaction or
|
|
||||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
|
||||||
covered work, and grant a patent license to some of the parties
|
|
||||||
receiving the covered work authorizing them to use, propagate, modify
|
|
||||||
or convey a specific copy of the covered work, then the patent license
|
|
||||||
you grant is automatically extended to all recipients of the covered
|
|
||||||
work and works based on it.
|
|
||||||
|
|
||||||
A patent license is "discriminatory" if it does not include within
|
|
||||||
the scope of its coverage, prohibits the exercise of, or is
|
|
||||||
conditioned on the non-exercise of one or more of the rights that are
|
|
||||||
specifically granted under this License. You may not convey a covered
|
|
||||||
work if you are a party to an arrangement with a third party that is
|
|
||||||
in the business of distributing software, under which you make payment
|
|
||||||
to the third party based on the extent of your activity of conveying
|
|
||||||
the work, and under which the third party grants, to any of the
|
|
||||||
parties who would receive the covered work from you, a discriminatory
|
|
||||||
patent license (a) in connection with copies of the covered work
|
|
||||||
conveyed by you (or copies made from those copies), or (b) primarily
|
|
||||||
for and in connection with specific products or compilations that
|
|
||||||
contain the covered work, unless you entered into that arrangement,
|
|
||||||
or that patent license was granted, prior to 28 March 2007.
|
|
||||||
|
|
||||||
Nothing in this License shall be construed as excluding or limiting
|
|
||||||
any implied license or other defenses to infringement that may
|
|
||||||
otherwise be available to you under applicable patent law.
|
|
||||||
|
|
||||||
12. No Surrender of Others' Freedom.
|
|
||||||
|
|
||||||
If conditions are imposed on you (whether by court order, agreement or
|
|
||||||
otherwise) that contradict the conditions of this License, they do not
|
|
||||||
excuse you from the conditions of this License. If you cannot convey a
|
|
||||||
covered work so as to satisfy simultaneously your obligations under this
|
|
||||||
License and any other pertinent obligations, then as a consequence you may
|
|
||||||
not convey it at all. For example, if you agree to terms that obligate you
|
|
||||||
to collect a royalty for further conveying from those to whom you convey
|
|
||||||
the Program, the only way you could satisfy both those terms and this
|
|
||||||
License would be to refrain entirely from conveying the Program.
|
|
||||||
|
|
||||||
13. Use with the GNU Affero General Public License.
|
|
||||||
|
|
||||||
Notwithstanding any other provision of this License, you have
|
|
||||||
permission to link or combine any covered work with a work licensed
|
|
||||||
under version 3 of the GNU Affero General Public License into a single
|
|
||||||
combined work, and to convey the resulting work. The terms of this
|
|
||||||
License will continue to apply to the part which is the covered work,
|
|
||||||
but the special requirements of the GNU Affero General Public License,
|
|
||||||
section 13, concerning interaction through a network will apply to the
|
|
||||||
combination as such.
|
|
||||||
|
|
||||||
14. Revised Versions of this License.
|
|
||||||
|
|
||||||
The Free Software Foundation may publish revised and/or new versions of
|
|
||||||
the GNU General Public License from time to time. Such new versions will
|
|
||||||
be similar in spirit to the present version, but may differ in detail to
|
|
||||||
address new problems or concerns.
|
|
||||||
|
|
||||||
Each version is given a distinguishing version number. If the
|
|
||||||
Program specifies that a certain numbered version of the GNU General
|
|
||||||
Public License "or any later version" applies to it, you have the
|
|
||||||
option of following the terms and conditions either of that numbered
|
|
||||||
version or of any later version published by the Free Software
|
|
||||||
Foundation. If the Program does not specify a version number of the
|
|
||||||
GNU General Public License, you may choose any version ever published
|
|
||||||
by the Free Software Foundation.
|
|
||||||
|
|
||||||
If the Program specifies that a proxy can decide which future
|
|
||||||
versions of the GNU General Public License can be used, that proxy's
|
|
||||||
public statement of acceptance of a version permanently authorizes you
|
|
||||||
to choose that version for the Program.
|
|
||||||
|
|
||||||
Later license versions may give you additional or different
|
|
||||||
permissions. However, no additional obligations are imposed on any
|
|
||||||
author or copyright holder as a result of your choosing to follow a
|
|
||||||
later version.
|
|
||||||
|
|
||||||
15. Disclaimer of Warranty.
|
|
||||||
|
|
||||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
|
||||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
|
||||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
|
||||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
|
||||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
||||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
|
||||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
|
||||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
|
||||||
|
|
||||||
16. Limitation of Liability.
|
|
||||||
|
|
||||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
|
||||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
|
||||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
|
||||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
|
||||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
|
||||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
|
||||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
|
||||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
|
||||||
SUCH DAMAGES.
|
|
||||||
|
|
||||||
17. Interpretation of Sections 15 and 16.
|
|
||||||
|
|
||||||
If the disclaimer of warranty and limitation of liability provided
|
|
||||||
above cannot be given local legal effect according to their terms,
|
|
||||||
reviewing courts shall apply local law that most closely approximates
|
|
||||||
an absolute waiver of all civil liability in connection with the
|
|
||||||
Program, unless a warranty or assumption of liability accompanies a
|
|
||||||
copy of the Program in return for a fee.
|
|
41
README.md
41
README.md
|
@ -1,41 +0,0 @@
|
||||||
randomuser's dotfiles
|
|
||||||
=====================
|
|
||||||
|
|
||||||
![an image of the desktop while editing this repo's flake.nix](./demo.png)
|
|
||||||
|
|
||||||
features
|
|
||||||
--------
|
|
||||||
|
|
||||||
- `bspwm` + `sxhkd` + `st` + `firefox`
|
|
||||||
- most everything on the desktop save for the browser, media viewers, and desktop background, is a terminal
|
|
||||||
- on the server, runs gitea + simple-nixos-mailserver
|
|
||||||
- built with NixOS flakes
|
|
||||||
|
|
||||||
installation
|
|
||||||
------------
|
|
||||||
|
|
||||||
`sudo nixos-rebuild --flake .#your-flake-name-here switch`
|
|
||||||
|
|
||||||
if you're trying to install `netbox`, then use the `--impure` flag:
|
|
||||||
|
|
||||||
`sudo nixos-rebuild --flake .#netbox switch --impure`
|
|
||||||
|
|
||||||
for installation onto Termux, run `make`.
|
|
||||||
|
|
||||||
things to do
|
|
||||||
------------
|
|
||||||
|
|
||||||
- integrate `disko` and `sops-nix` into the setup
|
|
||||||
- establish backup infrastructure for `netbox`
|
|
||||||
- move gmail-mail-bridge into mail-sync repo
|
|
||||||
* (perhaps figure out how to produce a flake for it)
|
|
||||||
|
|
||||||
license
|
|
||||||
-------
|
|
||||||
|
|
||||||
all materials in this repository, except for:
|
|
||||||
|
|
||||||
* `./home/wallpapers/pape.jpg`, which is of unknown license, and
|
|
||||||
* `./builds/st`, which is licensed under MIT, persuant to `./builds/st/LICENSE`,
|
|
||||||
|
|
||||||
is (c) rndusr, randomuser, stupidcomputer, etc 2024 and licensed under the GPLv3 (see `./LICENSE`)
|
|
|
@ -1,58 +0,0 @@
|
||||||
{ lib, config, pkgs, ...}:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./hardware-configuration.nix
|
|
||||||
../../modules/bootstrap.nix
|
|
||||||
../../modules/common.nix
|
|
||||||
../../modules/x11.nix
|
|
||||||
../../modules/pulse.nix
|
|
||||||
../../modules/hosts.nix
|
|
||||||
../../modules/tlp.nix
|
|
||||||
../../modules/media.nix
|
|
||||||
../../modules/anki.nix
|
|
||||||
../../modules/power-control.nix
|
|
||||||
../../modules/adb.nix
|
|
||||||
../../modules/rbw.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
xscreensaver
|
|
||||||
texliveFull
|
|
||||||
libreoffice
|
|
||||||
|
|
||||||
ecryptfs
|
|
||||||
ffmpeg
|
|
||||||
thunderbird
|
|
||||||
ledger
|
|
||||||
ranger
|
|
||||||
];
|
|
||||||
|
|
||||||
hardware.bluetooth = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
services.printing.enable = true;
|
|
||||||
services.avahi = {
|
|
||||||
enable = true;
|
|
||||||
nssmdns4 = true;
|
|
||||||
openFirewall = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
users.users.usr.extraGroups = [ "input" ];
|
|
||||||
|
|
||||||
services.getty.autologinUser = "usr";
|
|
||||||
|
|
||||||
boot.loader = {
|
|
||||||
systemd-boot.enable = true;
|
|
||||||
efi.canTouchEfiVariables = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
hardware.pulseaudio.enable = true;
|
|
||||||
|
|
||||||
networking.hostName = "aristotle";
|
|
||||||
|
|
||||||
powerManagement.cpuFreqGovernor = "powersave";
|
|
||||||
|
|
||||||
system.stateVersion = "24.05";
|
|
||||||
}
|
|
|
@ -1,39 +0,0 @@
|
||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
|
||||||
# and may be overwritten by future invocations. Please make changes
|
|
||||||
# to /etc/nixos/configuration.nix instead.
|
|
||||||
{ config, lib, pkgs, modulesPath, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports =
|
|
||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
|
||||||
];
|
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
|
||||||
boot.initrd.kernelModules = [ ];
|
|
||||||
boot.kernelModules = [ ];
|
|
||||||
boot.extraModulePackages = [ ];
|
|
||||||
|
|
||||||
fileSystems."/" =
|
|
||||||
{ device = "/dev/disk/by-uuid/bcae81bd-95d9-457f-8694-709f887cf2e2";
|
|
||||||
fsType = "ext4";
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/boot" =
|
|
||||||
{ device = "/dev/disk/by-uuid/CAEA-2672";
|
|
||||||
fsType = "vfat";
|
|
||||||
options = [ "fmask=0077" "dmask=0077" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
swapDevices = [ ];
|
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
|
||||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
|
||||||
# still possible to use this option, but it's recommended to use it in conjunction
|
|
||||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
|
||||||
networking.useDHCP = lib.mkDefault true;
|
|
||||||
# networking.interfaces.enp0s31f6.useDHCP = lib.mkDefault true;
|
|
||||||
# networking.interfaces.wlp4s0.useDHCP = lib.mkDefault true;
|
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
||||||
}
|
|
|
@ -1,10 +0,0 @@
|
||||||
{ lib, inputs, config, pkgs, home, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
../../home/x11.nix
|
|
||||||
../../home/chromium
|
|
||||||
];
|
|
||||||
|
|
||||||
home.stateVersion = "24.05";
|
|
||||||
}
|
|
|
@ -1,6 +0,0 @@
|
||||||
Git.Git
|
|
||||||
CollegeBoard.Bluebook
|
|
||||||
AutoHotKey.AutoHotKey
|
|
||||||
Brave.Brave
|
|
||||||
Google.Chrome.EXE
|
|
||||||
Bitwarden.Bitwarden
|
|
|
@ -1,142 +0,0 @@
|
||||||
{ lib, config, pkgs, ...}:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./hardware-configuration.nix
|
|
||||||
./nvidia.nix
|
|
||||||
./services
|
|
||||||
../x230t/special-ssh-magic.nix
|
|
||||||
../../modules/ssh-phone-home.nix
|
|
||||||
../../modules/hosts.nix
|
|
||||||
../../modules/bootstrap.nix
|
|
||||||
../../modules/common.nix
|
|
||||||
../../modules/x11.nix
|
|
||||||
../../modules/rbw.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
virtualisation.docker.enable = true;
|
|
||||||
|
|
||||||
users.users.usr.extraGroups = [
|
|
||||||
"docker"
|
|
||||||
"adbusers"
|
|
||||||
];
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
wine
|
|
||||||
xdotool
|
|
||||||
|
|
||||||
qemu
|
|
||||||
virt-manager
|
|
||||||
libreoffice
|
|
||||||
nomacs
|
|
||||||
vscodium
|
|
||||||
thunderbird
|
|
||||||
libreoffice
|
|
||||||
texliveMedium
|
|
||||||
kdePackages.kdenlive
|
|
||||||
audacity
|
|
||||||
bespokesynth
|
|
||||||
puddletag
|
|
||||||
musescore
|
|
||||||
unzip
|
|
||||||
ledger
|
|
||||||
|
|
||||||
unzip
|
|
||||||
imagemagick
|
|
||||||
pciutils
|
|
||||||
usbutils
|
|
||||||
pwvucontrol
|
|
||||||
|
|
||||||
dunst
|
|
||||||
libnotify
|
|
||||||
ffmpeg
|
|
||||||
mdadm
|
|
||||||
git-annex
|
|
||||||
tigervnc
|
|
||||||
|
|
||||||
(pkgs.callPackage ../../builds/archutils.nix {})
|
|
||||||
(pkgs.callPackage ../../builds/sssg.nix {})
|
|
||||||
];
|
|
||||||
|
|
||||||
services.hardware.bolt.enable = true; # thunderbolt support
|
|
||||||
hardware.bluetooth = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
General = {
|
|
||||||
AutoEnable = true;
|
|
||||||
Enable = "Source,Sink,Media,Socket";
|
|
||||||
ControllerMode = "bredr";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
virtualisation.virtualbox.host.enable = true;
|
|
||||||
|
|
||||||
boot.loader = {
|
|
||||||
efi = {
|
|
||||||
canTouchEfiVariables = true;
|
|
||||||
efiSysMountPoint = "/boot";
|
|
||||||
};
|
|
||||||
grub = {
|
|
||||||
efiSupport = true;
|
|
||||||
device = "nodev";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
services = {
|
|
||||||
# enable printing
|
|
||||||
printing.enable = true;
|
|
||||||
avahi = {
|
|
||||||
enable = true; # runs the Avahi daemon
|
|
||||||
nssmdns4 = true; # enables the mDNS NSS plug-in
|
|
||||||
openFirewall = true; # opens the firewall for UDP port 5353
|
|
||||||
};
|
|
||||||
|
|
||||||
pipewire = {
|
|
||||||
enable = true;
|
|
||||||
alsa = {
|
|
||||||
enable = true;
|
|
||||||
support32Bit = true;
|
|
||||||
};
|
|
||||||
pulse.enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
programs.adb.enable = true;
|
|
||||||
|
|
||||||
powerManagement.cpuFreqGovernor = "performance";
|
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
|
||||||
networking = {
|
|
||||||
hostName = "copernicus";
|
|
||||||
firewall = {
|
|
||||||
enable = true;
|
|
||||||
interfaces = {
|
|
||||||
eno1 = {
|
|
||||||
allowedTCPPorts = [ 6000 ];
|
|
||||||
allowedTCPPortRanges = [
|
|
||||||
{ from = 1714; to = 1764; } # KDE Connect
|
|
||||||
{ from = 10000; to = 10100; } # temp stuff
|
|
||||||
];
|
|
||||||
allowedUDPPortRanges = [
|
|
||||||
{ from = 1714; to = 1764; } # KDE Connect
|
|
||||||
];
|
|
||||||
};
|
|
||||||
wg0 = {
|
|
||||||
# allow everything bound to the wg0 interface
|
|
||||||
allowedTCPPortRanges = [
|
|
||||||
{ from = 1; to = 35565; }
|
|
||||||
];
|
|
||||||
allowedUDPPortRanges = [
|
|
||||||
{ from = 1; to = 35565; }
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.kdeconnect.enable = true;
|
|
||||||
|
|
||||||
system.stateVersion = "24.05"; # don't change this, lol
|
|
||||||
}
|
|
|
@ -1,40 +0,0 @@
|
||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
|
||||||
# and may be overwritten by future invocations. Please make changes
|
|
||||||
# to /etc/nixos/configuration.nix instead.
|
|
||||||
{ config, lib, pkgs, modulesPath, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports =
|
|
||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
|
||||||
];
|
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "vmd" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
|
||||||
boot.initrd.kernelModules = [ ];
|
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
|
||||||
boot.extraModulePackages = [ ];
|
|
||||||
|
|
||||||
fileSystems."/" =
|
|
||||||
{ device = "/dev/disk/by-uuid/8182bde6-7213-4108-9dbf-951f76870207";
|
|
||||||
fsType = "ext4";
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/boot" =
|
|
||||||
{ device = "/dev/disk/by-uuid/0D21-265A";
|
|
||||||
fsType = "vfat";
|
|
||||||
options = [ "fmask=0022" "dmask=0022" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
swapDevices =
|
|
||||||
[ { device = "/dev/disk/by-uuid/fc5366cc-2cec-415e-85dd-7c01a4e4fb4f"; }
|
|
||||||
];
|
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
|
||||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
|
||||||
# still possible to use this option, but it's recommended to use it in conjunction
|
|
||||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
|
||||||
networking.useDHCP = lib.mkDefault true;
|
|
||||||
# networking.interfaces.eno1.useDHCP = lib.mkDefault true;
|
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
||||||
}
|
|
|
@ -1,10 +0,0 @@
|
||||||
{ lib, inputs, config, pkgs, home, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
../../home/x11.nix
|
|
||||||
../../home/chromium
|
|
||||||
];
|
|
||||||
|
|
||||||
home.stateVersion = "23.11";
|
|
||||||
}
|
|
|
@ -1,39 +0,0 @@
|
||||||
{ config, lib, pkgs, ... }:
|
|
||||||
{
|
|
||||||
# Make sure opengl is enabled
|
|
||||||
hardware.opengl = {
|
|
||||||
enable = true;
|
|
||||||
driSupport = true;
|
|
||||||
driSupport32Bit = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
glxinfo
|
|
||||||
];
|
|
||||||
|
|
||||||
# Tell Xorg to use the nvidia driver (also valid for Wayland)
|
|
||||||
services.xserver.videoDrivers = ["nvidia"];
|
|
||||||
|
|
||||||
hardware.nvidia = {
|
|
||||||
|
|
||||||
# Modesetting is needed for most Wayland compositors
|
|
||||||
modesetting.enable = true;
|
|
||||||
|
|
||||||
# Use the open source version of the kernel module
|
|
||||||
# Only available on driver 515.43.04+
|
|
||||||
open = false;
|
|
||||||
|
|
||||||
# Enable the nvidia settings menu
|
|
||||||
nvidiaSettings = true;
|
|
||||||
|
|
||||||
# Optionally, you may need to select the appropriate driver version for your specific GPU.
|
|
||||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
|
||||||
|
|
||||||
prime = {
|
|
||||||
sync.enable = true;
|
|
||||||
|
|
||||||
intelBusId = "PCI:0:2:0";
|
|
||||||
nvidiaBusId = "PCI:1:0:0";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,10 +0,0 @@
|
||||||
{ lib, config, pkgs, ...}:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./wireguard.nix
|
|
||||||
./grafana.nix
|
|
||||||
./nextcloud.nix
|
|
||||||
./paperless.nix
|
|
||||||
];
|
|
||||||
}
|
|
|
@ -1,44 +0,0 @@
|
||||||
{ lib, config, pkgs, ...}:
|
|
||||||
|
|
||||||
{
|
|
||||||
services.grafana = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
server = {
|
|
||||||
http_addr = "10.100.0.2";
|
|
||||||
http_port = 9802;
|
|
||||||
domain = "grafana.beepboop.systems";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
services.prometheus = {
|
|
||||||
enable = true;
|
|
||||||
listenAddress = "10.100.0.2";
|
|
||||||
port = 9001;
|
|
||||||
|
|
||||||
exporters = {
|
|
||||||
node = {
|
|
||||||
enable = true;
|
|
||||||
enabledCollectors = [ "systemd" ];
|
|
||||||
listenAddress = "10.100.0.2";
|
|
||||||
port = 9002;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
scrapeConfigs = [
|
|
||||||
{
|
|
||||||
job_name = "copernicus";
|
|
||||||
static_configs = [{
|
|
||||||
targets = [ "10.100.0.2:9002" ];
|
|
||||||
}];
|
|
||||||
}
|
|
||||||
{
|
|
||||||
job_name = "netbox";
|
|
||||||
static_configs = [{
|
|
||||||
targets = [ "10.100.0.1:9002" ];
|
|
||||||
}];
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,25 +0,0 @@
|
||||||
{ lib, config, pkgs, ...}:
|
|
||||||
|
|
||||||
{
|
|
||||||
services.nextcloud = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.nextcloud30;
|
|
||||||
hostName = "nextcloud.beepboop.systems";
|
|
||||||
config.adminpassFile = "/etc/nextcloud-admin";
|
|
||||||
settings.overwriteprotocol = "https";
|
|
||||||
extraApps = {
|
|
||||||
inherit (config.services.nextcloud.package.packages.apps) contacts calendar tasks;
|
|
||||||
phonetrack = pkgs.fetchNextcloudApp {
|
|
||||||
sha256 = "sha256-V92f+FiS5vZEkq15A51pHoDpUOBfUOEVIcsXdP/rSMQ=";
|
|
||||||
license = "agpl3Only";
|
|
||||||
url = "https://github.com/julien-nc/phonetrack/releases/download/v0.8.1/phonetrack-0.8.1.tar.gz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
extraAppsEnable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
services.nginx.virtualHosts."${config.services.nextcloud.hostName}".listen = [ {
|
|
||||||
addr = "10.100.0.2";
|
|
||||||
port = 5028;
|
|
||||||
} ];
|
|
||||||
}
|
|
|
@ -1,10 +0,0 @@
|
||||||
{ lib, config, pkgs, ...}:
|
|
||||||
|
|
||||||
{
|
|
||||||
services.paperless = {
|
|
||||||
enable = true;
|
|
||||||
passwordFile = "/home/usr/wg-keys/paperless";
|
|
||||||
address = "10.100.0.2";
|
|
||||||
port = 6230;
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,16 +0,0 @@
|
||||||
{ lib, config, pkgs, ...}:
|
|
||||||
|
|
||||||
{
|
|
||||||
services.photoprism = {
|
|
||||||
enable = true;
|
|
||||||
originalsPath = "/var/lib/photoprism/originals";
|
|
||||||
address = "10.100.0.2";
|
|
||||||
settings = {
|
|
||||||
PHOTOPRISM_ADMIN_USER = "usr";
|
|
||||||
PHOTOPRISM_ADMIN_PASSWORD = "testing"; # THIS IS AN INITIAL PASSWORD -- changed later
|
|
||||||
PHOTOPRISM_SITE_TITLE = "photos.beepboop.systems";
|
|
||||||
PHOTOPRISM_SITE_URL = "https://photos.beepboop.systems";
|
|
||||||
PHOTOPRISM_DEFAULT_LOCALE = "en";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,24 +0,0 @@
|
||||||
{ lib, config, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
networking = {
|
|
||||||
firewall.allowedUDPPorts = [ 50000 ];
|
|
||||||
|
|
||||||
wireguard.interfaces = {
|
|
||||||
wg0 = {
|
|
||||||
ips = [ "10.100.0.2/24" ];
|
|
||||||
listenPort = 50000;
|
|
||||||
|
|
||||||
privateKeyFile = "/home/usr/wg-keys/private";
|
|
||||||
peers = [
|
|
||||||
{ # netbox
|
|
||||||
publicKey = "0fOqAfsYO4HvshMPnlkKL7Z1RChq98hjDr0Q8o7OJFE=";
|
|
||||||
allowedIPs = [ "10.100.0.0/24" ]; # only stuff in the wg-subnet (10.100.0.*)
|
|
||||||
endpoint = "149.28.63.115:50000";
|
|
||||||
persistentKeepalive = 25;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,82 +0,0 @@
|
||||||
{ lib, config, pkgs, ...}:
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./hardware-configuration.nix
|
|
||||||
../../modules/ssh-phone-home.nix
|
|
||||||
../../modules/bootstrap.nix
|
|
||||||
../../modules/hosts.nix
|
|
||||||
../../modules/common.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
# nix optimization
|
|
||||||
nix.optimise = {
|
|
||||||
automatic = true;
|
|
||||||
dates = [ "03:45" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
boot.loader.grub.enable = true;
|
|
||||||
boot.loader.grub.device = "/dev/sda";
|
|
||||||
|
|
||||||
networking.hostName = "mainsail";
|
|
||||||
|
|
||||||
services.getty.greetingLine = "
|
|
||||||
welcome to mainsail |`-:_
|
|
||||||
,----....____ | `+.
|
|
||||||
( ````----....|___ |
|
|
||||||
\\ _ ````----....____
|
|
||||||
\\ _) ```---.._
|
|
||||||
\\ \\
|
|
||||||
)`.\\ )`. )`. )`. )`. )`. )`. )`. )`. )`. )`.
|
|
||||||
-' `-' `-' `-' `-' `-' `-' `-' `-' `-' `-' `
|
|
||||||
";
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
neovim
|
|
||||||
git
|
|
||||||
curl
|
|
||||||
];
|
|
||||||
|
|
||||||
services.home-assistant = {
|
|
||||||
enable = true;
|
|
||||||
extraComponents = [
|
|
||||||
# Components required to complete the onboarding
|
|
||||||
"netgear"
|
|
||||||
"hue"
|
|
||||||
"nest"
|
|
||||||
"esphome"
|
|
||||||
"met"
|
|
||||||
"radio_browser"
|
|
||||||
];
|
|
||||||
config = {
|
|
||||||
# Includes dependencies for a basic setup
|
|
||||||
# https://www.home-assistant.io/integrations/default_config/
|
|
||||||
default_config = {};
|
|
||||||
};
|
|
||||||
openFirewall = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
services.openssh = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
PermitRootLogin = "no";
|
|
||||||
PasswordAuthentication = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
services.ssh-phone-home = {
|
|
||||||
enable = true;
|
|
||||||
localUser = "usr";
|
|
||||||
remoteHostname = "beepboop.systems";
|
|
||||||
remotePort = 443;
|
|
||||||
remoteUser = "ryan";
|
|
||||||
bindPort = 55554;
|
|
||||||
};
|
|
||||||
|
|
||||||
users.users.usr.openssh.authorizedKeys.keys = [
|
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKbhM3wj0oqjR3pUaZgpfX4Xo4dlzvBTbQ48zHyg7Pwx usr" # x230t
|
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB2xUbQw9+RCPVw7qCFm4NNCP/MpS2BIArcwMv0KdKOI usr" # mlg
|
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHZw5bg0TrvSkW/XQa4c+2iLbIKOxfMGbjy5Nb3HSfBv usr" # phone
|
|
||||||
];
|
|
||||||
|
|
||||||
system.stateVersion = "23.11";
|
|
||||||
}
|
|
|
@ -1,32 +0,0 @@
|
||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
|
||||||
# and may be overwritten by future invocations. Please make changes
|
|
||||||
# to /etc/nixos/configuration.nix instead.
|
|
||||||
{ config, lib, pkgs, modulesPath, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports =
|
|
||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
|
||||||
];
|
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usbhid" "usb_storage" "ums_realtek" "sd_mod" ];
|
|
||||||
boot.initrd.kernelModules = [ ];
|
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
|
||||||
boot.extraModulePackages = [ ];
|
|
||||||
|
|
||||||
fileSystems."/" =
|
|
||||||
{ device = "/dev/disk/by-uuid/948aeaf8-cb7e-4f85-ae3e-1bc6a25ec156";
|
|
||||||
fsType = "ext4";
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/boot" =
|
|
||||||
{ device = "/dev/disk/by-uuid/617cb1ae-a788-429a-b0d4-63d46d8a4e1b";
|
|
||||||
fsType = "ext4";
|
|
||||||
};
|
|
||||||
|
|
||||||
swapDevices =
|
|
||||||
[ { device = "/dev/disk/by-uuid/d82ae76c-68f4-4e70-9162-5dab5f84375b"; }
|
|
||||||
];
|
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
||||||
}
|
|
|
@ -1,98 +0,0 @@
|
||||||
{ lib, config, pkgs, ...}:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./hardware-configuration.nix
|
|
||||||
./nvidia.nix
|
|
||||||
../../modules/ssh-phone-home.nix
|
|
||||||
../../modules/hosts.nix
|
|
||||||
../../modules/bootstrap.nix
|
|
||||||
../../modules/common.nix
|
|
||||||
../../modules/x11.nix
|
|
||||||
../../modules/pulse.nix
|
|
||||||
../../modules/discord.nix
|
|
||||||
# ../../modules/gaming.nix
|
|
||||||
../../modules/rbw.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
virtualisation.docker.enable = true;
|
|
||||||
|
|
||||||
|
|
||||||
users.users.usr.extraGroups = [
|
|
||||||
"docker"
|
|
||||||
];
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
wine
|
|
||||||
xdotool
|
|
||||||
|
|
||||||
qemu
|
|
||||||
virt-manager
|
|
||||||
libreoffice
|
|
||||||
nomacs
|
|
||||||
vscodium
|
|
||||||
thunderbird
|
|
||||||
libreoffice
|
|
||||||
texliveMedium
|
|
||||||
ledger
|
|
||||||
git-annex
|
|
||||||
];
|
|
||||||
|
|
||||||
services.hardware.bolt.enable = true; # thunderbolt support
|
|
||||||
hardware.bluetooth = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
General = {
|
|
||||||
Enable = "Source,Sink,Media,Socket";
|
|
||||||
ControllerMode = "bredr";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
services.openssh.enable = true;
|
|
||||||
services.ssh-phone-home = {
|
|
||||||
enable = true;
|
|
||||||
localUser = "usr";
|
|
||||||
remoteHostname = "mainsail";
|
|
||||||
remotePort = 22;
|
|
||||||
remoteUser = "usr";
|
|
||||||
bindPort = 2222;
|
|
||||||
};
|
|
||||||
|
|
||||||
boot.loader = {
|
|
||||||
efi = {
|
|
||||||
canTouchEfiVariables = true;
|
|
||||||
efiSysMountPoint = "/boot";
|
|
||||||
};
|
|
||||||
grub = {
|
|
||||||
efiSupport = true;
|
|
||||||
device = "nodev";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
services.printing.enable = true;
|
|
||||||
services.avahi.enable = true; # runs the Avahi daemon
|
|
||||||
services.avahi.nssmdns4 = true; # enables the mDNS NSS plug-in
|
|
||||||
services.avahi.openFirewall = true; # opens the firewall for UDP port 5353
|
|
||||||
|
|
||||||
powerManagement.cpuFreqGovernor = "performance";
|
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
|
||||||
networking = {
|
|
||||||
hostName = "mlg";
|
|
||||||
firewall = {
|
|
||||||
enable = true;
|
|
||||||
allowedTCPPorts = [ 6000 8000 ];
|
|
||||||
allowedTCPPortRanges = [
|
|
||||||
{ from = 1714; to = 1764; } # KDE Connect
|
|
||||||
];
|
|
||||||
allowedUDPPortRanges = [
|
|
||||||
{ from = 1714; to = 1764; } # KDE Connect
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.kdeconnect.enable = true;
|
|
||||||
|
|
||||||
system.stateVersion = "23.11"; # don't change this, lol
|
|
||||||
}
|
|
|
@ -1,41 +0,0 @@
|
||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
|
||||||
# and may be overwritten by future invocations. Please make changes
|
|
||||||
# testing
|
|
||||||
# to /etc/nixos/configuration.nix instead.
|
|
||||||
{ config, lib, pkgs, modulesPath, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports =
|
|
||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
|
||||||
];
|
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "vmd" "nvme" "usb_storage" "sd_mod" ];
|
|
||||||
boot.initrd.kernelModules = [ ];
|
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
|
||||||
boot.extraModulePackages = [ ];
|
|
||||||
|
|
||||||
fileSystems."/" =
|
|
||||||
{ device = "/dev/disk/by-uuid/eada30c2-ffc5-4410-b1cf-fcea6a4040ff";
|
|
||||||
fsType = "ext4";
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/boot" =
|
|
||||||
{ device = "/dev/disk/by-uuid/5318-1A44";
|
|
||||||
fsType = "vfat";
|
|
||||||
};
|
|
||||||
|
|
||||||
swapDevices = [ ];
|
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
|
||||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
|
||||||
# still possible to use this option, but it's recommended to use it in conjunction
|
|
||||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
|
||||||
networking.useDHCP = lib.mkDefault true;
|
|
||||||
# networking.interfaces.enp58s0.useDHCP = lib.mkDefault true;
|
|
||||||
# networking.interfaces.enp7s0.useDHCP = lib.mkDefault true;
|
|
||||||
# networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true;
|
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
||||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
||||||
}
|
|
|
@ -1,10 +0,0 @@
|
||||||
{ lib, inputs, config, pkgs, home, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
../../home/x11.nix
|
|
||||||
../../home/chromium
|
|
||||||
];
|
|
||||||
|
|
||||||
home.stateVersion = "23.11";
|
|
||||||
}
|
|
|
@ -1,39 +0,0 @@
|
||||||
{ config, lib, pkgs, ... }:
|
|
||||||
{
|
|
||||||
# Make sure opengl is enabled
|
|
||||||
hardware.opengl = {
|
|
||||||
enable = true;
|
|
||||||
driSupport = true;
|
|
||||||
driSupport32Bit = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
glxinfo
|
|
||||||
];
|
|
||||||
|
|
||||||
# Tell Xorg to use the nvidia driver (also valid for Wayland)
|
|
||||||
services.xserver.videoDrivers = ["nvidia"];
|
|
||||||
|
|
||||||
hardware.nvidia = {
|
|
||||||
|
|
||||||
# Modesetting is needed for most Wayland compositors
|
|
||||||
modesetting.enable = true;
|
|
||||||
|
|
||||||
# Use the open source version of the kernel module
|
|
||||||
# Only available on driver 515.43.04+
|
|
||||||
open = false;
|
|
||||||
|
|
||||||
# Enable the nvidia settings menu
|
|
||||||
nvidiaSettings = true;
|
|
||||||
|
|
||||||
# Optionally, you may need to select the appropriate driver version for your specific GPU.
|
|
||||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
|
||||||
|
|
||||||
prime = {
|
|
||||||
sync.enable = true;
|
|
||||||
|
|
||||||
intelBusId = "PCI:0:2:0";
|
|
||||||
nvidiaBusId = "PCI:1:0:0";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
sudo nixos-rebuild --flake . switch --impure -I nixos-config=./
|
|
|
@ -1,134 +0,0 @@
|
||||||
{ lib, config, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports =
|
|
||||||
[
|
|
||||||
./hardware-configuration.nix
|
|
||||||
../../modules/bootstrap.nix
|
|
||||||
|
|
||||||
./radicale.nix
|
|
||||||
./ssh.nix
|
|
||||||
./gitea.nix
|
|
||||||
./radicale.nix
|
|
||||||
./vaultwarden.nix
|
|
||||||
./sslh.nix
|
|
||||||
./rss2email.nix
|
|
||||||
./fail2ban.nix
|
|
||||||
./nginx.nix
|
|
||||||
./franklincce.nix
|
|
||||||
./wireguard.nix
|
|
||||||
./nextcloud-bridge.nix
|
|
||||||
./grafana-bridge.nix
|
|
||||||
./paperless-bridge.nix
|
|
||||||
./prometheus.nix
|
|
||||||
./socks.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
nix = {
|
|
||||||
optimise = {
|
|
||||||
automatic = true;
|
|
||||||
dates = [ "02:30" ];
|
|
||||||
};
|
|
||||||
gc = {
|
|
||||||
automatic = true;
|
|
||||||
dates = "03:15";
|
|
||||||
options = "-d";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
time.timeZone = "America/Chicago";
|
|
||||||
|
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
|
||||||
console = {
|
|
||||||
font = "Lat2-Terminus16";
|
|
||||||
keyMap = "us";
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
python3
|
|
||||||
curl
|
|
||||||
htop
|
|
||||||
git
|
|
||||||
tree
|
|
||||||
dig
|
|
||||||
htop
|
|
||||||
neovim
|
|
||||||
];
|
|
||||||
|
|
||||||
system = {
|
|
||||||
copySystemConfiguration = true;
|
|
||||||
stateVersion = "23.05"; # don't change this, lol
|
|
||||||
};
|
|
||||||
|
|
||||||
services.journald.extraConfig = ''
|
|
||||||
SystemMaxUse=1G
|
|
||||||
'';
|
|
||||||
|
|
||||||
system.userActivationScripts = {
|
|
||||||
copyEssentialConfiguration = {
|
|
||||||
# we don't want to bring in the entirety of home-manager for this, so just
|
|
||||||
# write some files as a hack
|
|
||||||
text = ''
|
|
||||||
${pkgs.coreutils}/bin/cp /home/ryan/dot_testing/.config/bash/bashrc /home/ryan/.bashrc
|
|
||||||
${pkgs.coreutils}/bin/cp /home/ryan/dot_testing/.config/bash/profile /home/ryan/.bash_profile
|
|
||||||
${pkgs.coreutils}/bin/mkdir -p /home/ryan/.config/nvim
|
|
||||||
${pkgs.coreutils}/bin/cp /home/ryan/dot_testing/.config/nvim/init.min.lua /home/ryan/.config/nvim/init.lua
|
|
||||||
'';
|
|
||||||
deps = [];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
system.activationScripts = {
|
|
||||||
copyEssentialConfiguration = {
|
|
||||||
text = ''
|
|
||||||
${pkgs.coreutils}/bin/cp /home/ryan/dot_testing/.config/bash/bashrc /root/.bashrc
|
|
||||||
${pkgs.coreutils}/bin/cp /home/ryan/dot_testing/.config/bash/profile /root/.bash_profile
|
|
||||||
${pkgs.coreutils}/bin/mkdir -p /root/.config/nvim
|
|
||||||
${pkgs.coreutils}/bin/cp /home/ryan/dot_testing/.config/nvim/init.min.lua /root/.config/nvim/init.lua
|
|
||||||
'';
|
|
||||||
deps = [];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
boot.loader = {
|
|
||||||
grub.enable = true;
|
|
||||||
grub.device = "/dev/vda";
|
|
||||||
};
|
|
||||||
|
|
||||||
users.users.ryan = {
|
|
||||||
openssh.authorizedKeys.keys = [
|
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKbhM3wj0oqjR3pUaZgpfX4Xo4dlzvBTbQ48zHyg7Pwx usr" # x230t
|
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILBGh1FHPneg7PCDkhMs2BCJPTIRVJkRTKpOj1w02ydD usr" # copernicus
|
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGrpVDLQszFKoYbvYKRyVTTpehxR0BVU47SXkz39l2wK usr" # mainsail
|
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB2xUbQw9+RCPVw7qCFm4NNCP/MpS2BIArcwMv0KdKOI usr" # mlg
|
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILuVT5W3kzjzsuMIWk1oeGtL8jZGtAhRSx8dK8oBJQcG u0_a291" # phone
|
|
||||||
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDCufie2JWc4ylZHIi03uR0RB/79/hTacn9qnlzqs+kaWcdk7eyHqpg3zmVrETCZQxJ8ssZx4+tlwC0+seOjgIfNktfKjiRpes2Sib0MowO3lRgzqJ0pZ5AEA/pc4314meAZP/CibFw54CWxOySEXsCWKm157HVJHpJ7P0HwqzHod4jXxUWKwMoZo5XyOTTMHv4oytcHTydIeiSymw3RtvEtqpBCRE3W5kIiJNuCXnZGZBxvOnhJsQ0FkeXgByeXOLFxUw0ma6Jy/621T2GrBnmFhiSIV+T7xk/cfgP+D1V9x2wCLX5gPQaNzwL03v3xohxnJwRa6EXTR9LzXE7Rhnolbmkb/YPPpI6U0RpueZrHv/1CIA3OSKnQh1cp/jMeP4DfeO+fSY1SsRZICQ3ndlnYkXtalEzGPxeLUgLsh6SxSIK+7jjlDGrJCUbOMHhR+92vBXy7XE8tgO2FuhrAIiroIsaWmZO/7sike3ps3GFEZHZMEe2v3IDqfX/Iecn++U= usr" # aristotle
|
|
||||||
];
|
|
||||||
isNormalUser = true;
|
|
||||||
extraGroups = [ "wheel" "docker" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
networking = {
|
|
||||||
usePredictableInterfaceNames = false;
|
|
||||||
networkmanager.enable = true;
|
|
||||||
hostName = "netbox";
|
|
||||||
|
|
||||||
firewall = {
|
|
||||||
enable = true;
|
|
||||||
interfaces = {
|
|
||||||
eth0 = {
|
|
||||||
allowedTCPPorts = [ 80 443 ];
|
|
||||||
};
|
|
||||||
wg0 = {
|
|
||||||
# allow everything bound to the wg0 interface
|
|
||||||
allowedTCPPortRanges = [
|
|
||||||
{ from = 1; to = 35565; }
|
|
||||||
];
|
|
||||||
allowedUDPPortRanges = [
|
|
||||||
{ from = 1; to = 35565; }
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,42 +0,0 @@
|
||||||
{ lib, config, pkgs, ... }:
|
|
||||||
{
|
|
||||||
services.fail2ban = {
|
|
||||||
enable = true;
|
|
||||||
ignoreIP = [
|
|
||||||
"192.168.1.0/24"
|
|
||||||
];
|
|
||||||
extraPackages = [pkgs.ipset];
|
|
||||||
banaction = "iptables-ipset-proto6-allports";
|
|
||||||
|
|
||||||
jails = {
|
|
||||||
"nginx-bruteforce" = ''
|
|
||||||
enabled = true
|
|
||||||
filter = nginx-bruteforce
|
|
||||||
logpath = /var/log/nginx/access.log
|
|
||||||
backend = auto
|
|
||||||
maxretry = 6
|
|
||||||
findtime = 600
|
|
||||||
'';
|
|
||||||
|
|
||||||
"postfix-bruteforce" = ''
|
|
||||||
enabled = true
|
|
||||||
filter = postfix-bruteforce
|
|
||||||
maxretry = 6
|
|
||||||
findtime = 600
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.etc = {
|
|
||||||
"fail2ban/filter.d/nginx-bruteforce.conf".text = ''
|
|
||||||
[Definition]
|
|
||||||
failregex = ^<HOST>.*GET.*(matrix/server|\.php|admin|wp\-).* HTTP/\d.\d\" 404.*$
|
|
||||||
'';
|
|
||||||
|
|
||||||
"fail2ban/filter.d/postfix-bruteforce.conf".text = ''
|
|
||||||
[Definition]
|
|
||||||
failregex = warning: [\w\.\-]+\[<HOST>\]: SASL LOGIN authentication failed.*$
|
|
||||||
journalmatch = _SYSTEMD_UNIT=postfix.service
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,41 +0,0 @@
|
||||||
{ lib, config, pkgs, ... }:
|
|
||||||
{
|
|
||||||
virtualisation.docker.enable = true;
|
|
||||||
|
|
||||||
services.nginx.virtualHosts."franklincce.beepboop.systems" = {
|
|
||||||
forceSSL = true;
|
|
||||||
enableACME = true;
|
|
||||||
locations."/" = {
|
|
||||||
proxyPass = "http://localhost:1337";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# WARNING WARNING WARNING
|
|
||||||
# the below is SUPER BAD and should not be copied ANYWHERE
|
|
||||||
# the docker container should be initialized by a flake or other nix concept,
|
|
||||||
# not this nonsense
|
|
||||||
|
|
||||||
systemd.services.franklincce = {
|
|
||||||
description = "the docker container that runs the franklincce app";
|
|
||||||
|
|
||||||
environment = { # this is EVIL, NEVER DO THIS!!!111!
|
|
||||||
NIX_PATH = "nixpkgs=flake:nixpkgs:/nix/var/nix/profiles/per-user/root/channels";
|
|
||||||
};
|
|
||||||
|
|
||||||
script = ''
|
|
||||||
cd /home/ryan
|
|
||||||
|
|
||||||
# don't fail if cloning the git repo fails
|
|
||||||
${pkgs.git}/bin/git clone https://git.beepboop.systems/stupidcomputer/yig yig || true
|
|
||||||
|
|
||||||
cd /home/ryan/yig
|
|
||||||
${pkgs.nix}/bin/nix-shell --command make
|
|
||||||
'';
|
|
||||||
|
|
||||||
serviceConfig = {
|
|
||||||
User = "ryan";
|
|
||||||
};
|
|
||||||
|
|
||||||
wantedBy = [ "multi-user.target" ];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,46 +0,0 @@
|
||||||
{ lib, config, pkgs, ... }:
|
|
||||||
{
|
|
||||||
services.gitea = {
|
|
||||||
enable = true;
|
|
||||||
appName = "beepboop.systems"; # Give the site a name
|
|
||||||
database = {
|
|
||||||
type = "postgres";
|
|
||||||
passwordFile = "/etc/gittea-pass";
|
|
||||||
};
|
|
||||||
settings.security.INSTALL_LOCK = true;
|
|
||||||
settings.service = {
|
|
||||||
SHOW_REGISTRATION_BUTTON = false;
|
|
||||||
DISABLE_REGISTRATION = true;
|
|
||||||
};
|
|
||||||
settings.ui.DEFAULT_THEME = "arc-green";
|
|
||||||
settings.api.ENABLE_SWAGGER = false;
|
|
||||||
settings.server = {
|
|
||||||
DOMAIN = "git.beepboop.systems";
|
|
||||||
ROOT_URL = "https://git.beepboop.systems/";
|
|
||||||
LANDING_PAGE = "explore";
|
|
||||||
HTTP_PORT = 3001;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
services.postgresql = {
|
|
||||||
enable = true; # Ensure postgresql is enabled
|
|
||||||
authentication = ''
|
|
||||||
local gitea all ident map=gitea-users
|
|
||||||
'';
|
|
||||||
identMap = # Map the gitea user to postgresql
|
|
||||||
''
|
|
||||||
gitea-users gitea gitea
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
services.nginx.virtualHosts."git.beepboop.systems" = {
|
|
||||||
forceSSL = true;
|
|
||||||
enableACME = true;
|
|
||||||
locations."/" = {
|
|
||||||
proxyPass = "http://localhost:3001";
|
|
||||||
};
|
|
||||||
locations."/bridge" = {
|
|
||||||
proxyPass = "http://localhost:5000";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,16 +0,0 @@
|
||||||
{ lib, config, pkgs, ... }:
|
|
||||||
{
|
|
||||||
services.nginx.virtualHosts."grafana.beepboop.systems" = {
|
|
||||||
forceSSL = true;
|
|
||||||
enableACME = true;
|
|
||||||
locations."/" = {
|
|
||||||
proxyPass = "http://10.100.0.2:9802";
|
|
||||||
proxyWebsockets = true;
|
|
||||||
extraConfig = ''
|
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
||||||
proxy_set_header Host $host;
|
|
||||||
proxy_buffering off;
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,37 +0,0 @@
|
||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
|
||||||
# and may be overwritten by future invocations. Please make changes
|
|
||||||
# to /etc/nixos/configuration.nix instead.
|
|
||||||
{ config, lib, pkgs, modulesPath, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [ ];
|
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk" ];
|
|
||||||
boot.initrd.kernelModules = [ ];
|
|
||||||
boot.kernelModules = [ ];
|
|
||||||
boot.extraModulePackages = [ ];
|
|
||||||
|
|
||||||
fileSystems."/" =
|
|
||||||
{ device = "/dev/disk/by-uuid/a57b82ca-7bfd-458e-b3e8-4962511cc0b8";
|
|
||||||
fsType = "ext4";
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/boot" =
|
|
||||||
{ device = "/dev/disk/by-uuid/DF39-1ECE";
|
|
||||||
fsType = "vfat";
|
|
||||||
};
|
|
||||||
|
|
||||||
swapDevices =
|
|
||||||
[ { device = "/dev/disk/by-uuid/57fbd850-1ced-4e21-9e52-4f3b529c61b0"; }
|
|
||||||
];
|
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
|
||||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
|
||||||
# still possible to use this option, but it's recommended to use it in conjunction
|
|
||||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
|
||||||
networking.useDHCP = lib.mkDefault true;
|
|
||||||
# networking.interfaces.ens3.useDHCP = lib.mkDefault true;
|
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
||||||
virtualisation.hypervGuest.enable = true;
|
|
||||||
}
|
|
|
@ -1,16 +0,0 @@
|
||||||
{ lib, config, pkgs, ... }:
|
|
||||||
{
|
|
||||||
services.nginx.virtualHosts."nextcloud.beepboop.systems" = {
|
|
||||||
forceSSL = true;
|
|
||||||
enableACME = true;
|
|
||||||
locations."/" = {
|
|
||||||
proxyPass = "http://10.100.0.2:5028";
|
|
||||||
proxyWebsockets = true;
|
|
||||||
extraConfig = ''
|
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
||||||
proxy_set_header Host $host;
|
|
||||||
proxy_buffering off;
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,38 +0,0 @@
|
||||||
{ lib, config, pkgs, ... }:
|
|
||||||
{
|
|
||||||
services.nginx.enable = true;
|
|
||||||
services.nginx.clientMaxBodySize = "100m";
|
|
||||||
services.nginx.defaultSSLListenPort = 442;
|
|
||||||
|
|
||||||
services.nginx.virtualHosts."beepboop.systems" = {
|
|
||||||
forceSSL = true;
|
|
||||||
enableACME = true;
|
|
||||||
root = "/var/www/beepboop.systems";
|
|
||||||
locations."/" = {
|
|
||||||
extraConfig = ''
|
|
||||||
port_in_redirect off;
|
|
||||||
absolute_redirect off;
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
services.nginx.virtualHosts."tfb.beepboop.systems" = {
|
|
||||||
forceSSL = true;
|
|
||||||
enableACME = true;
|
|
||||||
root = "/var/www/tfb.beepboop.systems";
|
|
||||||
locations."/" = {
|
|
||||||
extraConfig = ''
|
|
||||||
port_in_redirect off;
|
|
||||||
absolute_redirect off;
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
locations."/groupme" = {
|
|
||||||
proxyPass = "http://10.100.0.2:7439";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
security.acme = {
|
|
||||||
acceptTerms = true;
|
|
||||||
defaults.email = "nickforanick@protonmail.com";
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,15 +0,0 @@
|
||||||
{ lib, config, pkgs, ... }:
|
|
||||||
{
|
|
||||||
services.nginx.virtualHosts."paperless.beepboop.systems" = {
|
|
||||||
forceSSL = true;
|
|
||||||
enableACME = true;
|
|
||||||
locations."/" = {
|
|
||||||
proxyPass = "http://10.100.0.2:6230";
|
|
||||||
extraConfig = ''
|
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
||||||
proxy_set_header Host $host;
|
|
||||||
proxy_buffering off;
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,13 +0,0 @@
|
||||||
{ lib, config, pkgs, ... }:
|
|
||||||
{
|
|
||||||
services.prometheus = {
|
|
||||||
exporters = {
|
|
||||||
node = {
|
|
||||||
enable = true;
|
|
||||||
enabledCollectors = [ "systemd" ];
|
|
||||||
listenAddress = "10.100.0.1";
|
|
||||||
port = 9002;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,38 +0,0 @@
|
||||||
{ lib, config, pkgs, ... }:
|
|
||||||
{
|
|
||||||
services.radicale = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
auth = {
|
|
||||||
type = "htpasswd";
|
|
||||||
htpasswd_filename = "radicale-passwd";
|
|
||||||
htpasswd_encryption = "plain";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
services.nginx.virtualHosts."radicale.beepboop.systems" = {
|
|
||||||
forceSSL = true;
|
|
||||||
enableACME = true;
|
|
||||||
locations."/" = {
|
|
||||||
proxyPass = "http://127.0.0.1:5232";
|
|
||||||
extraConfig = ''
|
|
||||||
proxy_set_header X-Script-Name /;
|
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
||||||
proxy_pass_header Authorization;
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
services.nginx.virtualHosts."calendar.beepboop.systems" = {
|
|
||||||
forceSSL = true;
|
|
||||||
enableACME = true;
|
|
||||||
globalRedirect = "radicale.beepboop.systems";
|
|
||||||
};
|
|
||||||
|
|
||||||
services.nginx.virtualHosts."cal.beepboop.systems" = {
|
|
||||||
forceSSL = true;
|
|
||||||
enableACME = true;
|
|
||||||
globalRedirect = "radicale.beepboop.systems";
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,24 +0,0 @@
|
||||||
{ lib, config, pkgs, ... }:
|
|
||||||
{
|
|
||||||
services.rss2email = {
|
|
||||||
enable = true;
|
|
||||||
to = "ryan@beepboop.systems";
|
|
||||||
feeds = {
|
|
||||||
"eff" = {
|
|
||||||
url = "https://www.eff.org/rss/updates.xml";
|
|
||||||
};
|
|
||||||
"nixos" = {
|
|
||||||
url = "https://nixos.org/blog/announcements-rss.xml";
|
|
||||||
};
|
|
||||||
"drewdevault" = {
|
|
||||||
url = "https://drewdevault.com/blog/index.xml";
|
|
||||||
};
|
|
||||||
"nullprogram" = {
|
|
||||||
url = "https://nullprogram.com/feed/";
|
|
||||||
};
|
|
||||||
"computersarebad" = {
|
|
||||||
url = "https://computer.rip/rss.xml";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,14 +0,0 @@
|
||||||
{ lib, config, pkgs, ... }:
|
|
||||||
{
|
|
||||||
services._3proxy = {
|
|
||||||
enable = true;
|
|
||||||
services = [
|
|
||||||
{
|
|
||||||
type = "socks";
|
|
||||||
auth = [ "none" ];
|
|
||||||
bindAddress = "10.100.0.1";
|
|
||||||
bindPort = 3128;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,13 +0,0 @@
|
||||||
{ lib, config, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
services.openssh = {
|
|
||||||
enable = true;
|
|
||||||
ports = [55555];
|
|
||||||
settings = {
|
|
||||||
X11Forwarding = false;
|
|
||||||
PermitRootLogin = "no";
|
|
||||||
PasswordAuthentication = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,19 +0,0 @@
|
||||||
{ lib, config, pkgs, ... }:
|
|
||||||
{
|
|
||||||
services.sslh = {
|
|
||||||
enable = true;
|
|
||||||
settings.protocols = [
|
|
||||||
{
|
|
||||||
host = "localhost";
|
|
||||||
name = "ssh";
|
|
||||||
port = "55555";
|
|
||||||
service = "ssh";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
host = "localhost";
|
|
||||||
name = "tls";
|
|
||||||
port = "442";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,22 +0,0 @@
|
||||||
{ lib, config, pkgs, ... }:
|
|
||||||
{
|
|
||||||
services.vaultwarden.enable = true;
|
|
||||||
services.vaultwarden.config = {
|
|
||||||
DOMAIN = "https://bitwarden.beepboop.systems";
|
|
||||||
SIGNUPS_ALLOWED = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
services.nginx.virtualHosts."bit.beepboop.systems" = {
|
|
||||||
forceSSL = true;
|
|
||||||
enableACME = true;
|
|
||||||
globalRedirect = "bitwarden.beepboop.systems";
|
|
||||||
};
|
|
||||||
|
|
||||||
services.nginx.virtualHosts."bitwarden.beepboop.systems" = {
|
|
||||||
forceSSL = true;
|
|
||||||
enableACME = true;
|
|
||||||
locations."/" = {
|
|
||||||
proxyPass = "http://127.0.0.1:8000";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,40 +0,0 @@
|
||||||
{ lib, config, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
networking = {
|
|
||||||
nat = {
|
|
||||||
enable = true;
|
|
||||||
externalInterface = "eth0";
|
|
||||||
internalInterfaces = [ "wg0" ];
|
|
||||||
};
|
|
||||||
firewall.allowedUDPPorts = [ 50000 ];
|
|
||||||
|
|
||||||
wireguard.interfaces = {
|
|
||||||
wg0 = {
|
|
||||||
ips = [ "10.100.0.1/24" ];
|
|
||||||
|
|
||||||
listenPort = 50000;
|
|
||||||
|
|
||||||
postSetup = ''
|
|
||||||
${pkgs.iptables}/bin/iptables -t nat -A POSTROUTING -s 10.100.0.0/24 -o eth0 -j MASQUERADE
|
|
||||||
'';
|
|
||||||
postShutdown = ''
|
|
||||||
${pkgs.iptables}/bin/iptables -t nat -D POSTROUTING -s 10.100.0.0/24 -o eth0 -j MASQUERADE
|
|
||||||
'';
|
|
||||||
|
|
||||||
privateKeyFile = "/home/ryan/wg-keys/private";
|
|
||||||
|
|
||||||
peers = [
|
|
||||||
{ # copernicus
|
|
||||||
publicKey = "JlH1X4KRT+B8Uau+qTLtBqyapkbGClIj1db7znU77kc=";
|
|
||||||
allowedIPs = [ "10.100.0.2/32" ];
|
|
||||||
}
|
|
||||||
{ # aristotle
|
|
||||||
publicKey = "Sw2yyMhyS8GOCWm1VuGn3Y7cfx606dXOGK5mux8ckQU=";
|
|
||||||
allowedIPs = [ "10.100.0.3/32" ];
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,7 +0,0 @@
|
||||||
{ config, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
nix.extraOptions = ''
|
|
||||||
experimental-features = nix-command flakes
|
|
||||||
'';
|
|
||||||
}
|
|
|
@ -1,31 +0,0 @@
|
||||||
{ config, lib, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./bootstrap.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
home-manager = {
|
|
||||||
backupFileExtension = "hm-bak";
|
|
||||||
useGlobalPkgs = true;
|
|
||||||
|
|
||||||
config = ./home.nix;
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.packages = with pkgs; [
|
|
||||||
tigervnc
|
|
||||||
git
|
|
||||||
tmux
|
|
||||||
hostname
|
|
||||||
tigervnc
|
|
||||||
xorg.xinit
|
|
||||||
# tar
|
|
||||||
# awk
|
|
||||||
# sed
|
|
||||||
elinks
|
|
||||||
];
|
|
||||||
|
|
||||||
environment.etcBackupExtension = ".bak";
|
|
||||||
system.stateVersion = "23.05";
|
|
||||||
time.timeZone = "America/Chicago";
|
|
||||||
}
|
|
|
@ -1,18 +0,0 @@
|
||||||
{ lib, pkgs, home, ... }:
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
../../home/nvim
|
|
||||||
../../home/ssh
|
|
||||||
../../home/git # needed for flakes
|
|
||||||
../../home/vdirsyncer
|
|
||||||
../../home/isync
|
|
||||||
../../home/khal
|
|
||||||
../../home/todoman
|
|
||||||
../../home/msmtp
|
|
||||||
../../home/neomutt
|
|
||||||
../../home/rbw
|
|
||||||
( import ../../home/bash { isRoot = true; } )
|
|
||||||
];
|
|
||||||
|
|
||||||
home.stateVersion = "23.05";
|
|
||||||
}
|
|
|
@ -1,2 +0,0 @@
|
||||||
app_cache/
|
|
||||||
gpapp_cache/
|
|
|
@ -1,18 +0,0 @@
|
||||||
https://f-droid.org/repo/com.termux_1020.apk
|
|
||||||
https://f-droid.org/repo/com.termux.api_51.apk
|
|
||||||
https://f-droid.org/repo/com.termux.widget_13.apk
|
|
||||||
https://f-droid.org/repo/com.coboltforge.dontmind.multivnc_101.apk
|
|
||||||
https://f-droid.org/repo/com.kylecorry.trail_sense_124.apk
|
|
||||||
https://f-droid.org/repo/org.ligi.survivalmanual_428.apk
|
|
||||||
https://github.com/bitwarden/android/releases/download/v2024.4.0/com.x8bit.bitwarden.apk
|
|
||||||
https://f-droid.org/repo/at.bitfire.icsdroid_81.apk
|
|
||||||
https://f-droid.org/repo/ws.xsoh.etar_47.apk
|
|
||||||
https://f-droid.org/repo/at.bitfire.davdroid_404030200.apk
|
|
||||||
https://f-droid.org/repo/org.oxycblt.auxio_53.apk
|
|
||||||
https://f-droid.org/repo/de.danoeh.antennapod_3050095.apk
|
|
||||||
https://f-droid.org/repo/eu.faircode.email_2241.apk
|
|
||||||
https://f-droid.org/repo/org.koreader.launcher.fdroid_105232.apk
|
|
||||||
https://f-droid.org/repo/at.techbee.jtx_209010003.apk
|
|
||||||
https://f-droid.org/repo/mn.tck.semitone_4.apk
|
|
||||||
https://f-droid.org/repo/de.moekadu.tuner_38.apk
|
|
||||||
https://f-droid.org/repo/io.github.domi04151309.home_1100.apk
|
|
|
@ -1,3 +0,0 @@
|
||||||
com.ministrycentered.PlanningCenter
|
|
||||||
com.groupme.android
|
|
||||||
com.brivo.pass
|
|
|
@ -1,34 +0,0 @@
|
||||||
mkdir -p app_cache
|
|
||||||
for i in $(cat apps); do
|
|
||||||
output_name=$(echo $i | awk -F'/' '{print $NF}')
|
|
||||||
curl "$i" --max-redirs 999 -L -C - -o "app_cache/$output_name"
|
|
||||||
adb install "app_cache/$output_name"
|
|
||||||
done
|
|
||||||
|
|
||||||
mkdir -p gpapp_cache
|
|
||||||
for i in $(cat gpapps); do
|
|
||||||
apkeep -a "$i" ./gpapp_cache/
|
|
||||||
done
|
|
||||||
|
|
||||||
for i in $(ls gpapp_cache/ | grep xapk); do
|
|
||||||
# this is specific to planning center online
|
|
||||||
xapk_playground=$(mktemp)
|
|
||||||
rm $xapk_playground
|
|
||||||
mkdir $xapk_playground
|
|
||||||
|
|
||||||
cp gpapp_cache/$i $xapk_playground
|
|
||||||
cd $xapk_playground
|
|
||||||
mkdir out
|
|
||||||
unzip $i -d out
|
|
||||||
cd -
|
|
||||||
cd $xapk_playground/out
|
|
||||||
rm icon.png
|
|
||||||
rm manifest.json
|
|
||||||
adb install-multiple *
|
|
||||||
cd -
|
|
||||||
done
|
|
||||||
|
|
||||||
cd gpapp_cache
|
|
||||||
for i in $(ls | grep '\.apk'); do
|
|
||||||
adb install $i
|
|
||||||
done
|
|
|
@ -1,7 +0,0 @@
|
||||||
{ pkgs ? import <nixpkgs> {} }:
|
|
||||||
|
|
||||||
pkgs.mkShell {
|
|
||||||
packages = [
|
|
||||||
pkgs.apkeep
|
|
||||||
];
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
git-annex-install
|
|
||||||
git-annex-install.*
|
|
||||||
git-annex.linux
|
|
||||||
|
|
|
@ -1,90 +0,0 @@
|
||||||
termux: termux-pkgs termux-dots utils-sh rebuild-sh st pip-pkgs git-annex.linux sssg statusbar-polyfill
|
|
||||||
|
|
||||||
list: options # alias
|
|
||||||
options:
|
|
||||||
@echo specific options
|
|
||||||
@echo st - rebuild st
|
|
||||||
@echo utils-sh - copy utilities
|
|
||||||
@echo pip-pkgs - install pip packages
|
|
||||||
@echo termux-pkgs - install termux pkgs
|
|
||||||
@echo termux-dots - install termux dotfiles
|
|
||||||
@echo git-annex.linux - install git-annex
|
|
||||||
@echo sssg - install sssg
|
|
||||||
|
|
||||||
st:
|
|
||||||
-cd ../../../builds/st/ && CFLAGS="-DIS_PHONE" CC=clang make && cp st ~/.local/bin/st
|
|
||||||
|
|
||||||
utils-sh:
|
|
||||||
mkdir -p ~/.local/bin
|
|
||||||
cp ../../../builds/utils/* ~/.local/bin
|
|
||||||
|
|
||||||
rebuild-sh:
|
|
||||||
mkdir -p ~/.local/bin
|
|
||||||
cp ../../../builds/rebuild/* ~/.local/bin
|
|
||||||
pip-pkgs:
|
|
||||||
pip3 install vdirsyncer
|
|
||||||
pip3 install khal
|
|
||||||
# pip3 install khard
|
|
||||||
|
|
||||||
termux-pkgs:
|
|
||||||
pkg install -y \
|
|
||||||
tur-repo \
|
|
||||||
x11-repo
|
|
||||||
|
|
||||||
pkg install -y \
|
|
||||||
neovim \
|
|
||||||
python-pip \
|
|
||||||
feh \
|
|
||||||
xdotool \
|
|
||||||
git \
|
|
||||||
tig \
|
|
||||||
tigervnc \
|
|
||||||
sxhkd \
|
|
||||||
clang \
|
|
||||||
elinks \
|
|
||||||
tmux \
|
|
||||||
fontconfig \
|
|
||||||
xorgproto \
|
|
||||||
fzy \
|
|
||||||
man \
|
|
||||||
libxft \
|
|
||||||
firefox \
|
|
||||||
mupdf \
|
|
||||||
texlive-bin \
|
|
||||||
htop \
|
|
||||||
rbw \
|
|
||||||
pkg-config \
|
|
||||||
xorg-xrandr \
|
|
||||||
bspwm \
|
|
||||||
termux-api \
|
|
||||||
jq \
|
|
||||||
xclip \
|
|
||||||
isync \
|
|
||||||
neomutt \
|
|
||||||
pandoc \
|
|
||||||
wget \
|
|
||||||
which \
|
|
||||||
rsync \
|
|
||||||
openssl \
|
|
||||||
chromium
|
|
||||||
|
|
||||||
termux-dots:
|
|
||||||
mkdir -p ~/.local/bin
|
|
||||||
ln -sf $(CURDIR)/../../../.config ~/.config
|
|
||||||
ln -sf $(CURDIR)/../../../.config/ssh/config ~/.ssh/config
|
|
||||||
ln -sf ~/.config/bash/bashrc ~/.bashrc
|
|
||||||
ln -sf ~/.config/bash/profile ~/.bash_profile
|
|
||||||
mkdir -p ~/.local/share
|
|
||||||
cp $(CURDIR)/../../../home/wallpapers/pape.jpg ~/.local/share
|
|
||||||
mkdir -p ~/.shortcuts
|
|
||||||
cp $(CURDIR)/shortcuts/* ~/.shortcuts
|
|
||||||
|
|
||||||
git-annex.linux:
|
|
||||||
bash install-git-annex.sh
|
|
||||||
|
|
||||||
sssg:
|
|
||||||
-cp ~/git/sssg/sssg.sh ~/.local/bin/sssg
|
|
||||||
-chmod +x ~/.local/bin/sssg
|
|
||||||
|
|
||||||
statusbar-polyfill:
|
|
||||||
cp ~/dot_testing/builds/statusbar/termux-statusbar-polyfill ~/.local/bin
|
|
|
@ -1,7 +0,0 @@
|
||||||
wget https://git-annex.branchable.com/install/Android/git-annex-install
|
|
||||||
MY_WD=$(pwd)
|
|
||||||
|
|
||||||
source git-annex-install || printf "failed\n"
|
|
||||||
|
|
||||||
cd "$MY_WD"
|
|
||||||
mv ~/git-annex.linux ./
|
|
|
@ -1,19 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
today=$(date "+%m/%d/%Y")
|
|
||||||
|
|
||||||
printf "Inputting height and weight information for today\n\n"
|
|
||||||
printf "Height?\n"
|
|
||||||
|
|
||||||
read -p "?>" height
|
|
||||||
|
|
||||||
printf "Weight?\n"
|
|
||||||
|
|
||||||
read -p "?>" weight
|
|
||||||
|
|
||||||
cd ~/pdbs
|
|
||||||
printf "\n%s %i" "$today" "$weight" >> weight.timeseries
|
|
||||||
printf "\n%s %i" "$today" "$height" >> height.timeseries
|
|
||||||
|
|
||||||
git add weight.timeseries height.timeseries
|
|
||||||
git commit -m "added height, weight data for $today"
|
|
|
@ -1,19 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
today=$(date "+%m/%d/%Y")
|
|
||||||
ledgerdate=$(date "+%Y/%m/%d")
|
|
||||||
|
|
||||||
printf "Inputting an expense for today\n\n"
|
|
||||||
printf "Payee name?\n"
|
|
||||||
|
|
||||||
read -p "?>" payee
|
|
||||||
|
|
||||||
printf "Amount?\n"
|
|
||||||
|
|
||||||
read -p "?>" amount
|
|
||||||
|
|
||||||
cd ~/pdbs
|
|
||||||
printf '%s * %s\n\tExpenses:%s $%s\n\tAssets:Greencard 4154\n\n' "$ledgerdate" "$payee" "$payee" "$amount" >> phone.ledger
|
|
||||||
|
|
||||||
git add phone.ledger
|
|
||||||
git commit -m "added an expense for $today"
|
|
|
@ -1,9 +0,0 @@
|
||||||
register_habits=$(ls ~/pdbs/ |
|
|
||||||
grep '\.habit$' |
|
|
||||||
fzy)
|
|
||||||
|
|
||||||
if [ -z "$register_habits" ]; then
|
|
||||||
echo "you didn't choose one!"
|
|
||||||
else
|
|
||||||
date "+%m/%d/%Y" >> ~/pdbs/$register_habits
|
|
||||||
fi
|
|
|
@ -1,31 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
day5=$(date --date="5 days ago" "+%m/%d/%Y")
|
|
||||||
day4=$(date --date="4 days ago" "+%m/%d/%Y")
|
|
||||||
day3=$(date --date="3 days ago" "+%m/%d/%Y")
|
|
||||||
day2=$(date --date="2 days ago" "+%m/%d/%Y")
|
|
||||||
day1=$(date --date="1 days ago" "+%m/%d/%Y")
|
|
||||||
today=$(date "+%m/%d/%Y")
|
|
||||||
|
|
||||||
# $1 -- habit filename
|
|
||||||
show_past_habit () {
|
|
||||||
printf "%25s =========\n" "$1"
|
|
||||||
donein5days=$(grep -c "$day5" "$HOME/pdbs/$1")
|
|
||||||
donein4days=$(grep -c "$day4" "$HOME/pdbs/$1")
|
|
||||||
donein3days=$(grep -c "$day3" "$HOME/pdbs/$1")
|
|
||||||
donein2days=$(grep -c "$day2" "$HOME/pdbs/$1")
|
|
||||||
donein1days=$(grep -c "$day1" "$HOME/pdbs/$1")
|
|
||||||
donetoday=$(grep -c "$today" "$HOME/pdbs/$1")
|
|
||||||
|
|
||||||
printf "%.5s %.5s %.5s %.5s %.5s %.5s\n%5s %5s %5s %5s %5s %5s\n\n" \
|
|
||||||
"$day5" "$day4" "$day3" "$day2" "$day1" "$today" \
|
|
||||||
"$donein5days" "$donein4days" "$donein3days" \
|
|
||||||
"$donein2days" "$donein1days" "$donetoday"
|
|
||||||
}
|
|
||||||
|
|
||||||
habits=$(ls ~/pdbs | grep '\.habit$')
|
|
||||||
for i in $habits; do
|
|
||||||
show_past_habit "$i"
|
|
||||||
done
|
|
||||||
|
|
||||||
read THROWAWAY
|
|
|
@ -1,20 +0,0 @@
|
||||||
{ lib, config, pkgs, ...}:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./hardware-configuration.nix
|
|
||||||
../../modules/bootstrap.nix
|
|
||||||
../../modules/hosts.nix
|
|
||||||
../../modules/common.nix
|
|
||||||
../../modules/x11.nix
|
|
||||||
../../modules/pulse.nix
|
|
||||||
../../modules/discord.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
boot.loader.grub.enable = true;
|
|
||||||
boot.loader.grub.device = "/dev/vda";
|
|
||||||
|
|
||||||
networking.hostName = "virtbox";
|
|
||||||
|
|
||||||
system.stateVersion = "23.11";
|
|
||||||
}
|
|
|
@ -1,31 +0,0 @@
|
||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
|
||||||
# and may be overwritten by future invocations. Please make changes
|
|
||||||
# to /etc/nixos/configuration.nix instead.
|
|
||||||
{ config, lib, pkgs, modulesPath, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports =
|
|
||||||
[ (modulesPath + "/profiles/qemu-guest.nix")
|
|
||||||
];
|
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ];
|
|
||||||
boot.initrd.kernelModules = [ ];
|
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
|
||||||
boot.extraModulePackages = [ ];
|
|
||||||
|
|
||||||
fileSystems."/" =
|
|
||||||
{ device = "/dev/disk/by-uuid/7b70ab88-296c-4737-90b2-267cb2432dc1";
|
|
||||||
fsType = "ext4";
|
|
||||||
};
|
|
||||||
|
|
||||||
swapDevices = [ ];
|
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
|
||||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
|
||||||
# still possible to use this option, but it's recommended to use it in conjunction
|
|
||||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
|
||||||
networking.useDHCP = lib.mkDefault true;
|
|
||||||
# networking.interfaces.enp1s0.useDHCP = lib.mkDefault true;
|
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
||||||
}
|
|
|
@ -1,9 +0,0 @@
|
||||||
{ lib, inputs, config, pkgs, home, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
../../home/x11.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
home.stateVersion = "23.11";
|
|
||||||
}
|
|
|
@ -1,66 +0,0 @@
|
||||||
{ lib, config, pkgs, ...}:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./hardware-configuration.nix
|
|
||||||
./special-ssh-magic.nix
|
|
||||||
../../modules/bootstrap.nix
|
|
||||||
../../modules/common.nix
|
|
||||||
../../modules/x11.nix
|
|
||||||
../../modules/pulse.nix
|
|
||||||
../../modules/hosts.nix
|
|
||||||
../../modules/tlp.nix
|
|
||||||
../../modules/media.nix
|
|
||||||
../../modules/anki.nix
|
|
||||||
../../modules/power-control.nix
|
|
||||||
../../modules/adb.nix
|
|
||||||
../../modules/rbw.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
xscreensaver
|
|
||||||
texliveFull
|
|
||||||
libreoffice
|
|
||||||
|
|
||||||
ecryptfs
|
|
||||||
ffmpeg
|
|
||||||
thunderbird
|
|
||||||
ledger
|
|
||||||
ranger
|
|
||||||
];
|
|
||||||
|
|
||||||
hardware.bluetooth = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
services.printing.enable = true;
|
|
||||||
services.avahi = {
|
|
||||||
enable = true;
|
|
||||||
nssmdns = true;
|
|
||||||
openFirewall = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
services.udev.extraRules = ''
|
|
||||||
ACTION=="add", SUBSYSTEM=="input", KERNEL=="event[0-20]*", ENV{ID_INPUT_TOUCHSCREEN}=="1", MODE:="0666" GROUP="usr", SYMLINK+="input/touchscreen"
|
|
||||||
'';
|
|
||||||
|
|
||||||
users.users.usr.extraGroups = [ "input" ];
|
|
||||||
|
|
||||||
services.getty.autologinUser = "usr";
|
|
||||||
|
|
||||||
boot.loader = {
|
|
||||||
grub = {
|
|
||||||
timeoutStyle = "hidden";
|
|
||||||
enable = true;
|
|
||||||
device = "/dev/sda";
|
|
||||||
splashImage = null;
|
|
||||||
};
|
|
||||||
timeout = 1;
|
|
||||||
};
|
|
||||||
|
|
||||||
hardware.pulseaudio.enable = true;
|
|
||||||
|
|
||||||
networking.hostName = "x230t";
|
|
||||||
|
|
||||||
system.stateVersion = "23.11";
|
|
||||||
}
|
|
|
@ -1,33 +0,0 @@
|
||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
|
||||||
# and may be overwritten by future invocations. Please make changes
|
|
||||||
# to /etc/nixos/configuration.nix instead.
|
|
||||||
{ config, lib, pkgs, modulesPath, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports =
|
|
||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
|
||||||
];
|
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usb_storage" "sd_mod" "sdhci_pci" ];
|
|
||||||
boot.initrd.kernelModules = [ ];
|
|
||||||
boot.kernelModules = [ ];
|
|
||||||
boot.extraModulePackages = [ ];
|
|
||||||
|
|
||||||
fileSystems."/" =
|
|
||||||
{ device = "/dev/disk/by-uuid/772f67d6-9434-42f1-aa3e-153e41affe4c";
|
|
||||||
fsType = "ext4";
|
|
||||||
};
|
|
||||||
|
|
||||||
swapDevices = [ ];
|
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
|
||||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
|
||||||
# still possible to use this option, but it's recommended to use it in conjunction
|
|
||||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
|
||||||
networking.useDHCP = lib.mkDefault true;
|
|
||||||
# networking.interfaces.enp0s25.useDHCP = lib.mkDefault true;
|
|
||||||
# networking.interfaces.wlp3s0.useDHCP = lib.mkDefault true;
|
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
||||||
}
|
|
|
@ -1,10 +0,0 @@
|
||||||
{ lib, inputs, config, pkgs, home, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
../../home/x11.nix
|
|
||||||
../../home/chromium
|
|
||||||
];
|
|
||||||
|
|
||||||
home.stateVersion = "23.11";
|
|
||||||
}
|
|
|
@ -1,6 +0,0 @@
|
||||||
{ lib, config, pkgs, ...}:
|
|
||||||
|
|
||||||
{
|
|
||||||
services.sshd.enable = true;
|
|
||||||
systemd.services.sshd.wantedBy = lib.mkForce [];
|
|
||||||
}
|
|
|
@ -1,39 +0,0 @@
|
||||||
{ stdenv
|
|
||||||
, lib
|
|
||||||
, pkgs
|
|
||||||
, makeWrapper
|
|
||||||
, sxhkd
|
|
||||||
, bash
|
|
||||||
, feh
|
|
||||||
, jq
|
|
||||||
, fzy
|
|
||||||
, curl
|
|
||||||
, texliveFull
|
|
||||||
}:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
pname = "archutils";
|
|
||||||
version = "1.01";
|
|
||||||
|
|
||||||
src = ./archutils;
|
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
|
||||||
buildInputs = [
|
|
||||||
bash
|
|
||||||
feh
|
|
||||||
jq
|
|
||||||
curl
|
|
||||||
fzy
|
|
||||||
texliveFull
|
|
||||||
];
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p $out/bin
|
|
||||||
|
|
||||||
for i in $(ls $src/); do
|
|
||||||
cp $src/$i $out/bin
|
|
||||||
ln -sf $out/bin/tmenu_run $out/bin/regenerate
|
|
||||||
wrapProgram $out/bin/$i --prefix PATH : ${lib.makeBinPath [ bash feh jq curl fzy texliveFull ]}
|
|
||||||
done
|
|
||||||
'';
|
|
||||||
}
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue