ci: fix nix flake check with hydraJobs
This commit is contained in:
parent
008b4ad3a4
commit
3cc381ba83
@ -14,4 +14,4 @@ jobs:
|
||||
submodules: true
|
||||
token: "${{ secrets.REPO_PAT }}"
|
||||
- run: |
|
||||
nix flake check ".?submodules=1"
|
||||
nix flake check --allow-import-from-derivation ".?submodules=1"
|
||||
|
@ -483,7 +483,10 @@
|
||||
};
|
||||
mapping = {
|
||||
"<c-space>" = "cmp.mapping.complete()";
|
||||
"<cr>" = "cmp.mapping.confirm({ select = true; })";
|
||||
"<cr>" = "cmp.mapping.confirm({ behavior = cmp.ConfirmBehavior.Replace, select = true })";
|
||||
"<tab>" = "cmp.mapping(cmp.mapping.confirm({ select = true }), { 'i', 's', 'c' })";
|
||||
"<c-p>" = "cmp.mapping.select_prev_item()";
|
||||
"<c-n>" = "cmp.mapping.select_next_item()";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -21,9 +21,13 @@ in {
|
||||
settings = {
|
||||
experimental-features = ["nix-command" "flakes"];
|
||||
trusted-users = ["l-nafaryus"];
|
||||
allowed-users = ["l-nafaryus" "hydra"];
|
||||
substituters = ["https://nix-community.cachix.org"];
|
||||
allowed-users = ["l-nafaryus" "hydra" "hydra-www"];
|
||||
substituters = [
|
||||
"https://bonfire.cachix.org"
|
||||
"https://nix-community.cachix.org"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"bonfire.cachix.org-1:mzAGBy/Crdf8NhKail5ciK7ZrGRbPJJobW6TwFb7WYM="
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
];
|
||||
auto-optimise-store = true;
|
||||
@ -38,7 +42,7 @@ in {
|
||||
gc = {
|
||||
automatic = lib.mkDefault true;
|
||||
dates = lib.mkDefault "weekly";
|
||||
options = lib.mkDefault "--delete-older-than 14d";
|
||||
options = lib.mkDefault "--delete-older-than 28d";
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user