Compare commits
2 commits
43ff961b41
...
218d68e1c1
Author | SHA1 | Date | |
---|---|---|---|
218d68e1c1 | |||
eb76b566f6 |
8 changed files with 20 additions and 14 deletions
|
@ -56,7 +56,7 @@ in
|
||||||
# Enable vscode & addons
|
# Enable vscode & addons
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
(vscode-with-extensions.override {
|
(vscode-with-extensions.override {
|
||||||
vscode = unstable.vscode;
|
inherit (unstable) vscode;
|
||||||
# Merge all the extension packages together.
|
# Merge all the extension packages together.
|
||||||
vscodeExtensions =
|
vscodeExtensions =
|
||||||
vscodeCommunityExtensionsPackages ++ nixpkgsExtensionsPackages ++ marketplaceExtensionsPackages;
|
vscodeCommunityExtensionsPackages ++ nixpkgsExtensionsPackages ++ marketplaceExtensionsPackages;
|
||||||
|
|
|
@ -26,7 +26,7 @@ in
|
||||||
services.bind = {
|
services.bind = {
|
||||||
enable = true;
|
enable = true;
|
||||||
inherit (cfg) package;
|
inherit (cfg) package;
|
||||||
extraConfig = cfg.extraConfig;
|
inherit (cfg) extraConfig;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Clean up journal files
|
# Clean up journal files
|
||||||
|
|
|
@ -32,7 +32,7 @@ in
|
||||||
services.haproxy = {
|
services.haproxy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
inherit (cfg) package;
|
inherit (cfg) package;
|
||||||
config = cfg.config;
|
inherit (cfg) config;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,9 +27,9 @@ in
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
services.borgbackup.jobs."borgbackup" = {
|
services.borgbackup.jobs."borgbackup" = {
|
||||||
paths = cfg.paths;
|
inherit (cfg) paths;
|
||||||
exclude = cfg.exclude;
|
inherit (cfg) exclude;
|
||||||
repo = cfg.repo;
|
inherit (cfg) repo;
|
||||||
encryption = {
|
encryption = {
|
||||||
mode = "repokey-blake2";
|
mode = "repokey-blake2";
|
||||||
passCommand = "cat ${cfg.repoKeyPath}";
|
passCommand = "cat ${cfg.repoKeyPath}";
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
let
|
let
|
||||||
finalVersion = "1.22.5";
|
finalVersion = "1.22.5";
|
||||||
in
|
in
|
||||||
(final: prev: {
|
final: prev: {
|
||||||
go_1_22 = prev.go_1_22.overrideAttrs (oldAttrs: {
|
go_1_22 = prev.go_1_22.overrideAttrs (oldAttrs: {
|
||||||
version = finalVersion;
|
version = finalVersion;
|
||||||
src = prev.fetchurl {
|
src = prev.fetchurl {
|
||||||
|
@ -10,4 +10,4 @@ in
|
||||||
hash = "sha256-rJxyPyJJaa7mJLw0/TTJ4T8qIS11xxyAfeZEu0bhEvY=";
|
hash = "sha256-rJxyPyJJaa7mJLw0/TTJ4T8qIS11xxyAfeZEu0bhEvY=";
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
})
|
}
|
|
@ -2,7 +2,7 @@
|
||||||
let
|
let
|
||||||
finalVersion = "1.7.5";
|
finalVersion = "1.7.5";
|
||||||
in
|
in
|
||||||
(final: prev: {
|
final: prev: {
|
||||||
talosctl = prev.talosctl.overrideAttrs (oldAttrs: {
|
talosctl = prev.talosctl.overrideAttrs (oldAttrs: {
|
||||||
version = finalVersion;
|
version = finalVersion;
|
||||||
src = prev.fetchFromGitHub {
|
src = prev.fetchFromGitHub {
|
||||||
|
@ -16,4 +16,4 @@ in
|
||||||
updateScript = ./update.sh;
|
updateScript = ./update.sh;
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
})
|
}
|
|
@ -2,12 +2,12 @@
|
||||||
let
|
let
|
||||||
versions = lib.importJSON ./versions.json;
|
versions = lib.importJSON ./versions.json;
|
||||||
in
|
in
|
||||||
(final: prev: {
|
final: prev: {
|
||||||
warp-terminal = prev.warp-terminal.overrideAttrs (oldAttrs: {
|
warp-terminal = prev.warp-terminal.overrideAttrs (oldAttrs: {
|
||||||
version = versions.linux.version;
|
inherit (versions.linux) version;
|
||||||
src = prev.fetchurl {
|
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";
|
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;
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
})
|
}
|
6
statix.toml
Normal file
6
statix.toml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
disabled = [
|
||||||
|
"empty_pattern"
|
||||||
|
]
|
||||||
|
nix_version = '2.4'
|
||||||
|
ignore = ['.direnv']
|
||||||
|
|
Loading…
Reference in a new issue