main
earnest ma 2022-07-06 13:52:32 -04:00
parent c8e79ac11b
commit 400251c08f
Signed by: earnest ma
GPG Key ID: A343F43342EB6E2A
3 changed files with 23 additions and 0 deletions

14
.sd/nix/sync Executable file
View File

@ -0,0 +1,14 @@
#!/usr/bin/env bash
# make user environment match ~/.dotfiles/user.nix
#
# This will remove any packages you've installed with nix-env
# but have not added to user.nix. To see exactly what this
# will do, run:
#
# sd nix diff
# https://github.com/ianthehenry/sd-nix/blob/master/sync
set -euo pipefail
nix-env -irf ~/.dotfiles/user.nix

6
user.nix Normal file
View File

@ -0,0 +1,6 @@
with import <nixpkgs> {}; [
ghq
onefetch
nodejs
nix
]

View File

@ -138,6 +138,9 @@ miniplug theme 'tjquillan/pastel'
miniplug load miniplug load
export SD_ROOT="$HOME/.dotfiles/.sd"
export SD_CAT=bat
# auto cd must be set later # auto cd must be set later
setopt AUTO_CD setopt AUTO_CD