This commit is contained in:
Ray Andrew 2025-06-07 21:33:23 -07:00
parent 011d913c3b
commit 8132ea8455
Signed by: rayandrew
SSH key fingerprint: SHA256:XYrYrxF0Z3A72n8P/p6mqPRNQZT22F88XcLsG+kX4xw
6 changed files with 47 additions and 2 deletions

View file

@ -48,6 +48,8 @@
parsify = mkEnableOption "Enable Parsify";
soulver = mkEnableOption "Enable Soulver";
pika = mkEnableOption "Enable Pika";
transmission = mkEnableOption "Enable Transmission";
alt-tab = mkEnableOption "Enable Alt-Tab";
};
config = lib.mkMerge [
@ -273,5 +275,15 @@
"pika"
];
})
(lib.mkIf config.custom.brew.transmission {
homebrew.casks = [
"transmission"
];
})
(lib.mkIf config.custom.brew.alt-tab {
homebrew.casks = [
"alt-tab"
];
})
];
}

View file

@ -15,7 +15,7 @@
./gui.nix
./latex.nix
./ssh
./shell.nix
./shell
./neovim
];

View file

@ -47,7 +47,7 @@
(cond
((eq system-type 'windows-nt) "Consolas-11")
((eq system-type 'gnu/linux) "Consolas-11")
((eq system-type 'darwin) "Consolas-14")))
((eq system-type 'darwin) "Consolas-12")))
;; (defun rs/get-default-font ()
;; (cond

20
home/shell/bin/b Executable file
View file

@ -0,0 +1,20 @@
#!/usr/bin/env sh
# https://github.com/soulim/bookmarks.txt/blob/main/bin/bookmarks
set -o errexit
set -o nounset
url=${1:-}
title=${2:-}
global="$HOME/Personal/bookmarks.txt"
if [ -n "$url" ]
then
echo "$url $title" >> $global
else
local="$PWD/bookmarks.txt"
(cat "$global" "$local" 2>/dev/null || true) | fzf | cut -d ' ' -f 1 | xargs open
fi

View file

@ -45,6 +45,17 @@
};
config = {
# xdg.configFile."emacs".source = config.lib.file.mkOutOfStoreSymlink "${dots}/home/emacs/config";
programs.bash = {
bashrcExtra = lib.mkAfter ''
export PATH="${dots}/home/shell/bin:$PATH"
'';
};
programs.zsh = {
initExtra = lib.mkAfter ''
export PATH="${dots}/home/shell/bin:$PATH"
'';
};
# programs.bash = lib.mkIf (config.custom.shell.additionalSourceFile != null) {
# bashrcExtra = lib.mkAfter ''
# source ${config.custom.shell.additionalSourceFile}

View file

@ -52,6 +52,8 @@
drawio = true;
soulver = true;
pika = true;
transmission = true;
alt-tab = true;
};
};