Statix fix

This commit is contained in:
Joseph Hanson 2024-07-27 14:46:16 -05:00
parent eb76b566f6
commit 218d68e1c1
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
7 changed files with 14 additions and 14 deletions

View file

@ -56,7 +56,7 @@ in
# Enable vscode & addons
environment.systemPackages = with pkgs; [
(vscode-with-extensions.override {
vscode = unstable.vscode;
inherit (unstable) vscode;
# Merge all the extension packages together.
vscodeExtensions =
vscodeCommunityExtensionsPackages ++ nixpkgsExtensionsPackages ++ marketplaceExtensionsPackages;

View file

@ -26,7 +26,7 @@ in
services.bind = {
enable = true;
inherit (cfg) package;
extraConfig = cfg.extraConfig;
inherit (cfg) extraConfig;
};
# Clean up journal files

View file

@ -32,7 +32,7 @@ in
services.haproxy = {
enable = true;
inherit (cfg) package;
config = cfg.config;
inherit (cfg) config;
};
};
}

View file

@ -27,9 +27,9 @@ in
config = lib.mkIf cfg.enable {
services.borgbackup.jobs."borgbackup" = {
paths = cfg.paths;
exclude = cfg.exclude;
repo = cfg.repo;
inherit (cfg) paths;
inherit (cfg) exclude;
inherit (cfg) repo;
encryption = {
mode = "repokey-blake2";
passCommand = "cat ${cfg.repoKeyPath}";

View file

@ -2,7 +2,7 @@
let
finalVersion = "1.22.5";
in
(final: prev: {
final: prev: {
go_1_22 = prev.go_1_22.overrideAttrs (oldAttrs: {
version = finalVersion;
src = prev.fetchurl {
@ -10,4 +10,4 @@ in
hash = "sha256-rJxyPyJJaa7mJLw0/TTJ4T8qIS11xxyAfeZEu0bhEvY=";
};
});
})
}

View file

@ -2,7 +2,7 @@
let
finalVersion = "1.7.5";
in
(final: prev: {
final: prev: {
talosctl = prev.talosctl.overrideAttrs (oldAttrs: {
version = finalVersion;
src = prev.fetchFromGitHub {
@ -16,4 +16,4 @@ in
updateScript = ./update.sh;
};
});
})
}

View file

@ -2,12 +2,12 @@
let
versions = lib.importJSON ./versions.json;
in
(final: prev: {
final: prev: {
warp-terminal = prev.warp-terminal.overrideAttrs (oldAttrs: {
version = versions.linux.version;
inherit (versions.linux) version;
src = prev.fetchurl {
url = "https://releases.warp.dev/stable/v${versions.linux.version}/warp-terminal-v${versions.linux.version}-1-x86_64.pkg.tar.zst";
hash = versions.linux.hash;
inherit (versions.linux) hash;
};
});
})
}