try to migrate to nix

This commit is contained in:
kp2pml30 2025-01-11 20:48:22 +04:00
parent f2f4ead62f
commit 94da1ce936
26 changed files with 830 additions and 181 deletions

10
scripts/git-config.sh Executable file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -ex
git config --global init.defaultBranch main
git lfs install
git config --global user.email kp2pml30@gmail.com
git config --global user.name kp2pml30

9
scripts/set-config-symlinks.sh Executable file
View file

@ -0,0 +1,9 @@
#!/bin/bash
set -ex
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
cd "$SCRIPT_DIR/.."
stow --no-folding --target "$HOME" --dir "$SCRIPT_DIR" home