Skip to content

Commit 4107edc

Browse files
committed
Update local desktop and secrets configuration
1 parent f3fd6a7 commit 4107edc

13 files changed

Lines changed: 161 additions & 141 deletions

File tree

dotfiles/claude/settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
"superpowers@superpowers-marketplace": true,
1616
"agent-browser@agent-browser": true
1717
},
18-
"skipDangerousModePermissionPrompt": true,
19-
"effortLevel": "high"
18+
"effortLevel": "high",
19+
"skipDangerousModePermissionPrompt": true
2020
}

dotfiles/codex/config.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,12 @@ trust_level = "trusted"
8888
[projects."/home/imalison/Projects/rofi-systemd"]
8989
trust_level = "trusted"
9090

91+
[projects."/home/imalison/Projects/map-quiz"]
92+
trust_level = "trusted"
93+
94+
[projects."/run/media/imalison/NETDEBUGUSB"]
95+
trust_level = "trusted"
96+
9197
[notice]
9298
hide_gpt5_1_migration_prompt = true
9399
"hide_gpt-5.1-codex-max_migration_prompt" = true

dotfiles/config/taffybar/end-widget-colors.css

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,56 +38,53 @@
3838

3939
/* --- Color rotation rules --- */
4040

41+
.outer-pad.end-widget,
42+
.outer-pad.sni-tray {
43+
background-image: none;
44+
box-shadow:
45+
inset 0 1px 0 rgba(255, 255, 255, 0.10),
46+
inset 0 0 0 1px rgba(255, 255, 255, 0.10),
47+
0 10px 24px rgba(0, 0, 0, 0.30);
48+
}
49+
4150
/* Slot 1: indigo */
4251
.outer-pad.end-widget.end-slot-1 {
4352
background-color: @end-color-1-bg;
44-
background-image: none;
4553
border-color: @end-color-1-border;
4654
color: @end-color-1-fg;
47-
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 24px rgba(0, 0, 0, 0.30);
4855
}
4956

5057
/* Slot 2: purple */
5158
.outer-pad.end-widget.end-slot-2 {
5259
background-color: @end-color-2-bg;
53-
background-image: none;
5460
border-color: @end-color-2-border;
5561
color: @end-color-2-fg;
56-
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 24px rgba(0, 0, 0, 0.30);
5762
}
5863

5964
/* Slot 3: emerald */
6065
.outer-pad.end-widget.end-slot-3 {
6166
background-color: @end-color-3-bg;
62-
background-image: none;
6367
border-color: @end-color-3-border;
6468
color: @end-color-3-fg;
65-
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 24px rgba(0, 0, 0, 0.30);
6669
}
6770

6871
/* Slot 4: teal */
6972
.outer-pad.end-widget.end-slot-4 {
7073
background-color: @end-color-4-bg;
71-
background-image: none;
7274
border-color: @end-color-4-border;
7375
color: @end-color-4-fg;
74-
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 24px rgba(0, 0, 0, 0.30);
7576
}
7677

7778
/* Slot 5: rose */
7879
.outer-pad.end-widget.end-slot-5 {
7980
background-color: @end-color-5-bg;
80-
background-image: none;
8181
border-color: @end-color-5-border;
8282
color: @end-color-5-fg;
83-
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 24px rgba(0, 0, 0, 0.30);
8483
}
8584

8685
/* --- SNI tray (center widget, not part of the rotation) --- */
8786

8887
.outer-pad.sni-tray {
8988
background-color: rgb(65, 70, 100);
90-
background-image: none;
9189
border-color: rgb(110, 115, 160);
92-
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 24px rgba(0, 0, 0, 0.30);
9390
}

dotfiles/config/taffybar/end-widget-solid.css

Lines changed: 0 additions & 50 deletions
This file was deleted.

dotfiles/config/taffybar/log-levels.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@
1010
# System.Taffybar.DBus.Toggle: DEBUG
1111
# Graphics.UI.GIGtkStrut: DEBUG
1212
# Temporary startup debugging for tray duplication.
13-
StatusNotifier.Tray: DEBUG
14-
StatusNotifier.Host.Service: DEBUG
15-
System.Taffybar.Widget.SNITray.PrioritizedCollapsible: DEBUG
13+
# Enable these selectively when investigating tray churn:
14+
# StatusNotifier.Tray: DEBUG
15+
# StatusNotifier.Host.Service: DEBUG
16+
# System.Taffybar.Widget.SNITray.PrioritizedCollapsible: DEBUG
1617
System.Taffybar.LogLevels: INFO
17-
System.Taffybar.Context: DEBUG
18+
# System.Taffybar.Context: DEBUG

