mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
simplify workflow
This commit is contained in:
parent
5823cab2c4
commit
78da2dd966
2 changed files with 10 additions and 12 deletions
17
.github/workflows/flake-update.yml
vendored
17
.github/workflows/flake-update.yml
vendored
|
|
@ -13,16 +13,9 @@ jobs:
|
||||||
- name: Install Nix
|
- name: Install Nix
|
||||||
uses: DeterminateSystems/nix-installer-action@v12
|
uses: DeterminateSystems/nix-installer-action@v12
|
||||||
- name: Update flake lock
|
- name: Update flake lock
|
||||||
id: update
|
run : |
|
||||||
uses: DeterminateSystems/update-flake-lock@v22
|
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
with:
|
git config --local user.name "github-actions[bot]"
|
||||||
pr-title: "Update flake.lock"
|
nix flake update --commit-lock-file
|
||||||
pr-labels: |
|
git push origin HEAD:${{ github.ref_name }}
|
||||||
dependencies
|
|
||||||
automated
|
|
||||||
- name: merge
|
|
||||||
run: |
|
|
||||||
gh pr merge ${{ steps.update.outputs.pull-request-number }} --squash --delete-branch
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -64,6 +64,11 @@
|
||||||
histSize = 10000;
|
histSize = 10000;
|
||||||
histFile = "$HOME/.cache/zsh_history";
|
histFile = "$HOME/.cache/zsh_history";
|
||||||
interactiveShellInit = ''
|
interactiveShellInit = ''
|
||||||
|
### zsh-history-substring-search ###
|
||||||
|
setopt HIST_IGNORE_ALL_DUPS
|
||||||
|
source ${pkgs.zsh-history-substring-search}/share/zsh-history-substring-search/zsh-history-substring-search.zsh
|
||||||
|
bindkey '^[[A' history-substring-search-up
|
||||||
|
bindkey '^[[B' history-substring-search-down
|
||||||
### fzf-tab ###
|
### fzf-tab ###
|
||||||
source ${pkgs.zsh-fzf-tab}/share/fzf-tab/fzf-tab.plugin.zsh
|
source ${pkgs.zsh-fzf-tab}/share/fzf-tab/fzf-tab.plugin.zsh
|
||||||
### pager ###
|
### pager ###
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue