Compare commits

...

3 commits

Author SHA1 Message Date
a007520952
fedora nix jank 2024-11-19 18:16:24 -06:00
67173021d1
add hujson 2024-11-19 18:16:24 -06:00
1b40c07f69
remove torznab 2024-11-19 18:16:23 -06:00
3 changed files with 37 additions and 24 deletions

51
.vscode/settings.json vendored
View file

@ -1,32 +1,41 @@
{ {
"ansible.validation.lint.arguments": "-c .ansible-lint", "ansible.validation.lint.arguments": "-c .ansible-lint",
"files.associations": { "files.associations": {
"*.json5": "jsonc", "*.json5": "jsonc",
"**/ansible/**/*.yaml": "ansible", "**/ansible/**/*.yaml": "ansible",
"**/ansible/**/*.sops.yaml": "yaml", "**/ansible/**/*.sops.yaml": "yaml",
"**/ansible/**/inventory/**/*.yaml": "yaml", "**/ansible/**/inventory/**/*.yaml": "yaml",
"**/kubernetes/**/*.sops.toml": "plaintext" "**/kubernetes/**/*.sops.toml": "plaintext",
"*.hujson": "jsonc"
}, },
"material-icon-theme.folders.associations": { "material-icon-theme.folders.associations": {
".taskfiles": "utils", ".taskfiles": "utils",
"bootstrap": "import", "bootstrap": "import",
"charts": "kubernetes", "charts": "kubernetes",
"hack": "scripts", "hack": "scripts",
"repositories": "database", "repositories": "database",
"vars": "other", "vars": "other",
// namespaces // namespaces
"cert-manager": "guard", "cert-manager": "guard",
"external-secrets": "keys", "external-secrets": "keys",
"kube-system": "kubernetes", "kube-system": "kubernetes",
"monitoring": "event", "monitoring": "event",
"networking": "connection", "networking": "connection",
"rook-ceph": "dump", "rook-ceph": "dump"
}, },
"yaml.schemaStore.enable": true, "yaml.schemaStore.enable": true,
"yaml.schemas": { "yaml.schemas": {
"ansible": "ansible/**/*.yaml", "ansible": "ansible/**/*.yaml",
"kubernetes": "kubernetes/**/*.yaml" "kubernetes": "kubernetes/**/*.yaml"
}, },
"json.schemas": [
{
"fileMatch": ["*.hujson"],
"schema": {
"allowTrailingCommas": true
}
}
],
"editor.fontFamily": "FiraCode Nerd Font", "editor.fontFamily": "FiraCode Nerd Font",
"editor.fontLigatures": true, "editor.fontLigatures": true,
"editor.bracketPairColorization.enabled": true, "editor.bracketPairColorization.enabled": true,
@ -35,9 +44,7 @@
"editor.guides.highlightActiveBracketPair": true, "editor.guides.highlightActiveBracketPair": true,
"editor.hover.delay": 1500, "editor.hover.delay": 1500,
"editor.stickyScroll.enabled": false, "editor.stickyScroll.enabled": false,
"editor.rulers": [ "editor.rulers": [100],
100
],
"explorer.autoReveal": false, "explorer.autoReveal": false,
"files.trimTrailingWhitespace": true, "files.trimTrailingWhitespace": true,
"ansible.python.interpreterPath": "/usr/bin/python3", "ansible.python.interpreterPath": "/usr/bin/python3",
@ -46,5 +53,5 @@
"prettier.quoteProps": "preserve", "prettier.quoteProps": "preserve",
"[jsonc]": { "[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode" "editor.defaultFormatter": "esbenp.prettier-vscode"
}, }
} }

View file

@ -35,8 +35,8 @@ spec:
skipRecheck: true, skipRecheck: true,
sonarr: ["http://sonarr.default.svc.cluster.local/?apikey={{ .SONARR_API_KEY }}"], sonarr: ["http://sonarr.default.svc.cluster.local/?apikey={{ .SONARR_API_KEY }}"],
torrentDir: "/qbittorrent/qBittorrent/BT_backup", torrentDir: "/qbittorrent/qBittorrent/BT_backup",
// torznab: [] torznab: []
torznab: [ /* torznab: [
6, // ANT 6, // ANT
8, // BLU 8, // BLU
9, // TL 9, // TL
@ -44,6 +44,7 @@ spec:
12, // FNP 12, // FNP
14, // TD 14, // TD
].map(i => `http://prowlarr.default.svc.cluster.local/$${i}/api?apikey={{ .PROWLARR_API_KEY }}`), ].map(i => `http://prowlarr.default.svc.cluster.local/$${i}/api?apikey={{ .PROWLARR_API_KEY }}`),
*/
}; };
dataFrom: dataFrom:
- extract: - extract:

View file

@ -3,6 +3,11 @@
pkgs.mkShell { pkgs.mkShell {
# Enable experimental features without having to specify the argument # Enable experimental features without having to specify the argument
NIX_CONFIG = "experimental-features = nix-command flakes"; NIX_CONFIG = "experimental-features = nix-command flakes";
shellHook = ''
export TMP=$(mktemp -d "/tmp/nix-shell-XXXXXX")
export TEMP=$TMP
export TMPDIR=$TMP
'';
nativeBuildInputs = with pkgs; [ nativeBuildInputs = with pkgs; [
fluxcd fluxcd