summaryrefslogtreecommitdiff
path: root/home/ebisu/fortune/system
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-10-03 01:16:26 -0700
committerFuwn <[email protected]>2024-10-03 01:16:26 -0700
commit9989fe08f302f3197ffde8263d23d581e6ee7e74 (patch)
tree6dc7bf3727ffaa55fb081ca412f0470e08e7205b /home/ebisu/fortune/system
parentmodules: reformat (diff)
downloadnixos-config-9989fe08f302f3197ffde8263d23d581e6ee7e74.tar.xz
nixos-config-9989fe08f302f3197ffde8263d23d581e6ee7e74.zip
home: configure multi-host home setup
Diffstat (limited to 'home/ebisu/fortune/system')
-rw-r--r--home/ebisu/fortune/system/default.nix21
-rw-r--r--home/ebisu/fortune/system/encryption/bitwarden.nix8
-rw-r--r--home/ebisu/fortune/system/encryption/default.nix7
-rw-r--r--home/ebisu/fortune/system/fonts/default.nix75
-rw-r--r--home/ebisu/fortune/system/fonts/meowsans/MeowSans_Font/MeowSans-Regular.ttfbin10524000 -> 0 bytes
-rw-r--r--home/ebisu/fortune/system/fonts/meowsans/MeowSans_Font/MeowSans.ttfbin8666420 -> 0 bytes
-rw-r--r--home/ebisu/fortune/system/fonts/meowsans/default.nix1
-rw-r--r--home/ebisu/fortune/system/peripheral.nix7
-rw-r--r--home/ebisu/fortune/system/shell/default.nix21
-rw-r--r--home/ebisu/fortune/system/shell/fish.nix181
-rw-r--r--home/ebisu/fortune/system/shell/scripting/charmbracelet.nix11
-rw-r--r--home/ebisu/fortune/system/shell/scripting/default.nix20
-rw-r--r--home/ebisu/fortune/system/shell/scripting/ripgrep.nix5
-rw-r--r--home/ebisu/fortune/system/shell/starship.nix304
-rw-r--r--home/ebisu/fortune/system/sops.nix22
-rw-r--r--home/ebisu/fortune/system/ssh.nix46
-rw-r--r--home/ebisu/fortune/system/terminal/default.nix12
-rw-r--r--home/ebisu/fortune/system/terminal/foot.nix49
-rw-r--r--home/ebisu/fortune/system/terminal/kitty.nix113
-rw-r--r--home/ebisu/fortune/system/tracing.nix8
-rw-r--r--home/ebisu/fortune/system/variables.nix102
-rw-r--r--home/ebisu/fortune/system/virtualisation/default.nix9
-rw-r--r--home/ebisu/fortune/system/virtualisation/docker.nix10
-rw-r--r--home/ebisu/fortune/system/xdg.nix33
24 files changed, 0 insertions, 1065 deletions
diff --git a/home/ebisu/fortune/system/default.nix b/home/ebisu/fortune/system/default.nix
deleted file mode 100644
index a30ffe1..0000000
--- a/home/ebisu/fortune/system/default.nix
+++ /dev/null
@@ -1,21 +0,0 @@
-{ pkgs, ... }:
-{
- imports = [
- ./encryption
- ./fonts
- ./shell
- ./terminal
- ./virtualisation
- ./peripheral.nix
- ./sops.nix
- ./ssh.nix
- ./tracing.nix
- ./variables.nix
- ./xdg.nix
- ];
-
- home.packages = with pkgs; [
- gnome-logs
- procs
- ];
-}
diff --git a/home/ebisu/fortune/system/encryption/bitwarden.nix b/home/ebisu/fortune/system/encryption/bitwarden.nix
deleted file mode 100644
index 2e5cb32..0000000
--- a/home/ebisu/fortune/system/encryption/bitwarden.nix
+++ /dev/null
@@ -1,8 +0,0 @@
-{ pkgs, ... }:
-{
- home.packages = with pkgs; [
- bitwarden-desktop
- # bitwarden-cli
- # bitwarden-menu
- ];
-}
diff --git a/home/ebisu/fortune/system/encryption/default.nix b/home/ebisu/fortune/system/encryption/default.nix
deleted file mode 100644
index 06b7c90..0000000
--- a/home/ebisu/fortune/system/encryption/default.nix
+++ /dev/null
@@ -1,7 +0,0 @@
-{ pkgs, ... }:
-{
- home.packages = with pkgs; [
- libsForQt5.ksshaskpass
- seahorse
- ];
-}
diff --git a/home/ebisu/fortune/system/fonts/default.nix b/home/ebisu/fortune/system/fonts/default.nix
deleted file mode 100644
index 0a7776f..0000000
--- a/home/ebisu/fortune/system/fonts/default.nix
+++ /dev/null
@@ -1,75 +0,0 @@
-{ pkgs, inputs, ... }:
-{
- imports = [ ./meowsans ];
-
- fonts = {
- fontconfig = {
- enable = true;
-
- defaultFonts = {
- serif = [
- "New York Medium"
- "Hiragino Sans"
- "JoyPixels"
- "Noto Color Emoji"
- "FontAwesome"
- ];
-
- sansSerif = [
- "SF Pro Text"
- "Hiragino Sans"
- "JoyPixels"
- "Noto Color Emoji"
- "FontAwesome"
- ];
-
- monospace = [
- "SF Mono"
- "Hiragino Sans"
- "JoyPixels"
- "FontAwesome"
- "Braille"
- ];
- };
- };
- };
-
- home.packages =
- with pkgs;
- with inputs.apple-fonts.packages.${pkgs.system};
- [
- source-code-pro
- source-han-sans
- noto-fonts
- noto-fonts-cjk-sans
- noto-fonts-cjk-serif
- noto-fonts-color-emoji
- lmodern
- hanazono
- jigmo
- iosevka
- libertine
- sarasa-gothic
- nerdfonts
- cantarell-fonts
- inter
- font-awesome
- joypixels
- hiragino-sans
- weather-icons
- material-design-icons
- meslo-lgs-nf
- sf-pro
- sf-pro-nerd
- sf-compact
- sf-compact-nerd
- sf-mono
- sf-mono-nerd
- sf-arabic
- sf-arabic-nerd
- ny
- ny-nerd
- ];
-
- nixpkgs.config.joypixels.acceptLicense = true;
-}
diff --git a/home/ebisu/fortune/system/fonts/meowsans/MeowSans_Font/MeowSans-Regular.ttf b/home/ebisu/fortune/system/fonts/meowsans/MeowSans_Font/MeowSans-Regular.ttf
deleted file mode 100644
index 0d12d34..0000000
--- a/home/ebisu/fortune/system/fonts/meowsans/MeowSans_Font/MeowSans-Regular.ttf
+++ /dev/null
Binary files differ
diff --git a/home/ebisu/fortune/system/fonts/meowsans/MeowSans_Font/MeowSans.ttf b/home/ebisu/fortune/system/fonts/meowsans/MeowSans_Font/MeowSans.ttf
deleted file mode 100644
index 8bb6c1a..0000000
--- a/home/ebisu/fortune/system/fonts/meowsans/MeowSans_Font/MeowSans.ttf
+++ /dev/null
Binary files differ
diff --git a/home/ebisu/fortune/system/fonts/meowsans/default.nix b/home/ebisu/fortune/system/fonts/meowsans/default.nix
deleted file mode 100644
index fbf57fc..0000000
--- a/home/ebisu/fortune/system/fonts/meowsans/default.nix
+++ /dev/null
@@ -1 +0,0 @@
-{ home.file.".local/share/fonts/MeowSans_Font".source = ./MeowSans_Font; }
diff --git a/home/ebisu/fortune/system/peripheral.nix b/home/ebisu/fortune/system/peripheral.nix
deleted file mode 100644
index 7b91dfe..0000000
--- a/home/ebisu/fortune/system/peripheral.nix
+++ /dev/null
@@ -1,7 +0,0 @@
-{ pkgs, ... }:
-{
- home.packages = with pkgs; [
- # openrgb
- solaar
- ];
-}
diff --git a/home/ebisu/fortune/system/shell/default.nix b/home/ebisu/fortune/system/shell/default.nix
deleted file mode 100644
index 05e84a7..0000000
--- a/home/ebisu/fortune/system/shell/default.nix
+++ /dev/null
@@ -1,21 +0,0 @@
-{ pkgs, ... }:
-{
- imports = [
- ./scripting
- ./fish.nix
- ./starship.nix
- ];
-
- home.packages = with pkgs; [
- asciinema
- navi
- shellclear
- watchexec
- zoxide
- shellcheck
- termius
- dash
- mosh
- killall
- ];
-}
diff --git a/home/ebisu/fortune/system/shell/fish.nix b/home/ebisu/fortune/system/shell/fish.nix
deleted file mode 100644
index ae002d9..0000000
--- a/home/ebisu/fortune/system/shell/fish.nix
+++ /dev/null
@@ -1,181 +0,0 @@
-{
- pkgs,
- config,
- secrets,
- ...
-}:
-{
- programs.fish = {
- enable = true;
-
- shellInit = ''
- if status is-interactive
- set fish_greeting
-
- fish_vi_key_bindings
-
- function fish_postexec --on-event fish_postexec
- if test "$argv" != "clear"
- echo
- end
- end
-
- function vpn
- env BIND_INTERFACE=wgpia0 LD_PRELOAD=/usr/lib/bindToInterface.so $argv
- end
-
- function nh
- if test "$argv[1]" = "home" -a "$argv[2]" = "switch"
- command nh $argv -- --impure
- else
- command nh $argv
- end
- end
-
- function nix-find
- doas find $argv -type f -exec test ! -L {} \; -exec realpath {} \; | grep -v "^/nix/store"
- end
-
- function code
- command code $argv --wait
- end
-
- function code!
- command code $argv
- end
- end
-
- set -l config_home (set -q XDG_CONFIG_HOME; and echo $XDG_CONFIG_HOME; or echo ${config.xdg.configHome})
- set HISTSIZE -1
- set HISTFILESIZE -1
- set SAVEHIST -1
- set GPG_TTY (tty)
-
- bind \ce edit_command_buffer
-
- cat ${config.xdg.cacheHome}/wal/sequences
-
- zoxide init fish | source
- '';
-
- plugins = [
- {
- name = "fzf.fish";
-
- src = pkgs.fetchFromGitHub {
- owner = "patrickf1";
- repo = "fzf.fish";
- rev = "8920367cf85eee5218cc25a11e209d46e2591e7a";
- sha256 = "sha256-T8KYLA/r/gOKvAivKRoeqIwE2pINlxFQtZJHpOy9GMM=";
- };
- }
- {
- name = "bass";
-
- src = pkgs.fetchFromGitHub {
- owner = "edc";
- repo = "bass";
- rev = "79b62958ecf4e87334f24d6743e5766475bcf4d0";
- sha256 = "sha256-3d/qL+hovNA4VMWZ0n1L+dSM1lcz7P5CQJyy+/8exTc=";
- };
- }
- {
- name = "nvm.fish";
-
- src = pkgs.fetchFromGitHub {
- owner = "jorgebucaran";
- repo = "nvm.fish";
- rev = "b8edb1ee24cbbf7259196b0cb3c6c4ab65b07929";
- sha256 = "sha256-7JxIQSseBv81SSpWH1pufx8fh9EQhbo3r2nVVREwc58=";
- };
- }
- {
- name = "sponge";
-
- src = pkgs.fetchFromGitHub {
- owner = "meaningful-ooo";
- repo = "sponge";
- rev = "384299545104d5256648cee9d8b117aaa9a6d7be";
- sha256 = "sha256-MdcZUDRtNJdiyo2l9o5ma7nAX84xEJbGFhAVhK+Zm1w=";
- };
- }
- {
- name = "autopair.fish";
-
- src = pkgs.fetchFromGitHub {
- owner = "jorgebucaran";
- repo = "autopair.fish";
- rev = "4d1752ff5b39819ab58d7337c69220342e9de0e2";
- sha256 = "sha256-qt3t1iKRRNuiLWiVoiAYOu+9E7jsyECyIqZJ/oRIT1A=";
- };
- }
- ];
-
- shellAliases =
- let
- proxyEnvironment = "http_proxy=$(cat ${
- config.sops.secrets."proxy/i2p/http".path
- }) HTTP_PROXY=$(cat ${config.sops.secrets."proxy/i2p/http".path}) https_proxy=$(cat ${
- config.sops.secrets."proxy/i2p/https".path
- }) HTTPS_PROXY=$(cat ${config.sops.secrets."proxy/i2p/https".path}) socks_proxy=$(cat ${
- config.sops.secrets."proxy/i2p/socks5".path
- }) SOCKS_PROXY=$(cat ${config.sops.secrets."proxy/i2p/socks5".path})";
- in
- {
- # Verbosity
- cp = "cp -iv";
- mv = "mv -iv";
- # rm = "rm -vI";
- bc = "bc -ql";
- rsync = "rsync -vrPlu";
- mkd = "mkdir -pv";
- yt = "yt-dlp --embed-metadata -i";
- yta = "yt -x -f bestaudio/best";
- ytt = "yt --skip-download --write-thumbnail";
- ffmpeg = "ffmpeg -hide_banner";
- wdic = "wdic --homophones --kanji --color --pager";
- hakuneko = "hakuneko-desktop --no-sandbox";
- fastfetch = "clear && /usr/bin/env fastfetch";
- wget = "wget --hsts-file=${config.xdg.dataHome}/wget-hsts";
- mosh = "mosh --predict=experimental";
-
- # Modern Alternatives & Alias Rewrites
- unzip = "ripunzip unzip-file";
- nvim = "lvim";
- vim = "lvim";
- vimdiff = "lvim -d";
- rm = "rip";
-
- # Colourise
- ls = "exa -h --no-quotes --color=auto --group-directories-first";
- grep = "grep --color=auto";
- diff = "diff --color=auto";
- ccat = "highlight --out-format=ansi";
- ip = "ip -color=auto";
-
- # Abbreviations
- ka = "killall";
- g = "git";
- sdn = "shutdown -h now";
- e = "$EDITOR";
- v = "$EDITOR";
- ff = "fastfetch";
-
- # Other
- chan = "chan-downloader -c 10";
- rotd = "systemctl --user restart opentabledriver.service";
- ks = "kaguya stream --user-agent 'Mozilla/5.0 (X11; Linux x86_64; rv:120.0) Gecko/20100101 Firefox/120.0'";
- def = "myougiden";
- suzuri = "SUZURI_MINIMAL=1 SUZURI_REVERSE=1 ${config.home.homeDirectory}/Documents/Code/Git/Fuwn/suzuri/suzuri";
- "5ch" = "html2md -i 'https://ff5ch.syoboi.jp/' -s section | glow";
- shinobu = "curl --silent https://shinobu.fuwn.workers.dev/shinobu -o /tmp/shinobu && feh /tmp/shinobu";
- auto_subtitle = "source ${config.home.homeDirectory}/Documents/Code/Git/Random/auto-subtitle/venv/bin/activate && auto_subtitle --model medium --task translate --srt_only True";
- steamy = "mangohud gamemoderun steam-runtime";
- koix = "koi -f";
- seamonkey = "${config.home.homeDirectory}/.local/src/seamonkey/seamonkey-bin";
- doom = "${config.xdg.configHome}/emacs/bin/doom";
- epiphany-i2p = "${proxyEnvironment} epiphany";
- eolie-i2p = "${proxyEnvironment} eolie";
- };
- };
-}
diff --git a/home/ebisu/fortune/system/shell/scripting/charmbracelet.nix b/home/ebisu/fortune/system/shell/scripting/charmbracelet.nix
deleted file mode 100644
index 367aa26..0000000
--- a/home/ebisu/fortune/system/shell/scripting/charmbracelet.nix
+++ /dev/null
@@ -1,11 +0,0 @@
-{ pkgs, ... }:
-{
- home.packages = with pkgs; [
- gum
- mods
- glow
- pop
- charm-freeze
- wishlist
- ];
-}
diff --git a/home/ebisu/fortune/system/shell/scripting/default.nix b/home/ebisu/fortune/system/shell/scripting/default.nix
deleted file mode 100644
index 7d18a39..0000000
--- a/home/ebisu/fortune/system/shell/scripting/default.nix
+++ /dev/null
@@ -1,20 +0,0 @@
-{ pkgs, ... }:
-{
- imports = [
- ./charmbracelet.nix
- ./ripgrep.nix
- ];
-
- programs.fzf.enable = true;
-
- home.packages = with pkgs; [
- mdcat
- moreutils
- pup
- inxi
- pv
- yad
- jq
- yj
- ];
-}
diff --git a/home/ebisu/fortune/system/shell/scripting/ripgrep.nix b/home/ebisu/fortune/system/shell/scripting/ripgrep.nix
deleted file mode 100644
index 5d221e3..0000000
--- a/home/ebisu/fortune/system/shell/scripting/ripgrep.nix
+++ /dev/null
@@ -1,5 +0,0 @@
-{ pkgs, ... }:
-{
- programs.ripgrep.enable = true;
- home.packages = with pkgs; [ ripgrep-all ];
-}
diff --git a/home/ebisu/fortune/system/shell/starship.nix b/home/ebisu/fortune/system/shell/starship.nix
deleted file mode 100644
index 4daeefc..0000000
--- a/home/ebisu/fortune/system/shell/starship.nix
+++ /dev/null
@@ -1,304 +0,0 @@
-{ pkgs, ... }:
-{
- home.packages = with pkgs; [ starship ];
-
- programs.starship = {
- enable = true;
- enableFishIntegration = true;
-
- # I CBA to update the formatting to match the rest of the expressions, since
- # this is a one-off that I tend to import over directly from starship.
- settings = {
- format = "[term%](bold green) ";
- right_format = "$character$all";
- add_newline = false;
-
- line_break = {
- disabled = true;
- };
-
- character = {
- success_symbol = "[i](bold green)";
- error_symbol = "[x](bold red)";
- vimcmd_symbol = "[n](bold green)";
- vimcmd_visual_symbol = "[v](bold green)";
- vimcmd_replace_symbol = "[R](bold green)";
- vimcmd_replace_one_symbol = "[r](bold green)";
- };
-
- git_commit = {
- tag_symbol = " tag ";
- };
-
- git_status = {
- ahead = ">";
- behind = "<";
- diverged = "<>";
- renamed = "r";
- deleted = "x";
- };
-
- aws = {
- symbol = "aws ";
- };
-
- azure = {
- symbol = "az ";
- };
-
- bun = {
- symbol = "bun ";
- };
-
- c = {
- symbol = "C ";
- };
-
- cobol = {
- symbol = "cobol ";
- };
-
- conda = {
- symbol = "conda ";
- };
-
- crystal = {
- symbol = "cr ";
- };
-
- cmake = {
- symbol = "cmake ";
- };
-
- daml = {
- symbol = "daml ";
- };
-
- dart = {
- symbol = "dart ";
- };
-
- deno = {
- symbol = "deno ";
- };
-
- dotnet = {
- symbol = ".NET ";
- };
-
- directory = {
- read_only = " ro";
- };
-
- docker_context = {
- symbol = "docker ";
- };
-
- elixir = {
- symbol = "exs ";
- };
-
- elm = {
- symbol = "elm ";
- };
-
- fennel = {
- symbol = "fnl ";
- };
-
- fossil_branch = {
- symbol = "fossil ";
- };
-
- gcloud = {
- symbol = "gcp ";
- };
-
- git_branch = {
- symbol = "git ";
- };
-
- golang = {
- symbol = "go ";
- };
-
- gradle = {
- symbol = "gradle ";
- };
-
- guix_shell = {
- symbol = "guix ";
- };
-
- hg_branch = {
- symbol = "hg ";
- };
-
- java = {
- symbol = "java ";
- };
-
- julia = {
- symbol = "jl ";
- };
-
- kotlin = {
- symbol = "kt ";
- };
-
- lua = {
- symbol = "lua ";
- };
-
- nodejs = {
- symbol = "nodejs ";
- };
-
- memory_usage = {
- symbol = "memory ";
- };
-
- meson = {
- symbol = "meson ";
- };
-
- nim = {
- symbol = "nim ";
- };
-
- nix_shell = {
- symbol = "nix ";
- };
-
- ocaml = {
- symbol = "ml ";
- };
-
- opa = {
- symbol = "opa ";
- };
-
- os = {
- symbols = {
- Alpaquita = "alq ";
- Alpine = "alp ";
- Amazon = "amz ";
- Android = "andr ";
- Arch = "rch ";
- Artix = "atx ";
- CentOS = "cent ";
- Debian = "deb ";
- DragonFly = "dfbsd ";
- Emscripten = "emsc ";
- EndeavourOS = "ndev ";
- Fedora = "fed ";
- FreeBSD = "fbsd ";
- Garuda = "garu ";
- Gentoo = "gent ";
- HardenedBSD = "hbsd ";
- Illumos = "lum ";
- Linux = "lnx ";
- Mabox = "mbox ";
- Macos = "mac ";
- Manjaro = "mjo ";
- Mariner = "mrn ";
- MidnightBSD = "mid ";
- Mint = "mint ";
- NetBSD = "nbsd ";
- NixOS = "nix ";
- OpenBSD = "obsd ";
- OpenCloudOS = "ocos ";
- openEuler = "oeul ";
- openSUSE = "osuse ";
- OracleLinux = "orac ";
- Pop = "pop ";
- Raspbian = "rasp ";
- Redhat = "rhl ";
- RedHatEnterprise = "rhel ";
- Redox = "redox ";
- Solus = "sol ";
- SUSE = "suse ";
- Ubuntu = "ubnt ";
- Unknown = "unk ";
- Windows = "win ";
- };
- };
-
- package = {
- symbol = "pkg ";
- };
-
- perl = {
- symbol = "pl ";
- };
-
- php = {
- symbol = "php ";
- };
-
- pijul_channel = {
- symbol = "pijul ";
- };
-
- pulumi = {
- symbol = "pulumi ";
- };
-
- purescript = {
- symbol = "purs ";
- };
-
- python = {
- symbol = "py ";
- };
-
- raku = {
- symbol = "raku ";
- };
-
- ruby = {
- symbol = "rb ";
- };
-
- rust = {
- symbol = "rs ";
- };
-
- scala = {
- symbol = "scala ";
- };
-
- spack = {
- symbol = "spack ";
- };
-
- solidity = {
- symbol = "solidity ";
- };
-
- status = {
- symbol = "[x](bold red) ";
- };
-
- sudo = {
- symbol = "sudo ";
- };
-
- swift = {
- symbol = "swift ";
- };
-
- typst = {
- symbol = "typst ";
- };
-
- terraform = {
- symbol = "terraform ";
- };
-
- zig = {
- symbol = "zig ";
- };
- };
- };
-}
diff --git a/home/ebisu/fortune/system/sops.nix b/home/ebisu/fortune/system/sops.nix
deleted file mode 100644
index e229626..0000000
--- a/home/ebisu/fortune/system/sops.nix
+++ /dev/null
@@ -1,22 +0,0 @@
-{ config, self, ... }:
-{
- sops = {
- gnupg.sshKeyPaths = [ ];
- defaultSopsFile = "${self}/secrets/${config.home.username}.yaml";
-
- age = {
- sshKeyPaths = [ ];
- keyFile = "${config.xdg.configHome}/sops/age/keys.txt";
- generateKey = false;
- };
-
- secrets = {
- openai_api_key = { };
- suzuri_token = { };
- bark_api_key = { };
- "proxy/i2p/http" = { };
- "proxy/i2p/https" = { };
- "proxy/i2p/socks5" = { };
- };
- };
-}
diff --git a/home/ebisu/fortune/system/ssh.nix b/home/ebisu/fortune/system/ssh.nix
deleted file mode 100644
index 6a47791..0000000
--- a/home/ebisu/fortune/system/ssh.nix
+++ /dev/null
@@ -1,46 +0,0 @@
-{ config, secrets, ... }:
-{
- programs.ssh = {
- enable = true;
- addKeysToAgent = "yes";
- serverAliveInterval = 60;
- serverAliveCountMax = 10;
-
- extraConfig = ''
- IgnoreUnknown UseKeychain
- UseKeychain yes
- IPQoS lowdelay throughput
- '';
-
- matchBlocks = {
- "akashi" = { };
- "himeji".user = "root";
- "watson".user = "root";
-
- "github.com" = {
- user = "git";
- identityFile = "${config.home.homeDirectory}/.ssh/id_rsa";
- };
-
- "aur.archlinux.org" = {
- user = "aur";
- identityFile = "${config.home.homeDirectory}/.ssh/aur";
- };
-
- "seti" = {
- user = "root";
- port = 2222;
- identityFile = "${config.home.homeDirectory}/.ssh/seti";
- };
-
- "oit" = {
- inherit (secrets.ssh.oit) hostname user;
- };
-
- "eu.nixbuild.net" = {
- port = 2222;
- identityFile = "${config.home.homeDirectory}/.ssh/id_ed25519.1";
- };
- };
- };
-}
diff --git a/home/ebisu/fortune/system/terminal/default.nix b/home/ebisu/fortune/system/terminal/default.nix
deleted file mode 100644
index 6cd5378..0000000
--- a/home/ebisu/fortune/system/terminal/default.nix
+++ /dev/null
@@ -1,12 +0,0 @@
-{ pkgs, ... }:
-{
- imports = [
- ./kitty.nix
- ./foot.nix
- ];
-
- home.packages = with pkgs; [
- cool-retro-term
- # warp-terminal
- ];
-}
diff --git a/home/ebisu/fortune/system/terminal/foot.nix b/home/ebisu/fortune/system/terminal/foot.nix
deleted file mode 100644
index 36fd525..0000000
--- a/home/ebisu/fortune/system/terminal/foot.nix
+++ /dev/null
@@ -1,49 +0,0 @@
-{
- programs.foot = {
- enable = false;
-
- settings = {
- main = {
- font = "SF Mono:size=12";
- font-bold = "SF Mono:size=12:weight=medium";
- font-italic = "SF Mono:size=12:slant=italic";
- font-bold-italic = "SF Mono:size=12:slant=italic:weight=medium";
-
- # Font Fine-tuning
- # vertical-letter-offset = -1;
- # line-height = 13;
- # underline-thickness = 0.6;
- # underline-offset = 2;
-
- # Styling
- bold-text-in-bright = "palette-based";
- pad = "15x15"; # "24x24"
-
- # Misc.
- resize-delay-ms = "0";
- term = "xterm";
- # locked-title = "yes";
- selection-target = "both";
- # workers = "0";
- # utmp-helper = "none";
- };
-
- url.osc8-underline = "always";
- bell.urgent = "yes";
- # scrollback.lines = "1000";
- mouse.hide-when-typing = "yes";
- key-bindings.clipboard-paste = "Control+v Control+Shift+v";
-
- tweak = {
- scaling-filter = "none";
- # font-monospace-warn = "no";
- # grapheme-width-method = "wcswidth";
- # grapheme-shaping = "no";
- };
-
- colors = {
- alpha = "0.8";
- };
- };
- };
-}
diff --git a/home/ebisu/fortune/system/terminal/kitty.nix b/home/ebisu/fortune/system/terminal/kitty.nix
deleted file mode 100644
index bf20b17..0000000
--- a/home/ebisu/fortune/system/terminal/kitty.nix
+++ /dev/null
@@ -1,113 +0,0 @@
-{ config, ... }:
-{
- programs.kitty = {
- enable = true;
-
- settings = {
- # Font
- # MesloLGS NF
- font_family = "SF Mono Light";
- bold_font = "SF Mono Medium";
- italic_font = "SF Mono Light Italic";
- bold_italic_font = "SF Mono Medium Italic";
- font_size = 12; # 13.5
-
- # Optimisation
- resize_debounce_time = 0;
- sync_to_monitor = true;
- repaint_delay = 0;
- input_delay = 0;
-
- # Style
- background_opacity = "0.8";
- window_border_width = 0;
- window_margin_width = 15;
- hide_window_decorations = "titlebar-only";
- include = "${config.xdg.cacheHome}/wal/colors-kitty.conf";
-
- # Cursor
- cursor_blink_interval = 0; # 0.5
- cursor_stop_blinking_after = 0; # 15
-
- # Other
- scrollback_pager = "less +G -R";
- wheel_scroll_multiplier = 5;
- click_interval = "0.5";
- select_by_word_characters = ":@-./_~?&=%+#";
- mouse_hide_wait = 0;
- enabled_layouts = "*";
- remember_window_size = false;
- macos_option_as_alt = false;
- allow_remote_control = true;
- confirm_os_window_close = 0;
- term = "xterm-kitty";
-
- # Bell
- visual_bell_duration = 0;
- enable_audio_bell = false;
-
- # URL Handling
- open_url_modifiers = "ctrl+shift";
- open_url_with = "default";
- };
-
- extraConfig = ''
- # Clipboard
- map super+v paste_from_clipboard
- map ctrl+shift+s paste_from_selection
- map super+c copy_to_clipboard
- map shift+insert paste_from_selection
-
- # Scrolling
- map ctrl+shift+up scroll_line_up
- map ctrl+shift+down scroll_line_down
- map ctrl+shift+k scroll_line_up
- map ctrl+shift+j scroll_line_down
- map ctrl+shift+page_up scroll_page_up
- map ctrl+shift+page_down scroll_page_down
- map ctrl+shift+home scroll_home
- map ctrl+shift+end scroll_end
- map ctrl+shift+h show_scrollback
-
- # Window management
- map super+n new_os_window
- map super+w close_window
- map ctrl+shift+enter new_window
- map ctrl+shift+] next_window
- map ctrl+shift+[ previous_window
- map ctrl+shift+f move_window_forward
- map ctrl+shift+b move_window_backward
- map ctrl+shift+` move_window_to_top
- map ctrl+shift+1 first_window
- map ctrl+shift+2 second_window
- map ctrl+shift+3 third_window
- map ctrl+shift+4 fourth_window
- map ctrl+shift+5 fifth_window
- map ctrl+shift+6 sixth_window
- map ctrl+shift+7 seventh_window
- map ctrl+shift+8 eighth_window
- map ctrl+shift+9 ninth_window
- map ctrl+shift+0 tenth_window
-
- # Tab management
- map ctrl+shift+right next_tab
- map ctrl+shift+left previous_tab
- map ctrl+shift+t new_tab
- map ctrl+shift+q close_tab
- map ctrl+shift+l next_layout
- map ctrl+shift+. move_tab_forward
- map ctrl+shift+, move_tab_backward
-
- # Miscellaneous
- map ctrl+shift+up increase_font_size
- map ctrl+shift+down decrease_font_size
- map ctrl+shift+backspace restore_font_size
-
- map ctrl+/ launch --allow-remote-control kitty +kitten kitty_search/search.py @active-kitty-window-id
- '';
- };
-
- # read the file, but remove the line with shell_integration
- # xdg.configFile."kitty/kitty.conf".text =
- # builtins.map (line: if builtins.match "shell_integration" line then "" else line) (builtins.split "\n" (builtins.readFile ~/.config/kitty/kitty.conf));
-}
diff --git a/home/ebisu/fortune/system/tracing.nix b/home/ebisu/fortune/system/tracing.nix
deleted file mode 100644
index 9a96847..0000000
--- a/home/ebisu/fortune/system/tracing.nix
+++ /dev/null
@@ -1,8 +0,0 @@
-{ pkgs, ... }:
-{
- home.packages = with pkgs; [
- strace
- bpftrace
- lsof
- ];
-}
diff --git a/home/ebisu/fortune/system/variables.nix b/home/ebisu/fortune/system/variables.nix
deleted file mode 100644
index c958b85..0000000
--- a/home/ebisu/fortune/system/variables.nix
+++ /dev/null
@@ -1,102 +0,0 @@
-{
- pkgs,
- config,
- flakeDirectory,
- lib,
- ...
-}:
-{
- home.sessionVariables = {
- # https://github.com/nix-community/home-manager/issues/354#issuecomment-475803163
- LOCALES_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive";
- FLAKE = flakeDirectory;
-
- # Default programs
- EDITOR = "lvim";
- TERMINAL = "kitty";
- TERMINAL_PROG = "kitty";
- BROWSER = "zen";
- FLAKE_EDITOR = "${lib.getExe pkgs.zed-editor}";
-
- # Home directory clean-up
- # https://github.com/NixOS/nixpkgs/issues/224525#issuecomment-1945290961
- XDG_DATA_HOME = "${config.xdg.dataHome}";
- XDG_CONFIG_HOME = "${config.xdg.configHome}";
- XDG_STATE_HOME = "${config.xdg.stateHome}";
- XDG_CACHE_HOME = "${config.xdg.cacheHome}";
- NOTMUCH_CONFIG = "${config.xdg.configHome}/notmuch-config";
- # GTK2_RC_FILES = "${config.xdg.configHome}/gtk-2.0/gtkrc-2.0";
- WGETRC = "${config.xdg.configHome}/wget/wgetrc";
- INPUTRC = "${config.xdg.configHome}/shell/inputrc";
- ZDOTDIR = "${config.xdg.configHome}/zsh";
- # GNUPGHOME="${config.xdg.dataHome}/gnupg";
- WINEPREFIX = "${config.xdg.dataHome}/wineprefixes/default";
- KODI_DATA = "${config.xdg.dataHome}/kodi";
- PASSWORD_STORE_DIR = "${config.xdg.dataHome}/password-store";
- TMUX_TMPDIR = "$XDG_RUNTIME_DIR";
- ANDROID_SDK_HOME = "${config.xdg.configHome}/android";
- CARGO_HOME = "${config.xdg.dataHome}/cargo";
- GOPATH = "${config.xdg.dataHome}/go";
- GOMODCACHE = "${config.xdg.cacheHome}/go/mod";
- ANSIBLE_CONFIG = "${config.xdg.configHome}/ansible/ansible.cfg";
- UNISON = "${config.xdg.dataHome}/unison";
- HISTFILE = "${config.xdg.stateHome}/bash/history";
- MBSYNCRC = "${config.xdg.configHome}/mbsync/config";
- ELECTRUMDIR = "${config.xdg.dataHome}/electrum";
- PYTHONSTARTUP = "${config.xdg.configHome}/python/pythonrc";
- SQLITE_HISTORY = "${config.xdg.dataHome}/sqlite_history";
- WAKATIME_HOME = "${config.xdg.configHome}/wakatime";
- NVM_DIR = "${config.xdg.dataHome}/nvm";
- CUDA_CACHE_PATH = "${config.xdg.cacheHome}/nv";
- DOCKER_CONFIG = "${config.xdg.configHome}/docker";
- RUSTUP_HOME = "${config.xdg.dataHome}/rustup";
- NUGET_PACKAGES = "${config.xdg.cacheHome}/NuGetPackages";
- KERAS_HOME = "${config.xdg.stateHome}/keras";
- PARALLEL_HOME = "${config.xdg.configHome}/parallel";
- _JAVA_OPTIONS = "-Djava.util.prefs.userRoot=${config.xdg.configHome}/java";
- NPM_CONFIG_USERCONFIG = "${config.xdg.configHome}/npm/npmrc";
- NODE_REPL_HISTORY = "${config.xdg.dataHome}/node_repl_history";
- MPLAYER_HOME = "${config.xdg.configHome}/mplayer";
- BUNDLE_PATH = "${config.home.homeDirectory}/.gems";
- STEAM_APP_DIR = "${config.home.homeDirectory}/.steam";
- ANDROID_USER_HOME = "${config.xdg.dataHome}/android";
- ASDF_DATA_DIR = "${config.xdg.dataHome}/asdf";
- CABAL_CONFIG = "${config.xdg.configHome}/cabal/config";
- CABAL_DIR = "${config.xdg.dataHome}/cabal";
- DOTNET_CLI_HOME = "${config.xdg.dataHome}/dotnet";
- GRADLE_USER_HOME = "${config.xdg.dataHome}/gradle";
- NIMBLE_DIR = "${config.xdg.dataHome}/nimble";
- REDISCLI_HISTFILE = "${config.xdg.dataHome}/redis/rediscli_history";
- STACK_ROOT = "${config.xdg.dataHome}/stack";
- STACK_XDG = 1;
- PYHTHON_HISTORY = "${config.xdg.stateHome}/python_history";
-
- # Other program settings
- FZF_DEFAULT_OPTS = "--layout=reverse --height 40%";
- LESS = "R";
- LESS_TERMCAP_mb = "$(printf '%b' '')";
- LESS_TERMCAP_md = "$(printf '%b' '')";
- LESS_TERMCAP_me = "$(printf '%b' '')";
- LESS_TERMCAP_so = "$(printf '%b' '')";
- LESS_TERMCAP_se = "$(printf '%b' '')";
- LESS_TERMCAP_us = "$(printf '%b' '')";
- LESS_TERMCAP_ue = "$(printf '%b' '')";
- LESSOPEN = "| highlight -O ansi %s 2>/dev/null";
- QT_QPA_PLATFORMTHEME = "gtk2";
- MOZ_USE_XINPUT2 = "1";
- AWT_TOOLKIT = "MToolkit wmname LG3D";
- _JAVA_AWT_WM_NONREPARENTING = 1;
- OPENAI_API_KEY = "$(cat ${config.sops.secrets.openai_api_key.path})";
- NNN_FIFO = "/tmp/nnn.fifo";
- _Z_DATA = "${config.xdg.dataHome}/z";
- W3M_DIR = "${config.xdg.dataHome}/w3m";
- VMODULES = "${config.xdg.dataHome}/vmodules";
- TEXMFVAR = "${config.xdg.cacheHome}/texlive/texmf-var";
- BUNDLE_USER_CONFIG = "${config.xdg.configHome}/bundle";
- BUNDLE_USER_CACHE = "${config.xdg.cacheHome}/bundle";
- BUNDLE_USER_PLUGIN = "${config.xdg.dataHome}/bundle";
- PSQL_HISTORY = "${config.xdg.dataHome}/psql_history";
- PKG_CACHE_PATH = "${config.xdg.cacheHome}/pkg-cache";
- SUZURI_TOKEN = "$(cat ${config.sops.secrets.suzuri_token.path})";
- };
-}
diff --git a/home/ebisu/fortune/system/virtualisation/default.nix b/home/ebisu/fortune/system/virtualisation/default.nix
deleted file mode 100644
index bc74b7e..0000000
--- a/home/ebisu/fortune/system/virtualisation/default.nix
+++ /dev/null
@@ -1,9 +0,0 @@
-{ pkgs, ... }:
-{
- imports = [ ./docker.nix ];
- home.packages = with pkgs; [
- bottles
- wine
- wine-staging
- ];
-}
diff --git a/home/ebisu/fortune/system/virtualisation/docker.nix b/home/ebisu/fortune/system/virtualisation/docker.nix
deleted file mode 100644
index 737ef3d..0000000
--- a/home/ebisu/fortune/system/virtualisation/docker.nix
+++ /dev/null
@@ -1,10 +0,0 @@
-{ pkgs, ... }:
-{
- home.packages = with pkgs; [
- act
- earthly
- dive
- docker-slim
- docker-credential-helpers
- ];
-}
diff --git a/home/ebisu/fortune/system/xdg.nix b/home/ebisu/fortune/system/xdg.nix
deleted file mode 100644
index 7a0bf32..0000000
--- a/home/ebisu/fortune/system/xdg.nix
+++ /dev/null
@@ -1,33 +0,0 @@
-{ pkgs, config, ... }:
-{
- home.packages = with pkgs; [
- xdg-utils
- xdg-ninja
- ];
-
- xdg = {
- enable = true;
- cacheHome = "${config.home.homeDirectory}/.cache";
- configHome = "${config.home.homeDirectory}/.config";
- dataHome = "${config.home.homeDirectory}/.local/share";
- stateHome = "${config.home.homeDirectory}/.local/state";
-
- userDirs = {
- enable = pkgs.stdenv.isLinux;
- createDirectories = true;
- download = "${config.home.homeDirectory}/Downloads";
- desktop = "${config.home.homeDirectory}/Desktop";
- documents = "${config.home.homeDirectory}/Documents";
- publicShare = null; # "${config.home.homeDirectory}/Public";
- templates = null; # "${config.home.homeDirectory}/Templates";
- music = "${config.home.homeDirectory}/Music";
- pictures = "${config.home.homeDirectory}/Pictures";
- videos = "${config.home.homeDirectory}/Videos";
-
- extraConfig = {
- XDG_SCREENSHOTS_DIR = "${config.xdg.userDirs.pictures}/Screenshots";
- XDG_MAIL_DIR = "${config.home.homeDirectory}/Mail";
- };
- };
- };
-}