Skip to content

ryanakca/ryanakca-dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 = [email protected]: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