Compare commits

..

No commits in common. "41686a2372d9af8c8b930528193db133a394f80d" and "016bc33bea343300167b16b0bc745ce1b18a6cc1" have entirely different histories.

6 changed files with 137 additions and 223 deletions

175
flake.lock generated
View file

@ -16,6 +16,27 @@
"type": "gitlab" "type": "gitlab"
} }
}, },
"devshell": {
"inputs": {
"nixpkgs": [
"nixvim",
"nixpkgs"
]
},
"locked": {
"lastModified": 1741473158,
"narHash": "sha256-kWNaq6wQUbUMlPgw8Y+9/9wP0F8SHkjy24/mN3UAppg=",
"owner": "numtide",
"repo": "devshell",
"rev": "7c9e793ebe66bcba8292989a68c0419b737a22a0",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "devshell",
"type": "github"
}
},
"dogetipbot-telegram": { "dogetipbot-telegram": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -38,13 +59,27 @@
} }
}, },
"flake-compat": { "flake-compat": {
"locked": {
"lastModified": 1733328505,
"narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=",
"rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
"revCount": 69,
"type": "tarball",
"url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.1.0/01948eb7-9cba-704f-bbf3-3fa956735b52/source.tar.gz"
},
"original": {
"type": "tarball",
"url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz"
}
},
"flake-compat_2": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1747046372, "lastModified": 1696426674,
"narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=", "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
"owner": "edolstra", "owner": "edolstra",
"repo": "flake-compat", "repo": "flake-compat",
"rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885", "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -61,11 +96,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1748821116, "lastModified": 1743550720,
"narHash": "sha256-F82+gS044J1APL0n4hH50GYdPRv/5JWm34oCJYmVKdE=", "narHash": "sha256-hIshGgKZCgWh6AYJpJmRgFdR3WUbkY04o82X05xqQiY=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "49f0870db23e8c1ca0b5259734a02cd9e1e371a1", "rev": "c621e8422220273271f52058f618c94e405bb0f5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -95,12 +130,12 @@
"git-hooks": { "git-hooks": {
"inputs": { "inputs": {
"flake-compat": [ "flake-compat": [
"simple-nixos-mailserver", "nixvim",
"flake-compat" "flake-compat"
], ],
"gitignore": "gitignore", "gitignore": "gitignore",
"nixpkgs": [ "nixpkgs": [
"simple-nixos-mailserver", "nixvim",
"nixpkgs" "nixpkgs"
] ]
}, },
@ -121,7 +156,7 @@
"gitignore": { "gitignore": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"simple-nixos-mailserver", "nixvim",
"git-hooks", "git-hooks",
"nixpkgs" "nixpkgs"
] ]
@ -140,6 +175,28 @@
"type": "github" "type": "github"
} }
}, },
"home-manager": {
"inputs": {
"nixpkgs": [
"nixvim",
"nixpkgs"
]
},
"locked": {
"lastModified": 1744743431,
"narHash": "sha256-iyn/WBYDc7OtjSawbegINDe/gIkok888kQxk3aVnkgg=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "c61bfe3ae692f42ce688b5865fac9e0de58e1387",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "release-24.11",
"repo": "home-manager",
"type": "github"
}
},
"ipmihddtemp": { "ipmihddtemp": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -175,32 +232,54 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1748294338, "lastModified": 1737371634,
"narHash": "sha256-FVO01jdmUNArzBS7NmaktLdGA5qA3lUMJ4B7a05Iynw=", "narHash": "sha256-fTVAWzT1UMm1lT+YxHuVPtH+DATrhYfea3B0MxG/cGw=",
"owner": "NuschtOS", "owner": "NuschtOS",
"repo": "ixx", "repo": "ixx",
"rev": "cc5f390f7caf265461d4aab37e98d2292ebbdb85", "rev": "a1176e2a10ce745ff8f63e4af124ece8fe0b1648",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NuschtOS", "owner": "NuschtOS",
"ref": "v0.0.8", "ref": "v0.0.7",
"repo": "ixx", "repo": "ixx",
"type": "github" "type": "github"
} }
}, },
"nix-darwin": {
"inputs": {
"nixpkgs": [
"nixvim",
"nixpkgs"
]
},
"locked": {
"lastModified": 1743127615,
"narHash": "sha256-+sMGqywrSr50BGMLMeY789mSrzjkoxZiu61eWjYS/8o=",
"owner": "lnl7",
"repo": "nix-darwin",
"rev": "fc843893cecc1838a59713ee3e50e9e7edc6207c",
"type": "github"
},
"original": {
"owner": "lnl7",
"ref": "nix-darwin-24.11",
"repo": "nix-darwin",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1749727998, "lastModified": 1747485343,
"narHash": "sha256-mHv/yeUbmL91/TvV95p+mBVahm9mdQMJoqaTVTALaFw=", "narHash": "sha256-YbsZyuRE1tobO9sv0PUwg81QryYo3L1F3R3rF9bcG38=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "fd487183437963a59ba763c0cc4f27e3447dd6dd", "rev": "9b5ac7ad45298d58640540d0323ca217f32a6762",
"type": "github" "type": "github"
}, },
"original": { "original": {
"id": "nixpkgs", "id": "nixpkgs",
"ref": "nixos-25.05", "ref": "nixos-24.11",
"type": "indirect" "type": "indirect"
} }
}, },
@ -222,11 +301,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1749285348, "lastModified": 1747327360,
"narHash": "sha256-frdhQvPbmDYaScPFiCnfdh3B/Vh81Uuoo0w5TkWmmjU=", "narHash": "sha256-LSmTbiq/nqZR9B2t4MRnWG7cb0KVNU70dB7RT4+wYK4=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "3e3afe5174c561dee0df6f2c2b2236990146329f", "rev": "e06158e58f3adee28b139e9c2bcfcc41f8625b46",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -237,24 +316,29 @@
}, },
"nixvim": { "nixvim": {
"inputs": { "inputs": {
"devshell": "devshell",
"flake-compat": "flake-compat",
"flake-parts": "flake-parts", "flake-parts": "flake-parts",
"git-hooks": "git-hooks",
"home-manager": "home-manager",
"nix-darwin": "nix-darwin",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
], ],
"nuschtosSearch": "nuschtosSearch", "nuschtosSearch": "nuschtosSearch",
"systems": "systems_2" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1749702372, "lastModified": 1745963276,
"narHash": "sha256-X+PDQ9kgt3/nOUQWSyz/8WHFOp+SyDND+bKpVufxpdE=", "narHash": "sha256-MpLljx/1dGnBIQlUswaUz/ZeOp44R3ngc1iBf4tyzyc=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixvim", "repo": "nixvim",
"rev": "88f452558ea37ab8ab2052cf45b5a5653a1e556b", "rev": "5bef8e43ce16ee704c7b9fa9f48a07ce81c5c05d",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-community", "owner": "nix-community",
"ref": "nixos-25.05", "ref": "nixos-24.11",
"repo": "nixvim", "repo": "nixvim",
"type": "github" "type": "github"
} }
@ -269,11 +353,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1748298102, "lastModified": 1745046075,
"narHash": "sha256-PP11GVwUt7F4ZZi5A5+99isuq39C59CKc5u5yVisU/U=", "narHash": "sha256-8v4y6k16Ra/fiecb4DxhsoOGtzLKgKlS+9/XJ9z0T2I=",
"owner": "NuschtOS", "owner": "NuschtOS",
"repo": "search", "repo": "search",
"rev": "f8a1c221afb8b4c642ed11ac5ee6746b0fe1d32f", "rev": "066afe8643274470f4a294442aadd988356a478f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -296,26 +380,25 @@
"simple-nixos-mailserver": { "simple-nixos-mailserver": {
"inputs": { "inputs": {
"blobs": "blobs", "blobs": "blobs",
"flake-compat": "flake-compat", "flake-compat": "flake-compat_2",
"git-hooks": "git-hooks",
"nixpkgs": [ "nixpkgs": [
"nixpkgs-unstable" "nixpkgs-unstable"
], ],
"nixpkgs-25_05": [ "nixpkgs-24_11": [
"nixpkgs" "nixpkgs"
] ]
}, },
"locked": { "locked": {
"lastModified": 1747965231, "lastModified": 1746469806,
"narHash": "sha256-BW3ktviEhfCN/z3+kEyzpDKAI8qFTwO7+S0NVA0C90o=", "narHash": "sha256-kL3cc25sc0x+6gBZYjuE4566RT1E3XLQs4V8sl7D+VE=",
"owner": "simple-nixos-mailserver", "owner": "simple-nixos-mailserver",
"repo": "nixos-mailserver", "repo": "nixos-mailserver",
"rev": "53007af63fade28853408370c4c600a63dd97f41", "rev": "14857a0309d7bbdf7c51bbfa309d0d13448ae77e",
"type": "gitlab" "type": "gitlab"
}, },
"original": { "original": {
"owner": "simple-nixos-mailserver", "owner": "simple-nixos-mailserver",
"ref": "nixos-25.05", "ref": "nixos-24.11",
"repo": "nixos-mailserver", "repo": "nixos-mailserver",
"type": "gitlab" "type": "gitlab"
} }
@ -335,18 +418,24 @@
"type": "github" "type": "github"
} }
}, },
"systems_2": { "treefmt-nix": {
"inputs": {
"nixpkgs": [
"nixvim",
"nixpkgs"
]
},
"locked": { "locked": {
"lastModified": 1681028828, "lastModified": 1744961264,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", "narHash": "sha256-aRmUh0AMwcbdjJHnytg1e5h5ECcaWtIFQa6d9gI85AI=",
"owner": "nix-systems", "owner": "numtide",
"repo": "default", "repo": "treefmt-nix",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", "rev": "8d404a69efe76146368885110f29a2ca3700bee6",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-systems", "owner": "numtide",
"repo": "default", "repo": "treefmt-nix",
"type": "github" "type": "github"
} }
} }

