Skip to content

Commit

Permalink
chore: misc
Browse files Browse the repository at this point in the history
  • Loading branch information
yqrashawn committed Jun 14, 2023
1 parent 5ab66b5 commit 15a67c0
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 4 deletions.
10 changes: 9 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,15 @@
extraModules = [
./profiles/yqrashawn.nix
./modules/yqrashawn/darwin/apps.nix
./modules/yqrashawn/darwin/apps-minimal.nix
{ homebrew.brewPrefix = "/opt/homebrew/bin"; }
];
};
mini = mkDarwinConfig {
system = "aarch64-darwin";
extraModules = [
./profiles/yqrashawn.nix
./modules/yqrashawn/darwin/daemons/tailscale.nix
./modules/yqrashawn/darwin/apps.nix
{ homebrew.brewPrefix = "/opt/homebrew/bin"; }
];
};
Expand Down
1 change: 1 addition & 0 deletions modules/yqrashawn/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ in {
qbittorrent
adguardhome
tailscale
cloudflared
# todoist-electron
todoist
zoom-us
Expand Down
2 changes: 1 addition & 1 deletion modules/yqrashawn/darwin/brew.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
# "proxychains-ng"
"datalevin"
"dotenv-linter"
"cloudflared"
# "cloudflared"
"janet"
"pngpaste"
];
Expand Down
8 changes: 8 additions & 0 deletions modules/yqrashawn/darwin/daemons/tailscale.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
launchd.daemons.tailscaled = {
serviceConfig = {
Label = "com.tailscale.tailscaled";
EnvironmentVariables = {
http_proxy = "http://127.0.0.1:6152";
https_proxy = "http://127.0.0.1:6152";
all_proxy = "socks5://127.0.0.1:6153";
HTTP_PROXY = "http://127.0.0.1:6152";
HTTPS_PROXY = "http://127.0.0.1:6152";
ALL_PROXY = "socks5://127.0.0.1:6153";
};
ProgramArguments = [
"/bin/sh"
"-c"
Expand Down
Binary file modified modules/yqrashawn/home-manager/dotfiles/.authinfo.gpg
Binary file not shown.
5 changes: 3 additions & 2 deletions modules/yqrashawn/home-manager/dotfiles/karabiner.edn
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,9 @@
[:quote [:togg "ClickUp"]]
;; [:t [:togg "Todoist"] :BusyCal]
;; [:t [:togg "BusyCal"] :!BusyCal]
[:t [:togg "BusyCal"] :Todoist]
[:t [:togg "Todoist"] :!Todoist]
[:t [:togg "BusyCal"]]
;; [:t [:togg "BusyCal"] :Todoist]
;; [:t [:togg "Todoist"] :!Todoist]
;; [:p [:togg "Adobe Photoshop 2022"]]
[:p [:togg "Figma"]]
;; [:l [:f16 :!Sg :o :o :g :l :e :spacebar :!Sc :h :r :o :m :e
Expand Down

0 comments on commit 15a67c0

Please sign in to comment.