feat(macos): remove sketchybar, add element

This commit is contained in:
winston 2023-04-26 04:59:37 +02:00
parent be4102514d
commit b042cb3358
Signed by: winston
GPG key ID: 3786770EDBC2B481
3 changed files with 9 additions and 16 deletions

View file

@ -42,8 +42,7 @@ in {
window_placement second_child \ window_placement second_child \
window_shadow float \ window_shadow float \
active_window_border_color 0xfff5c2e7 \ active_window_border_color 0xfff5c2e7 \
normal_window_border_color 0xffcba6f7 \ normal_window_border_color 0xffcba6f7
external_bar all:32:0
# auto-inject scripting additions # auto-inject scripting additions
yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa" yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"

View file

@ -2,12 +2,14 @@
homebrew = { homebrew = {
enable = true; enable = true;
caskArgs.require_sha = true; caskArgs.require_sha = true;
onActivation.autoUpdate = true; onActivation = {
onActivation.upgrade = true; autoUpdate = true;
cleanup = "uninstall";
upgrade = true;
};
brews = [ brews = [
"koekeishiya/formulae/yabai" "koekeishiya/formulae/yabai"
"koekeishiya/formulae/skhd" "koekeishiya/formulae/skhd"
"felixkratz/formulae/sketchybar"
]; ];
casks = let casks = let
skipSha = name: { skipSha = name: {
@ -49,6 +51,7 @@
(skipSha "affinity-designer") (skipSha "affinity-designer")
(skipSha "affinity-photo") (skipSha "affinity-photo")
(skipSha "affinity-publisher") (skipSha "affinity-publisher")
(skipSha "element")
(skipSha "sizzy") (skipSha "sizzy")
# drivers # drivers
@ -61,7 +64,6 @@
"homebrew/cask-drivers" "homebrew/cask-drivers"
"homebrew/services" "homebrew/services"
"koekeishiya/formulae" "koekeishiya/formulae"
"felixkratz/formulae"
]; ];
}; };
} }

View file

@ -15,7 +15,6 @@
in { in {
computerName = name; computerName = name;
hostName = name; hostName = name;
localHostName = name;
}; };
# Used for backwards compatibility, please read the changelog before changing. # Used for backwards compatibility, please read the changelog before changing.
@ -25,13 +24,6 @@
security.pam.enableSudoTouchIdAuth = true; security.pam.enableSudoTouchIdAuth = true;
system.defaults.alf.stealthenabled = 1; system.defaults.alf.stealthenabled = 1;
services = { # Auto upgrade nix package and the daemon service.
# Auto upgrade nix package and the daemon service. services.nix-daemon.enable = true;
nix-daemon.enable = true;
dnsmasq = {
enable = true;
addresses."test" = "127.0.0.1";
bind = "127.0.0.1";
};
};
} }