blob: 3e07f2ed7b5fe36f7a8e0d11c382cd28ae08f5d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
########################################################
# #
# __ _ _ _ #
# _ __ ___ / _(_)___(_)___( ) #
# | '_ \/ __| |_| / __| / __|/ #
# | | | \__ \ _| \__ \ \__ \ #
# |_| |_|___/_| |_|___/_|___/ #
# _ _ __ _ _ #
# __| | ___ | |_ / _(_) | ___ ___ #
# / _` |/ _ \| __| |_| | |/ _ \/ __| #
# | (_| | (_) | |_| _| | | __/\__ \ #
# \__,_|\___/ \__|_| |_|_|\___||___/ #
# #
# #
########################################################
# 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 ".#<host>"`
# Garbage Collection
2. `home-manager expire-generations '-1 month'`
3. `nix profile wipe-history`
4. `nix store gc`
|