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_shadow float \
active_window_border_color 0xfff5c2e7 \
normal_window_border_color 0xffcba6f7 \
external_bar all:32:0
normal_window_border_color 0xffcba6f7
# auto-inject scripting additions
yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"

View file

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

View file

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