From b314c296b23fb535e4bb14d1eef316411f4fc596 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Wed, 19 Jun 2024 20:51:44 +0200 Subject: [PATCH] update to nixos 24.05 --- flake.lock | 57 ++++++++++++++---------------------------------------- flake.nix | 7 ++++--- 2 files changed, 18 insertions(+), 46 deletions(-) diff --git a/flake.lock b/flake.lock index 3efb2fe..22dcd5d 100644 --- a/flake.lock +++ b/flake.lock @@ -61,58 +61,44 @@ "deploy-rs", "flake-compat" ], - "nixpkgs": "nixpkgs", - "nixpkgs-23_05": [ + "nixpkgs": [ + "nixpkgs-unstable" + ], + "nixpkgs-24_05": [ "nixpkgs" ], - "nixpkgs-23_11": "nixpkgs-23_11", "utils": [ "deploy-rs", "utils" ] }, "locked": { - "lastModified": 1706219574, - "narHash": "sha256-qO+8UErk+bXCq2ybHU4GzXG4Ejk4Tk0rnnTPNyypW4g=", + "lastModified": 1718084203, + "narHash": "sha256-Cx1xoVfSMv1XDLgKg08CUd1EoTYWB45VmB9XIQzhmzI=", "owner": "simple-nixos-mailserver", "repo": "nixos-mailserver", - "rev": "e47f3719f1db3e0961a4358d4cb234a0acaa7baf", + "rev": "29916981e7b3b5782dc5085ad18490113f8ff63b", "type": "gitlab" }, "original": { "owner": "simple-nixos-mailserver", - "ref": "nixos-23.11", + "ref": "nixos-24.05", "repo": "nixos-mailserver", "type": "gitlab" } }, "nixpkgs": { "locked": { - "lastModified": 1705856552, - "narHash": "sha256-JXfnuEf5Yd6bhMs/uvM67/joxYKoysyE3M2k6T3eWbg=", + "lastModified": 1718543618, + "narHash": "sha256-/VAxV/4lvtOtq4Zxq0MrqTGj7g8aSR/eJQDXB37ozvs=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "612f97239e2cc474c13c9dafa0df378058c5ad8d", + "rev": "de0ae76b011bf0000d58ab71821199ce310128b2", "type": "github" }, "original": { "id": "nixpkgs", - "ref": "nixos-unstable", - "type": "indirect" - } - }, - "nixpkgs-23_11": { - "locked": { - "lastModified": 1706098335, - "narHash": "sha256-r3dWjT8P9/Ah5m5ul4WqIWD8muj5F+/gbCdjiNVBKmU=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "a77ab169a83a4175169d78684ddd2e54486ac651", - "type": "github" - }, - "original": { - "id": "nixpkgs", - "ref": "nixos-23.11", + "ref": "nixos-24.05-small", "type": "indirect" } }, @@ -148,21 +134,6 @@ } }, "nixpkgs_2": { - "locked": { - "lastModified": 1718478900, - "narHash": "sha256-v43N1gZLcGkhg3PdcrKUNIZ1L0FBzB2JqhIYEyKAHEs=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "c884223af91820615a6146af1ae1fea25c107005", - "type": "github" - }, - "original": { - "id": "nixpkgs", - "ref": "nixos-23.11-small", - "type": "indirect" - } - }, - "nixpkgs_3": { "locked": { "lastModified": 1718276985, "narHash": "sha256-u1fA0DYQYdeG+5kDm1bOoGcHtX0rtC7qs2YA2N1X++I=", @@ -182,7 +153,7 @@ "inputs": { "deploy-rs": "deploy-rs", "nixos-mailserver": "nixos-mailserver", - "nixpkgs": "nixpkgs_2", + "nixpkgs": "nixpkgs", "nixpkgs-oldstable": "nixpkgs-oldstable", "nixpkgs-unstable": "nixpkgs-unstable", "sops-nix": "sops-nix", @@ -191,7 +162,7 @@ }, "sops-nix": { "inputs": { - "nixpkgs": "nixpkgs_3", + "nixpkgs": "nixpkgs_2", "nixpkgs-stable": [ "nixpkgs" ] diff --git a/flake.nix b/flake.nix index 7e3747c..e49f0ef 100644 --- a/flake.nix +++ b/flake.nix @@ -2,11 +2,11 @@ description = "hacc infra stuff"; inputs = { - nixpkgs.url = "nixpkgs/nixos-23.11-small"; + nixpkgs.url = "nixpkgs/nixos-24.05-small"; nixpkgs-unstable.url = "nixpkgs/nixos-unstable-small"; nixpkgs-oldstable.url = "github:/NixOS/nixpkgs?rev=c4aec3c021620d98861639946123214207e98344"; - nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-23.11"; + nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-24.05"; tracktrain.url = "git+https://stuebinm.eu/git/tracktrain?ref=main"; tracktrain.flake = false; @@ -18,7 +18,8 @@ # these exist mostly to make the flake.lock somewhat more human-friendly # note that in theory doing this might break things, but it seems fairly unlikely nixos-mailserver.inputs = { - "nixpkgs-23_05".follows = "nixpkgs"; + "nixpkgs-24_05".follows = "nixpkgs"; + nixpkgs.follows = "nixpkgs-unstable"; utils.follows = "/deploy-rs/utils"; flake-compat.follows = "/deploy-rs/flake-compat"; };