diff options
Diffstat (limited to 'macos.local/flake/home')
-rw-r--r-- | macos.local/flake/home/core.nix.org | 8 | ||||
-rw-r--r-- | macos.local/flake/home/programs/core.nix.org | 1 | ||||
-rw-r--r-- | macos.local/flake/home/scripts/backup-org.sh.org | 13 | ||||
-rw-r--r-- | macos.local/flake/home/scripts/core.nix.org | 4 |
4 files changed, 26 insertions, 0 deletions
diff --git a/macos.local/flake/home/core.nix.org b/macos.local/flake/home/core.nix.org index f92adc3..4beefd8 100644 --- a/macos.local/flake/home/core.nix.org +++ b/macos.local/flake/home/core.nix.org @@ -24,6 +24,14 @@ Set up home manager for my user account and import submodules. Define my user as "$HOME/.local/bin" "/usr/local/bin" "/opt/homebrew/bin" + "/opt/homebrew/sbin" ]; + + home.sessionSearchVariables = { + MANPATH = [ + "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/share/man" + "/usr/share/man" + ]; + }; } #+end_src diff --git a/macos.local/flake/home/programs/core.nix.org b/macos.local/flake/home/programs/core.nix.org index 835970f..2e79a50 100644 --- a/macos.local/flake/home/programs/core.nix.org +++ b/macos.local/flake/home/programs/core.nix.org @@ -23,6 +23,7 @@ Import configurations for programs and install programs with no configuration. cmake cmake-language-server curl + dasel dos2unix eza ffmpeg diff --git a/macos.local/flake/home/scripts/backup-org.sh.org b/macos.local/flake/home/scripts/backup-org.sh.org new file mode 100644 index 0000000..9eb646a --- /dev/null +++ b/macos.local/flake/home/scripts/backup-org.sh.org @@ -0,0 +1,13 @@ +#+title: Backup Org + +Backup my =~org= directory. +#+begin_src sh + #!/bin/sh + + dir="$(pwd)" + cd /Users/jjanzen/org/ || exit + git add -A + git commit -m 'backup' + git push + cd "$dir" || exit +#+end_src diff --git a/macos.local/flake/home/scripts/core.nix.org b/macos.local/flake/home/scripts/core.nix.org index e53c38c..a791e83 100644 --- a/macos.local/flake/home/scripts/core.nix.org +++ b/macos.local/flake/home/scripts/core.nix.org @@ -18,6 +18,10 @@ Import various scripts useful on my system. executable = true; source = ./remove-quarantine; }; + "./.local/bin/backup-org.sh" = { + executable = true; + source = ./backup-org.sh; + }; }; } #+end_src |