View file

@ -1,18 +1,18 @@
{ {
inputs = { inputs = {
nixpkgs.url = "flake:nixpkgs/nixos-25.05"; nixpkgs.url = "flake:nixpkgs/nixos-24.11";
nixpkgs-unstable.url = "flake:nixpkgs/nixos-unstable"; nixpkgs-unstable.url = "flake:nixpkgs/nixos-unstable";
# transmission 4.0.5 downgrade to fix tracker bug # transmission 4.0.5 downgrade to fix tracker bug
nixpkgs-4a3fc4cf7.url = "github:nixos/nixpkgs/4a3fc4cf736b7d2d288d7a8bf775ac8d4c0920b4"; nixpkgs-4a3fc4cf7.url = "github:nixos/nixpkgs/4a3fc4cf736b7d2d288d7a8bf775ac8d4c0920b4";
simple-nixos-mailserver = { simple-nixos-mailserver = {
url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-25.05"; url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-24.11";
inputs = { inputs = {
nixpkgs.follows = "nixpkgs-unstable"; nixpkgs.follows = "nixpkgs-unstable";
nixpkgs-25_05.follows = "nixpkgs"; nixpkgs-24_11.follows = "nixpkgs";
}; };
}; };
nixvim = { nixvim = {
url = "github:nix-community/nixvim/nixos-25.05"; url = "github:nix-community/nixvim/nixos-24.11";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
dogetipbot-telegram = { dogetipbot-telegram = {

View file

@ -27,169 +27,6 @@
radarr.enable = true; radarr.enable = true;
sonarr.enable = true; sonarr.enable = true;
prowlarr.enable = true; prowlarr.enable = true;
recyclarr = {
enable = true;
configuration = {
radarr.radarr_main = {
api_key = {
_secret = "/run/credentials/recyclarr.service/radarr-api_key";
};
base_url = "http://localhost:7878";
include = [
{
template = "radarr-quality-definition-movie";
}
{
template = "radarr-quality-profile-hd-bluray-web-french-multi-vf";
}
{
template = "radarr-custom-formats-hd-bluray-web-french-multi-vf";
}
{
template = "radarr-quality-profile-hd-bluray-web-french-multi-vo";
}
{
template = "radarr-custom-formats-hd-bluray-web-french-multi-vo";
}
];
delete_old_custom_formats = true;
replace_existing_custom_formats = true;
custom_formats = [
# ===== Versions françaises =====
{
trash_ids = [
"404c08fd0bd67f39b4d8e5709319094e" # VFF
"29b5f7b1a5f20f64228786c3ab1bdc7d" # VF2
];
assign_scores_to = [
{
name = "FR-MULTi-VF-HD";
score = 101;
}
{
name = "FR-MULTi-VO-HD";
score = 101;
}
];
}
{
trash_ids = [
"4cafa20d5584f6ba1871d1b8941aa3cb" # VOF
"52772f1cad6b5d26c2551f79bc538a50" # VFI
"f7caa1942be5cc547c266bd3dbc2cda9" # VOQ
"95aa50f71a01c82354a7a2b385f1c4d8" # VQ
"b3fb499641d7b3c2006be1d9eb014cb3" # VFB
];
assign_scores_to = [
{
name = "FR-MULTi-VF-HD";
score = 0;
}
{
name = "FR-MULTi-VO-HD";
score = 0;
}
];
}
{
trash_ids = [
"b6ace47331a1d3b77942fc18156f6df6" # VFQ
];
assign_scores_to = [
{
name = "FR-MULTi-VF-HD";
score = -101;
}
{
name = "FR-MULTi-VO-HD";
score = -101;
}
];
}
];
};
sonarr.sonarr_main = {
api_key = {
_secret = "/run/credentials/recyclarr.service/sonarr-api_key";
};
base_url = "http://localhost:8989";
include = [
{
template = "sonarr-quality-definition-series";
}
{
template = "sonarr-v4-quality-profile-bluray-web-1080p-french-multi-vf";
}
{
template = "sonarr-v4-custom-formats-bluray-web-1080p-french-multi-vf";
}
{
template = "sonarr-v4-quality-profile-bluray-web-1080p-french-multi-vo";
}
{
template = "sonarr-v4-custom-formats-bluray-web-1080p-french-multi-vo";
}
];
delete_old_custom_formats = true;
replace_existing_custom_formats = true;
custom_formats = [
# ===== Versions françaises =====
{
trash_ids = [
"2c29a39a4fdfd6d258799bc4c09731b9" # VFF
"34789ec3caa819f087e23bbf9999daf7" # VF2
];
assign_scores_to = [
{
name = "FR-MULTi-VF-WEB-1080p";
score = 101;
}
{
name = "FR-MULTi-VO-WEB-1080p";
score = 101;
}
];
}
{
trash_ids = [
"7ae924ee9b2f39df3283c6c0beb8a2aa" # VOF
"b6816a0e1d4b64bf3550ad3b74b009b6" # VFI
"802dd70b856c423a9b0cb7f34ac42be1" # VOQ
"82085412d9a53ba8d8e46fc624eb701d" # VQ
"0ce1e39a4676c6692ce47935278dac76" # VFB
];
assign_scores_to = [
{
name = "FR-MULTi-VF-WEB-1080p";
score = 0;
}
{
name = "FR-MULTi-VO-WEB-1080p";
score = 0;
}
];
}
{
trash_ids = [
"7a7f4e4f58bd1058440236d033a90b67" # VFQ
];
assign_scores_to = [
{
name = "FR-MULTi-VF-WEB-1080p";
score = -101;
}
{
name = "FR-MULTi-VO-WEB-1080p";
score = -101;
}
];
}
];
};
};
};
jellyfin.enable = true; jellyfin.enable = true;
slimserver.enable = true; slimserver.enable = true;
}; };
@ -199,15 +36,6 @@
LimitNOFILE = 1048576; LimitNOFILE = 1048576;
}; };
systemd.services.recyclarr.serviceConfig.LoadCredential = [
"radarr-api_key:/mnt/secrets/radarr-api_key"
"sonarr-api_key:/mnt/secrets/sonarr-api_key"
];
systemd.services.transmission.serviceConfig = {
TimeoutStartSec = "20min";
};
networking = { networking = {
firewall.allowedTCPPorts = [ firewall.allowedTCPPorts = [
config.services.transmission.settings.peer-port config.services.transmission.settings.peer-port

View file

@ -247,7 +247,7 @@
}; };
networkConfig = { networkConfig = {
KeepConfiguration = "dynamic-on-stop"; KeepConfiguration = "dhcp-on-stop";
IPv6AcceptRA = true; IPv6AcceptRA = true;
DHCPPrefixDelegation = true; DHCPPrefixDelegation = true;
}; };

View file

@ -198,9 +198,7 @@ in
zigbee2mqtt = { zigbee2mqtt = {
enable = true; enable = true;
package = pkgs.zigbee2mqtt_2;
settings = { settings = {
homeassistant.enabled = config.services.home-assistant.enable;
serial = { serial = {
port = "/dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0014D97058-if00"; port = "/dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0014D97058-if00";
adapter = "zstack"; adapter = "zstack";

View file

@ -93,7 +93,6 @@
{ name = "buffer"; } { name = "buffer"; }
]; ];
}; };
web-devicons.enable = true;
}; };
}; };