dotfiles/config/taffybar/taffybar.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
@import url("theme.css");
22
@import url("end-widget-colors.css");
3-
@import url("end-widget-solid.css");
43

54
/* Widget/layout styling for taffybar.
65
*
@@ -93,7 +92,7 @@
9392
}
9493

9594
/* Per-widget color overrides now live in end-widget-colors.css,
96-
which rotates through a 5-color palette via :nth-child(). */
95+
which rotates through a 5-color palette via semantic end-slot classes. */
9796

9897
.outer-pad.mpris .icon {
9998
font-family: "Iosevka Nerd Font";

dotfiles/config/taffybar/taffybar.hs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -250,10 +250,7 @@ defaultCssFiles = ["taffybar.css"]
250250

251251
cssFilesByHostname :: [(String, [FilePath])]
252252
cssFilesByHostname =
253-
[ ("imalison-home", ["taffybar.css"]),
254-
("ryzen-shine", ["ryzen-shine.css"]),
255-
("stevie-nixos", ["taffybar.css"])
256-
]
253+
[("ryzen-shine", ["ryzen-shine.css"])]
257254

258255
laptopHosts :: [String]
259256
laptopHosts =

dotfiles/emacs.d/elpaca-installer.el

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,30 @@
7777
(directory-file-name source)))
7878
(t
7979
(delete-directory build 'recursive))))))))
80+
81+
(defun elpaca-installer--repair-source-dir-aliases ()
82+
"Create compatibility symlinks for legacy repos ending in `.el'."
83+
(when (file-directory-p elpaca-sources-directory)
84+
(dolist (entry (directory-files elpaca-sources-directory t directory-files-no-dot-files-regexp))
85+
(when-let* (((file-directory-p entry))
86+
(name (file-name-nondirectory (directory-file-name entry)))
87+
((string-suffix-p ".el" name))
88+
(alias-name (substring name 0 (- (length name) 3)))
89+
(alias (expand-file-name alias-name elpaca-sources-directory))
90+
(target (ignore-errors
91+
(directory-file-name (file-truename entry)))))
92+
(cond
93+
((and (file-symlink-p alias)
94+
(equal (ignore-errors (directory-file-name (file-truename alias)))
95+
target))
96+
nil)
97+
((file-symlink-p alias)
98+
(delete-file alias)
99+
(make-symbolic-link target alias))
100+
((file-exists-p alias)
101+
nil)
102+
(t
103+
(make-symbolic-link target alias)))))))
80104
;; Elpaca now expects package sources under `sources/`. Preserve older local
81105
;; installs that still use `repos/` so startup can recover without recloning.
82106
(when (and (file-directory-p elpaca-legacy-repos-directory)
@@ -87,6 +111,7 @@
87111
(not (file-exists-p elpaca-legacy-repos-directory)))
88112
(make-symbolic-link (directory-file-name elpaca-sources-directory)
89113
(directory-file-name elpaca-legacy-repos-directory)))
114+
(elpaca-installer--repair-source-dir-aliases)
90115
(elpaca-installer--repair-build-source-layout)
91116
(let* ((repo (expand-file-name "elpaca/" elpaca-sources-directory))
92117
(build (expand-file-name "elpaca/" elpaca-builds-directory))

nixos/desktop.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ makeEnable config "myModules.desktop" true {
4343
# This is for the benefit of VSCODE running natively in wayland
4444
environment.sessionVariables.NIXOS_OZONE_WL = "1";
4545

46+
system.activationScripts.playwrightChromeCompat.text = lib.optionalString (pkgs.stdenv.hostPlatform.system == "x86_64-linux") ''
47+
# Playwright's Chrome channel lookup expects the FHS path below.
48+
mkdir -p /opt/google/chrome
49+
ln -sfn ${pkgs.google-chrome}/bin/google-chrome-stable /opt/google/chrome/chrome
50+
'';
51+
4652
services.gnome.at-spi2-core.enable = true;
4753

4854
services.gnome.gnome-keyring.enable = true;

nixos/flake.lock

Lines changed: 24 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)