diff --git a/configuration.nix b/configuration.nix index ed0e7b1..d442ea8 100644 --- a/configuration.nix +++ b/configuration.nix @@ -28,25 +28,26 @@ }; nix = { - #garbage collection and cleanup stuff - gc = { - automatic = true; - dates = "weekly"; - options = "--delete-older-than 7d"; - }; - - #optimize the store + # optimize the store optimise.automatic = true; - #enable flakes! + # enable flakes! settings.experimental-features = [ "nix-command" "flakes" ]; }; + # https://github.com/viperML/nh + programs.nh = { + enable = true; + clean.enable = true; + clean.extraArgs = "--keep-since 4d --keep 3"; + }; + boot = { - kernelPackages = pkgs.linuxPackages_6_10; + # kernelPackages = pkgs.linuxPackages_6_10; + kernelPackages = pkgs.linuxPackages; supportedFilesystems = [ "zfs" ]; zfs.extraPools = [ "tank" ]; diff --git a/flake.lock b/flake.lock index de0597e..cac869c 100644 --- a/flake.lock +++ b/flake.lock @@ -43,11 +43,11 @@ ] }, "locked": { - "lastModified": 1729129578, - "narHash": "sha256-iZnoPpexSDKsCNFWfF6QFsxD/jC+l6GalSqx7Q3L41M=", + "lastModified": 1729647959, + "narHash": "sha256-3effNhs4C9+45qkMDR0cIbp5YAbhdosUFxf5jBetRXk=", "owner": "Infinidoge", "repo": "nix-minecraft", - "rev": "8a5c546a755ecc089ea8355c5b7ccbe284e8f00e", + "rev": "7372dca0c43e1a9829ea7b86fd93bb17ab3b2e41", "type": "github" }, "original": { @@ -58,11 +58,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1728729581, - "narHash": "sha256-oazkQ/z7r43YkDLLQdMg8oIB3CwWNb+2ZrYOxtLEWTQ=", + "lastModified": 1729690929, + "narHash": "sha256-cTSekmupaDfrhlpLhBUBrU9mUzBaD6mYsMveTX0bKDg=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "a8dd1b21995964b115b1e3ec639dd6ce24ab9806", + "rev": "64d900abe40057393148bc0283d35c2254dd4f57", "type": "github" }, "original": { @@ -74,11 +74,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1729194116, - "narHash": "sha256-JrdCY/CX30eyUhd7u8hmDgZLuG/HsNDqTu8RQQTpQO0=", + "lastModified": 1729732943, + "narHash": "sha256-MVVup9A+42n+Ch3mh44pXfGuhVzdZD/iItcuc9+xXbY=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "8e8d47269fef696d0264584a33405bae4c9a4005", + "rev": "37ac2e71f555dc8ad41744d4c16f9d2e1c541a7b", "type": "github" }, "original": { diff --git a/services/immich.nix b/services/immich.nix index 20c2f74..f33ef36 100644 --- a/services/immich.nix +++ b/services/immich.nix @@ -9,6 +9,7 @@ enable = true; mediaLocation = service_configs.immich.dir; port = 2283; + openFirewall = true; host = "0.0.0.0"; database = { createDB = false; diff --git a/services/minecraft.nix b/services/minecraft.nix index 328073b..d65f917 100644 --- a/services/minecraft.nix +++ b/services/minecraft.nix @@ -79,6 +79,11 @@ in url = "https://cdn.modrinth.com/data/KOHu7RCS/versions/cYZu5wqk/Moonrise-Fabric-0.1.0-beta.4%2Be244c60.jar"; sha512 = "e54f1072a7a037f75f990abfb8d34282a9c70c36e7eea2ecb6d1e0e5f127aa46c8f40345d661df49357e9adbe3850816b732b515d5821f49f114b06ddac91c07"; }; + + mixintrace = pkgs.fetchurl { + url = "https://cdn.modrinth.com/data/sGmHWmeL/versions/1.1.1%2B1.17/mixintrace-1.1.1%2B1.17.jar"; + sha512 = "ea9034b60bc1c64629a9bcad2e619907692fe6e7464026236c55cc5a4892a20d21dd6318ad0380ab2ec245f7077939b6717d2ed58e00708c17470be14f5e0b5f"; + }; } ); };