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