mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-20 06:04:22 +00:00
ci: drop darwin shims, rebuild locally on netty runner
- remove macOS-era `sudo mkdir /Users/rathi/...` shim steps from flake-check and nix-format (Linux runner, paths don't exist, gitea-runner has no sudo) - deploy-netty now runs `sudo nixos-rebuild switch --flake .#netty` directly on the runner (it *is* netty), no SSH, no `just switch-netty` - grant gitea-runner NOPASSWD sudo for nixos-rebuild only - apply current nixfmt to home/scripts.nix, hermes-gateway.nix, devshells.nix Made-with: Cursor
This commit is contained in:
parent
ec2f23757b
commit
0aab0a4d61
5 changed files with 27 additions and 23 deletions
|
|
@ -38,9 +38,9 @@ in
|
|||
ln -sfn "$THEME_TMUX_TARGET" "${customScripts.theme.paths.tmuxCurrentFile}"
|
||||
ln -sfn "$THEME_LAZYGIT_TARGET" "${customScripts.theme.paths.lazygitCurrentFile}"
|
||||
${lib.optionalString hostConfig.isDarwin ''
|
||||
lg_darwin="${config.home.homeDirectory}/Library/Application Support/lazygit"
|
||||
mkdir -p "$lg_darwin"
|
||||
ln -sfn "$THEME_DARWIN_LAZYGIT_TARGET" "$lg_darwin/config.yml"
|
||||
lg_darwin="${config.home.homeDirectory}/Library/Application Support/lazygit"
|
||||
mkdir -p "$lg_darwin"
|
||||
ln -sfn "$THEME_DARWIN_LAZYGIT_TARGET" "$lg_darwin/config.yml"
|
||||
''}
|
||||
|
||||
# seed wallpapers from static assets if no generated ones exist yet
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue