Install sway-home config

Clone the repository

GIT_URL=https://github.com/EnigmaCurry/sway-home.git
GIT_REPO=~/git/vendor/enigmacurry/sway-home
nix-shell -p git --run "git clone ${GIT_URL} ${GIT_REPO}"

Create the host configuration

USERNAME=your_user
GIT_REPO=~/git/vendor/enigmacurry/sway-home
JUST_JUSTFILE=${GIT_REPO}/Justfile \
    nix-shell -p just -p python3 -p git --run "USERNAME=${USERNAME} just add-host && git -C $GIT_REPO add nixos/hosts"

Apply the configuration

GIT_REPO=~/git/vendor/enigmacurry/sway-home
JUST_JUSTFILE=${GIT_REPO}/Justfile \
    nix-shell -p just --run 'just switch'

Log into your new account

It’s ready to use.