mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 00:57:22 +01:00
fix: waybar github-notification, nixpkgs-review
This commit is contained in:
parent
3957e1a4a7
commit
ca2d20522c
6 changed files with 27 additions and 9 deletions
|
|
@ -15,6 +15,7 @@ in
|
|||
|
||||
sops.secrets = lib.mkIf (!config.swarselsystems.isPublic && !config.swarselsystems.isNixos) {
|
||||
croc-password = { };
|
||||
github-nixpkgs-review-token = { };
|
||||
};
|
||||
|
||||
programs.zsh = {
|
||||
|
|
@ -49,8 +50,10 @@ in
|
|||
boot-diff = "nix store diff-closures /run/*-system";
|
||||
gen-diff = "nix profile diff-closures --profile /nix/var/nix/profiles/system";
|
||||
cc = "wl-copy";
|
||||
topology = "nix build .#topology.x86_64-linux.config.output";
|
||||
iso = "nix build --print-out-paths .#live-iso";
|
||||
build-topology = "nix build .#topology.x86_64-linux.config.output";
|
||||
build-iso = "nix build --print-out-paths .#live-iso";
|
||||
nix-review- = "nix run nixpkgs#nixpkgs-review -- rev HEAD";
|
||||
nix-review-post = "nix run nixpkgs#nixpkgs-review -- pr --post-result --systems linux";
|
||||
}
|
||||
config.swarselsystems.shellAliases;
|
||||
autosuggestion.enable = true;
|
||||
|
|
@ -124,6 +127,7 @@ in
|
|||
bindkey '^H' my-backward-delete-word
|
||||
|
||||
export CROC_PASS="$(cat ${nixosConfig.sops.secrets.croc-password.path})"
|
||||
export GITHUB_TOKEN="$(cat ${nixosConfig.sops.secrets.github-nixpkgs-review-token.path})"
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue