update
This commit is contained in:
parent
011d913c3b
commit
8132ea8455
6 changed files with 47 additions and 2 deletions
|
|
@ -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"
|
||||
];
|
||||
})
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
./gui.nix
|
||||
./latex.nix
|
||||
./ssh
|
||||
./shell.nix
|
||||
./shell
|
||||
./neovim
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -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
20
home/shell/bin/b
Executable 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
|
||||
|
|
@ -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}
|
||||
|
|
@ -52,6 +52,8 @@
|
|||
drawio = true;
|
||||
soulver = true;
|
||||
pika = true;
|
||||
transmission = true;
|
||||
alt-tab = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue