diff --git a/README.md b/README.md index e0a673f..769ab35 100644 --- a/README.md +++ b/README.md @@ -8,3 +8,11 @@ - **secrets**: Age-encrypted secrets shared between multiple hosts. Host-specific secrets are stored in their own directories. - **system**: Base NixOS modules shared among all hosts + +## Dotfiles + +### Linking with dotbotc (for windows) + +```sh +dotbot -c ./dotbot/windows.yaml -d home +``` diff --git a/dotbot/windows.yaml b/dotbot/windows.yaml new file mode 100644 index 0000000..1750fde --- /dev/null +++ b/dotbot/windows.yaml @@ -0,0 +1,8 @@ +- defaults: + link: + relink: true + +- link: + ~/AppData/Roaming/helix/config.toml: .config/helix/config.toml + ~/AppData/Roaming/jj/config.toml: .config/jj/config.toml + ~/AppData/Roaming/nushell/config.nu: .config/nushell/config.nu diff --git a/home/.config/nushell/config.nu b/home/.config/nushell/config.nu new file mode 100644 index 0000000..6ff67b6 --- /dev/null +++ b/home/.config/nushell/config.nu @@ -0,0 +1,9 @@ +alias ls = eza +alias ll = eza -l +alias lla = eza -la +alias h = hx +alias g = git + +# Load starship prompt +mkdir ($nu.data-dir | path join "vendor/autoload") +starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")