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
|
||||
environment.systemPackages = with pkgs; [
|
||||
(vscode-with-extensions.override {
|
||||
vscode = unstable.vscode;
|
||||
inherit (unstable) vscode;
|
||||
# Merge all the extension packages together.
|
||||
vscodeExtensions =
|
||||
vscodeCommunityExtensionsPackages ++ nixpkgsExtensionsPackages ++ marketplaceExtensionsPackages;
|
||||
|
|
|
@ -26,7 +26,7 @@ in
|
|||
services.bind = {
|
||||
enable = true;
|
||||
inherit (cfg) package;
|
||||
extraConfig = cfg.extraConfig;
|
||||
inherit (cfg) extraConfig;
|
||||
};
|
||||
|
||||
# Clean up journal files
|
||||
|
|
|
@ -32,7 +32,7 @@ in
|
|||
services.haproxy = {
|
||||
enable = true;
|
||||
inherit (cfg) package;
|
||||
config = cfg.config;
|
||||
inherit (cfg) config;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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}";
|
||||
|
|
|
@ -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=";
|
||||
};
|
||||
});
|
||||
})
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
});
|
||||
})
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
});
|
||||
})
|
||||
}
|
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