aboutsummaryrefslogtreecommitdiff
path: root/README
blob: f70ea15101456c66e30751ca786a6963ec99796e (plain) (blame)
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
dotfiles as of Decmeber 2021 use chezmoi instead of a 10+ year old
Makefile.

    cp chezmoi.toml.censored ~/.config/chezmoi/chezmoi.toml

After a checkout, don't forget to run

    git config core.hooksPath .githooks

To get the submodules setup, run

    git submodule init
    git submodule update

To push to self-host and github, add the following to .git/config

[remote "origin"]
        url = git@github.com:ryanakca/ryanakca-dotfiles.git
        url = hades.rak.ac:public_git/ryanakca-dotfiles.git
        fetch = +refs/heads/*:refs/remotes/origin/*

To install fonts:

    make -C fonts install

To install emacs packages:

    make -C emacsen
    make -C emacsen install

To update Debian known hosts:

    gmake udh

For a new OpenBSD host:

    pkg_add chezmoi git
    pkg_add -l packages-openbsd
    mkdir -p ~/.cabal/bin
    cabal update # for xmonad
    xmonad --recompile

For a generic new host HOST:

    mkdir -p ~/.ssh/keys/${HOST}
    ssh-keygen -t ed25519 -f ~/.ssh/keys/${HOST}/id_ed25519
    # sign ~/.ssh/keys/${HOST}/id_ed25519.pub



#####

On Debian:

sudo useradd _greetd video

sudo ./etc/resolv.conf

edit etc/network-setup.sh and run it