diff --git a/flake.lock b/flake.lock index 0e32aab..69e3b6f 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1727999297, - "narHash": "sha256-LTJuQPCsSItZ/8TieFeP30iY+uaLoD0mT0tAj1gLeyQ=", + "lastModified": 1728901530, + "narHash": "sha256-I9Qd0LnAsEGHtKE9+uVR0iDFmsijWSy7GT0g3jihG4Q=", "owner": "lnl7", "repo": "nix-darwin", - "rev": "8c8388ade72e58efdeae71b4cbb79e872c23a56b", + "rev": "a60ac02f9466f85f092e576fd8364dfc4406b5a6", "type": "github" }, "original": { @@ -137,11 +137,11 @@ ] }, "locked": { - "lastModified": 1728041527, - "narHash": "sha256-03liqiJtk9UP7YQHW4r8MduKCK242FQzud8iWvvlK+o=", + "lastModified": 1728903686, + "narHash": "sha256-ZHFrGNWDDriZ4m8CA/5kDa250SG1LiiLPApv1p/JF0o=", "owner": "nix-community", "repo": "home-manager", - "rev": "509dbf8d45606b618e9ec3bbe4e936b7c5bc6c1e", + "rev": "e1aec543f5caf643ca0d94b6a633101942fd065f", "type": "github" }, "original": { @@ -186,11 +186,11 @@ }, "nixlib": { "locked": { - "lastModified": 1727571693, - "narHash": "sha256-b7sFVeqMtz8xntCL3tBY3O8suTg5PeF53LTL3eCcKyc=", + "lastModified": 1728781282, + "narHash": "sha256-hUP9oxmnOmNnKcDOf5Y55HQ+NnoT0+bLWHLQWLLw9Ks=", "owner": "nix-community", "repo": "nixpkgs.lib", - "rev": "bb58a3bf239e03fca9d51062e2fe028a4ea5a3d1", + "rev": "16340f605f4e8e5cf07fd74dcbe692eee2d4f51b", "type": "github" }, "original": { @@ -207,11 +207,11 @@ ] }, "locked": { - "lastModified": 1727917377, - "narHash": "sha256-eefXdEPUMuhiV6Vy3ASSyApCseE9OoKDgL/G6qenw/4=", + "lastModified": 1728867876, + "narHash": "sha256-NCyOA8WZNoojmXH+kBDrQj3LwvakYNzSc0h+LTXkmPE=", "owner": "nix-community", "repo": "nixos-generators", - "rev": "9ae128172f823956e54947fe471bc6dfa670ecb4", + "rev": "fdf142111597f6c6283cf5ffe092b6293a3911d0", "type": "github" }, "original": { @@ -222,11 +222,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1728031656, - "narHash": "sha256-JXumn7X+suKEcehp4rchSvBzIboqyybQ5bLK4wk7gQU=", + "lastModified": 1728538411, + "narHash": "sha256-f0SBJz1eZ2yOuKUr5CA9BHULGXVSn6miBuUWdTyhUhU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "eeeb90a1dd3c9bea3afdbc76fd34d0fb2a727c7a", + "rev": "b69de56fac8c2b6f8fd27f2eca01dcda8e0a4221", "type": "github" }, "original": { @@ -254,11 +254,11 @@ }, "nixpkgs-stable_2": { "locked": { - "lastModified": 1725762081, - "narHash": "sha256-vNv+aJUW5/YurRy1ocfvs4q/48yVESwlC/yHzjkZSP8=", + "lastModified": 1728156290, + "narHash": "sha256-uogSvuAp+1BYtdu6UWuObjHqSbBohpyARXDWqgI12Ss=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "dc454045f5b5d814e5862a6d057e7bb5c29edc05", + "rev": "17ae88b569bb15590549ff478bab6494dde4a907", "type": "github" }, "original": { @@ -270,11 +270,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1725826545, - "narHash": "sha256-L64N1rpLlXdc94H+F6scnrbuEu+utC03cDDVvvJGOME=", + "lastModified": 1728193676, + "narHash": "sha256-PbDWAIjKJdlVg+qQRhzdSor04bAPApDqIv2DofTyynk=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "f4c846aee8e1e29062aa8514d5e0ab270f4ec2f9", + "rev": "ecbc1ca8ffd6aea8372ad16be9ebbb39889e55b6", "type": "github" }, "original": { @@ -294,11 +294,11 @@ "nixpkgs-stable": "nixpkgs-stable" }, "locked": { - "lastModified": 1727854478, - "narHash": "sha256-/odH2nUMAwkMgOS2nG2z0exLQNJS4S2LfMW0teqU7co=", + "lastModified": 1728778939, + "narHash": "sha256-WybK5E3hpGxtCYtBwpRj1E9JoiVxe+8kX83snTNaFHE=", "owner": "cachix", "repo": "pre-commit-hooks.nix", - "rev": "5f58871c9657b5fc0a7f65670fe2ba99c26c1d79", + "rev": "ff68f91754be6f3427e4986d7949e6273659be1d", "type": "github" }, "original": { @@ -315,17 +315,17 @@ "rpi-bluez-firmware-src": "rpi-bluez-firmware-src", "rpi-firmware-nonfree-src": "rpi-firmware-nonfree-src", "rpi-firmware-src": "rpi-firmware-src", - "rpi-linux-6_10_8-src": "rpi-linux-6_10_8-src", - "rpi-linux-6_6_47-src": "rpi-linux-6_6_47-src", + "rpi-linux-6_10_12-src": "rpi-linux-6_10_12-src", + "rpi-linux-6_6_54-src": "rpi-linux-6_6_54-src", "rpicam-apps-src": "rpicam-apps-src", "u-boot-src": "u-boot-src" }, "locked": { - "lastModified": 1726837731, - "narHash": "sha256-+yZWOHSCwrdSiDviF40o0vb8D+9QfUhcVKWTAskV0Kk=", + "lastModified": 1728342950, + "narHash": "sha256-ivgUYs0fhoEqRN8bxAT72aQBD6z9yGKBv6hJL9N6RJI=", "owner": "nix-community", "repo": "raspberry-pi-nix", - "rev": "d342e97d257f946c16bf6b610cf58d95555be8e7", + "rev": "9126fc5c04fa840fd8c571411353d1c36d98f51e", "type": "github" }, "original": { @@ -385,28 +385,28 @@ "rpi-firmware-src": { "flake": false, "locked": { - "lastModified": 1725277507, - "narHash": "sha256-DN+NlesZ8YfuVwLKQSHckvpNZxqsbKRflOcS3ShO3Ss=", + "lastModified": 1727798811, + "narHash": "sha256-eavbshXGYmkYR33y9FLcQMJoAYdYTESVEy0g/RRXnb0=", "owner": "raspberrypi", "repo": "firmware", - "rev": "b5eb52b343e9bc1391a8059a38e12e470c109f5c", + "rev": "287e6a6c2d3b50eee3e2c5b2eacdd907e5cbe09a", "type": "github" }, "original": { "owner": "raspberrypi", - "ref": "1.20240902", + "ref": "1.20241001", "repo": "firmware", "type": "github" } }, - "rpi-linux-6_10_8-src": { + "rpi-linux-6_10_12-src": { "flake": false, "locked": { - "lastModified": 1725639824, - "narHash": "sha256-ogItkH2cBiNGmenJUPAhAH591qufrWh1zeqAJCNAExw=", + "lastModified": 1728305462, + "narHash": "sha256-LtvNmGD1D5YYv+C9xxxddAeHw69o3OX/H9M7F663L74=", "owner": "raspberrypi", "repo": "linux", - "rev": "0c0217e02da43439fb08b2f6b09530723331ed15", + "rev": "26ee50d56618c2d98100b1bc672fd201aed4d00f", "type": "github" }, "original": { @@ -416,14 +416,14 @@ "type": "github" } }, - "rpi-linux-6_6_47-src": { + "rpi-linux-6_6_54-src": { "flake": false, "locked": { - "lastModified": 1725956269, - "narHash": "sha256-zn1Totn8NU8MCJmWRGsdarNeSo8rzscrBnhdRVMBuT0=", + "lastModified": 1728155174, + "narHash": "sha256-/8RjW35XQMnshjAE4Ey8j3oWzE2GOntnBYY6PlvZGhs=", "owner": "raspberrypi", "repo": "linux", - "rev": "cc50cdbcf3e8f065bd7798a92689f54578b4169f", + "rev": "12f0f28db3afe451a81a34c5a444f6841c10067c", "type": "github" }, "original": { @@ -436,16 +436,16 @@ "rpicam-apps-src": { "flake": false, "locked": { - "lastModified": 1725543038, - "narHash": "sha256-rl5GVigiZWXkpfIteRWUMjtCaPweXRWrBrZOjQ1hiU8=", + "lastModified": 1727515047, + "narHash": "sha256-qCYGrcibOeGztxf+sd44lD6VAOGoUNwRqZDdAmcTa/U=", "owner": "raspberrypi", "repo": "rpicam-apps", - "rev": "d7a1a13b041ef2842cd56d7e395b8c9a0ffc3bf5", + "rev": "a8ccf9f3cd9df49875dfb834a2b490d41d226031", "type": "github" }, "original": { "owner": "raspberrypi", - "ref": "v1.5.1", + "ref": "v1.5.2", "repo": "rpicam-apps", "type": "github" } @@ -458,11 +458,11 @@ "nixpkgs-stable": "nixpkgs-stable_2" }, "locked": { - "lastModified": 1727734513, - "narHash": "sha256-i47LQwoGCVQq4upV2YHV0OudkauHNuFsv306ualB/Sw=", + "lastModified": 1728345710, + "narHash": "sha256-lpunY1+bf90ts+sA2/FgxVNIegPDKCpEoWwOPu4ITTQ=", "owner": "Mic92", "repo": "sops-nix", - "rev": "3198a242e547939c5e659353551b0668ec150268", + "rev": "06535d0e3d0201e6a8080dd32dbfde339b94f01b", "type": "github" }, "original": { diff --git a/nix/hosts/heraclitus/homebrew.nix b/nix/hosts/heraclitus/homebrew.nix index 1bb26b5..bdc05b4 100644 --- a/nix/hosts/heraclitus/homebrew.nix +++ b/nix/hosts/heraclitus/homebrew.nix @@ -28,6 +28,7 @@ _: "ipfs" "kind" "kubernetes-cli" + "libtool" "mr" "ripgrep" "tea" diff --git a/nix/modules/base/common.nix b/nix/modules/base/common.nix index f1f79c3..6c76daf 100644 --- a/nix/modules/base/common.nix +++ b/nix/modules/base/common.nix @@ -14,11 +14,13 @@ _: substituters = [ "https://walkah.cachix.org" "https://nix-community.cachix.org" + "https://cache.garnix.io" ]; trusted-public-keys = [ "walkah.cachix.org-1:D8cO78JoJC6UPV1ZMgd1V5znpk3jNUERGIeAKN15hxo=" "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" ]; }; }; diff --git a/nix/modules/base/nixos.nix b/nix/modules/base/nixos.nix index 2230ebc..47ce09f 100644 --- a/nix/modules/base/nixos.nix +++ b/nix/modules/base/nixos.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: { +{ config, pkgs, ... }: { imports = [ ./common.nix ../monitoring ../../users ]; @@ -36,6 +36,12 @@ }; system = { + autoUpgrade = { + enable = true; + flake = "github:walkah/athens#${config.networking.hostName}"; + dates = "hourly"; + flags = [ "--option" "tarball-ttl" "0" ]; + }; stateVersion = "23.05"; }; }