From d0fa7e3aab664b007d164f8a2b15c33977d80f67 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 7 Aug 2024 12:45:07 +0900 Subject: chore: add README --- README | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 README (limited to 'README') diff --git a/README b/README new file mode 100644 index 0000000..c7cc11a --- /dev/null +++ b/README @@ -0,0 +1,69 @@ +######################################################## +# # +# __ _ _ _ # +# _ __ ___ / _(_)___(_)___( ) # +# | '_ \/ __| |_| / __| / __|/ # +# | | | \__ \ _| \__ \ \__ \ # +# |_| |_|___/_| |_|___/_|___/ # +# _ _ __ _ _ # +# __| | ___ | |_ / _(_) | ___ ___ # +# / _` |/ _ \| __| |_| | |/ _ \/ __| # +# | (_| | (_) | |_| _| | | __/\__ \ # +# \__,_|\___/ \__|_| |_|_|\___||___/ # +# # +# # +######################################################## + + + +# Install + +## Hotaru + +``` +$ sudo apt update +$ sudo apt upgrade + +$ ./bootstrap hotaru + +$ sudo adduser $(whoami) docker + +$ cargo install alacritty + +$ cd ~/src/reparojson +$ cargo install --path . +``` + +## PC 168 + +``` +$ brew update +$ brew upgrade + +$ brew install libiconv + +$ ./bootstrap pc168 + +$ brew install --cask alacritty + +# Latest version: https://github.com/adobe-fonts/source-han-code-jp/releases/latest +$ curl -fLo ~/Library/Fonts/SourceHanCodeJP.ttc --create-dirs https://github.com/adobe-fonts/source-han-code-jp/releases/download/2.012R/SourceHanCodeJP.ttc +$ sudo atsutil databases -remove + +$ /usr/local/opt/ncurses/bin/infocmp tmux-256color > /var/tmp/tmux-256color.info +$ tic -xe tmux-256color /var/tmp/tmux-256color.info + +# Restart your machine. +``` + +# Update + +1. `nix flake update` +2. `home-manager switch --flake ".#"` + +# Garbage Collection + +1. `home-manager generations` +2. `home-manager expire-generations TIMESTAMP` +3. `nix profile wipe-history` +4. `nix store gc` -- cgit v1.2.3-70-g09d2