Compare commits
No commits in common. "f932d043fd2e54a36d9a5994c4326cff497c7a92" and "7a01518aab07e37febc4d20cefed54d00748fbe0" have entirely different histories.
f932d043fd
...
7a01518aab
9 changed files with 62 additions and 78 deletions
|
@ -82,7 +82,7 @@
|
||||||
kind (kind-fn entry vim-item)
|
kind (kind-fn entry vim-item)
|
||||||
strings (vim.split kind.kind "%s"
|
strings (vim.split kind.kind "%s"
|
||||||
{:trimempty true})]
|
{:trimempty true})]
|
||||||
;(set kind.dup 0)
|
(set kind.dup 0)
|
||||||
(if (= entry.source.name :cmp_tabnine)
|
(if (= entry.source.name :cmp_tabnine)
|
||||||
(do
|
(do
|
||||||
(set kind.kind " ")
|
(set kind.kind " ")
|
||||||
|
|
|
@ -31,13 +31,4 @@ def "main search" [
|
||||||
http get $url | ignore
|
http get $url | ignore
|
||||||
}
|
}
|
||||||
|
|
||||||
def "main post" [
|
|
||||||
post: string
|
|
||||||
] {
|
|
||||||
let reddit_url = $post | url encode
|
|
||||||
let url = $"($base_url)args[link]=($reddit_url)"
|
|
||||||
|
|
||||||
http get $url | ignore
|
|
||||||
}
|
|
||||||
|
|
||||||
def main [] {}
|
def main [] {}
|
||||||
|
|
|
@ -4,10 +4,12 @@ let
|
||||||
default-system = "x86_64-linux";
|
default-system = "x86_64-linux";
|
||||||
|
|
||||||
# overlay-master = _: _: { pkgs-master = import inputs.nixpkgs-master { system = default-system; }; };
|
# overlay-master = _: _: { pkgs-master = import inputs.nixpkgs-master { system = default-system; }; };
|
||||||
|
# overlay-unstable = _: _: { pkgs-unstable = import inputs.nixpkgs { system = default-system; }; };
|
||||||
|
|
||||||
nixpkgsConfig = {
|
nixpkgsConfig = {
|
||||||
overlays = [
|
overlays = [
|
||||||
# overlay-master
|
# overlay-master
|
||||||
|
# overlay-unstable
|
||||||
inputs.neovim-nightly-overlay.overlays.default
|
inputs.neovim-nightly-overlay.overlays.default
|
||||||
inputs.nifoc-overlay.overlay
|
inputs.nifoc-overlay.overlay
|
||||||
];
|
];
|
||||||
|
|
|
@ -24,35 +24,30 @@ in
|
||||||
experimental-features = [ "nix-command" "flakes" ];
|
experimental-features = [ "nix-command" "flakes" ];
|
||||||
extra-platforms = [ "x86_64-darwin" ];
|
extra-platforms = [ "x86_64-darwin" ];
|
||||||
|
|
||||||
log-lines = 25;
|
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
keep-derivations = true;
|
keep-derivations = true;
|
||||||
keep-outputs = true;
|
keep-outputs = true;
|
||||||
|
|
||||||
builders-use-substitutes = true;
|
substituters = [
|
||||||
|
"https://attic.cache.daniel.sx/nifoc-systems?priority=1"
|
||||||
extra-substituters = [
|
"https://nix-community.cachix.org?priority=2"
|
||||||
"https://attic.cache.daniel.sx/nifoc-systems?priority=30"
|
"https://cache.garnix.io?priority=3"
|
||||||
"https://nix-community.cachix.org?priority=50"
|
|
||||||
"https://cache.garnix.io?priority=60"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
extra-trusted-substituters = [
|
trusted-substituters = [
|
||||||
"https://attic.hosting.nedeco.mobi/devshells"
|
"https://attic.hosting.nedeco.mobi/devshells"
|
||||||
];
|
];
|
||||||
|
|
||||||
extra-trusted-public-keys = [
|
trusted-public-keys = [
|
||||||
"nifoc-systems:eDDqVP5BFR6/1KvXbF9oUL8JahDdmbrsYtxlQ57LOTU="
|
"nifoc-systems:eDDqVP5BFR6/1KvXbF9oUL8JahDdmbrsYtxlQ57LOTU="
|
||||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||||
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
|
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
|
||||||
|
|
||||||
# extra-trusted-substituters
|
# trusted-substituters
|
||||||
"devshells:YXtbU0DheB229oCr2D0H0qHjj2Ed/e2VZiLSXgQ1IVA="
|
"devshells:YXtbU0DheB229oCr2D0H0qHjj2Ed/e2VZiLSXgQ1IVA="
|
||||||
];
|
];
|
||||||
|
|
||||||
trusted-users = [ "@admin" ];
|
trusted-users = [ "@admin" ];
|
||||||
|
|
||||||
connect-timeout = 5;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
configureBuildUsers = true;
|
configureBuildUsers = true;
|
||||||
|
|
|
@ -48,21 +48,16 @@ in
|
||||||
package = pkgs.nixVersions.stable;
|
package = pkgs.nixVersions.stable;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
experimental-features = [ "nix-command" "flakes" ];
|
|
||||||
|
|
||||||
log-lines = 25;
|
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
keep-derivations = true;
|
|
||||||
keep-outputs = true;
|
|
||||||
|
|
||||||
extra-substituters = [
|
substituters = [
|
||||||
"https://attic.cache.daniel.sx/nifoc-systems?priority=30"
|
"https://attic.cache.daniel.sx/nifoc-systems?priority=1"
|
||||||
"https://attic.cache.daniel.sx/nifoc-ci?priority=35"
|
"https://attic.cache.daniel.sx/nifoc-ci?priority=2"
|
||||||
"https://nix-community.cachix.org?priority=50"
|
"https://nix-community.cachix.org?priority=3"
|
||||||
"https://cache.garnix.io?priority=60"
|
"https://cache.garnix.io?priority=4"
|
||||||
];
|
];
|
||||||
|
|
||||||
extra-trusted-public-keys = [
|
trusted-public-keys = [
|
||||||
"nifoc-systems:eDDqVP5BFR6/1KvXbF9oUL8JahDdmbrsYtxlQ57LOTU="
|
"nifoc-systems:eDDqVP5BFR6/1KvXbF9oUL8JahDdmbrsYtxlQ57LOTU="
|
||||||
"nifoc-ci:JpD9zqVQi8JuS7B8htPDOQZh08rhInMnGFS9RVhiuwk="
|
"nifoc-ci:JpD9zqVQi8JuS7B8htPDOQZh08rhInMnGFS9RVhiuwk="
|
||||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||||
|
@ -73,8 +68,6 @@ in
|
||||||
"root"
|
"root"
|
||||||
"nix-remote-builder"
|
"nix-remote-builder"
|
||||||
];
|
];
|
||||||
|
|
||||||
connect-timeout = 5;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
gc = {
|
gc = {
|
||||||
|
@ -82,6 +75,12 @@ in
|
||||||
dates = "weekly";
|
dates = "weekly";
|
||||||
options = "--delete-older-than 14d";
|
options = "--delete-older-than 14d";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
extraOptions = ''
|
||||||
|
experimental-features = nix-command flakes
|
||||||
|
keep-derivations = true
|
||||||
|
keep-outputs = true
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.etc."nix/netrc".source = ../../secret/shared/nix-netrc;
|
environment.etc."nix/netrc".source = ../../secret/shared/nix-netrc;
|
||||||
|
|
|
@ -58,22 +58,16 @@ in
|
||||||
package = pkgs.nixVersions.stable;
|
package = pkgs.nixVersions.stable;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
experimental-features = [ "nix-command" "flakes" ];
|
|
||||||
extra-platforms = [ "aarch64-linux" ];
|
|
||||||
|
|
||||||
log-lines = 25;
|
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
keep-derivations = true;
|
|
||||||
keep-outputs = true;
|
|
||||||
|
|
||||||
extra-substituters = [
|
substituters = [
|
||||||
"https://attic.cache.daniel.sx/nifoc-systems?priority=30"
|
"https://attic.cache.daniel.sx/nifoc-systems?priority=1"
|
||||||
"https://attic.cache.daniel.sx/nifoc-ci?priority=35"
|
"https://attic.cache.daniel.sx/nifoc-ci?priority=2"
|
||||||
"https://nix-community.cachix.org?priority=50"
|
"https://nix-community.cachix.org?priority=3"
|
||||||
"https://cache.garnix.io?priority=60"
|
"https://cache.garnix.io?priority=4"
|
||||||
];
|
];
|
||||||
|
|
||||||
extra-trusted-public-keys = [
|
trusted-public-keys = [
|
||||||
"nifoc-systems:eDDqVP5BFR6/1KvXbF9oUL8JahDdmbrsYtxlQ57LOTU="
|
"nifoc-systems:eDDqVP5BFR6/1KvXbF9oUL8JahDdmbrsYtxlQ57LOTU="
|
||||||
"nifoc-ci:JpD9zqVQi8JuS7B8htPDOQZh08rhInMnGFS9RVhiuwk="
|
"nifoc-ci:JpD9zqVQi8JuS7B8htPDOQZh08rhInMnGFS9RVhiuwk="
|
||||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||||
|
@ -84,8 +78,6 @@ in
|
||||||
"root"
|
"root"
|
||||||
"nix-remote-builder"
|
"nix-remote-builder"
|
||||||
];
|
];
|
||||||
|
|
||||||
connect-timeout = 5;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
gc = {
|
gc = {
|
||||||
|
@ -93,6 +85,13 @@ in
|
||||||
dates = "weekly";
|
dates = "weekly";
|
||||||
options = "--delete-older-than 14d";
|
options = "--delete-older-than 14d";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
extraOptions = ''
|
||||||
|
experimental-features = nix-command flakes
|
||||||
|
extra-platforms = aarch64-linux
|
||||||
|
keep-derivations = true
|
||||||
|
keep-outputs = true
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.etc."nix/netrc".source = ../../secret/shared/nix-netrc;
|
environment.etc."nix/netrc".source = ../../secret/shared/nix-netrc;
|
||||||
|
|
|
@ -36,28 +36,21 @@ in
|
||||||
package = pkgs.nixVersions.stable;
|
package = pkgs.nixVersions.stable;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
experimental-features = [ "nix-command" "flakes" ];
|
|
||||||
|
|
||||||
log-lines = 25;
|
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
keep-derivations = true;
|
|
||||||
keep-outputs = true;
|
|
||||||
|
|
||||||
extra-substituters = [
|
substituters = [
|
||||||
"https://attic.cache.daniel.sx/nifoc-systems?priority=30"
|
"https://attic.cache.daniel.sx/nifoc-systems?priority=1"
|
||||||
"https://attic.cache.daniel.sx/nifoc-ci?priority=35"
|
"https://attic.cache.daniel.sx/nifoc-ci?priority=2"
|
||||||
"https://nix-community.cachix.org?priority=50"
|
"https://nix-community.cachix.org?priority=3"
|
||||||
"https://cache.garnix.io?priority=60"
|
"https://cache.garnix.io?priority=4"
|
||||||
];
|
];
|
||||||
|
|
||||||
extra-trusted-public-keys = [
|
trusted-public-keys = [
|
||||||
"nifoc-systems:eDDqVP5BFR6/1KvXbF9oUL8JahDdmbrsYtxlQ57LOTU="
|
"nifoc-systems:eDDqVP5BFR6/1KvXbF9oUL8JahDdmbrsYtxlQ57LOTU="
|
||||||
"nifoc-ci:JpD9zqVQi8JuS7B8htPDOQZh08rhInMnGFS9RVhiuwk="
|
"nifoc-ci:JpD9zqVQi8JuS7B8htPDOQZh08rhInMnGFS9RVhiuwk="
|
||||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||||
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
|
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
|
||||||
];
|
];
|
||||||
|
|
||||||
connect-timeout = 5;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
gc = {
|
gc = {
|
||||||
|
@ -65,6 +58,12 @@ in
|
||||||
dates = "weekly";
|
dates = "weekly";
|
||||||
options = "--delete-older-than 14d";
|
options = "--delete-older-than 14d";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
extraOptions = ''
|
||||||
|
experimental-features = nix-command flakes
|
||||||
|
keep-derivations = true
|
||||||
|
keep-outputs = true
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.etc."nix/netrc".source = ../../secret/shared/nix-netrc;
|
environment.etc."nix/netrc".source = ../../secret/shared/nix-netrc;
|
||||||
|
|
|
@ -66,29 +66,21 @@ in
|
||||||
package = pkgs.nixVersions.stable;
|
package = pkgs.nixVersions.stable;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
experimental-features = [ "nix-command" "flakes" ];
|
|
||||||
extra-platforms = [ "aarch64-linux" ];
|
|
||||||
|
|
||||||
log-lines = 25;
|
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
keep-derivations = true;
|
|
||||||
keep-outputs = true;
|
|
||||||
|
|
||||||
extra-substituters = [
|
substituters = [
|
||||||
"https://attic.cache.daniel.sx/nifoc-systems?priority=30"
|
"https://attic.cache.daniel.sx/nifoc-systems?priority=1"
|
||||||
"https://attic.cache.daniel.sx/nifoc-ci?priority=35"
|
"https://attic.cache.daniel.sx/nifoc-ci?priority=2"
|
||||||
"https://nix-community.cachix.org?priority=50"
|
"https://nix-community.cachix.org?priority=3"
|
||||||
"https://cache.garnix.io?priority=60"
|
"https://cache.garnix.io?priority=4"
|
||||||
];
|
];
|
||||||
|
|
||||||
extra-trusted-public-keys = [
|
trusted-public-keys = [
|
||||||
"nifoc-systems:eDDqVP5BFR6/1KvXbF9oUL8JahDdmbrsYtxlQ57LOTU="
|
"nifoc-systems:eDDqVP5BFR6/1KvXbF9oUL8JahDdmbrsYtxlQ57LOTU="
|
||||||
"nifoc-ci:JpD9zqVQi8JuS7B8htPDOQZh08rhInMnGFS9RVhiuwk="
|
"nifoc-ci:JpD9zqVQi8JuS7B8htPDOQZh08rhInMnGFS9RVhiuwk="
|
||||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||||
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
|
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
|
||||||
];
|
];
|
||||||
|
|
||||||
connect-timeout = 5;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
gc = {
|
gc = {
|
||||||
|
@ -96,6 +88,13 @@ in
|
||||||
dates = "weekly";
|
dates = "weekly";
|
||||||
options = "--delete-older-than 14d";
|
options = "--delete-older-than 14d";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
extraOptions = ''
|
||||||
|
experimental-features = nix-command flakes
|
||||||
|
extra-platforms = aarch64-linux
|
||||||
|
keep-derivations = true
|
||||||
|
keep-outputs = true
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
|
|
|
@ -11,8 +11,8 @@ let
|
||||||
tangerine-ui = pkgs.fetchFromGitHub {
|
tangerine-ui = pkgs.fetchFromGitHub {
|
||||||
owner = "nileane";
|
owner = "nileane";
|
||||||
repo = "TangerineUI-for-Mastodon";
|
repo = "TangerineUI-for-Mastodon";
|
||||||
rev = "v1.9.5";
|
rev = "v1.9.4";
|
||||||
hash = "sha256-PXcQZ6MQVfqVk/h39aJqWBi0V7jfqVHK0y4gLfG+UdE=";
|
hash = "sha256-ejAmITS4DKeaLetcqZr8LEhLdlDUkKwKXlG7rY1PN1E=";
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue