feat(infra): Switch to lix

This commit is contained in:
Tom Hubrecht 2024-05-15 19:18:29 +02:00
parent bc5ee80d69
commit e2278740e5
2 changed files with 33 additions and 1 deletions

View file

@ -69,7 +69,10 @@ in
{ name, nodeMeta, ... }:
{
# Import the default modules
imports = [ ./modules ];
imports = [
./modules
(import "${sources.lix-module}/module.nix" { inherit (sources) lix; })
];
# Include default secrets
age-secrets.sources = [ ./machines/${name}/secrets ];
@ -87,6 +90,11 @@ in
dates = "weekly";
options = "--delete-older-than 7d";
};
settings = {
extra-substituters = [ "https://cache.lix.systems" ];
trusted-public-keys = [ "cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o=" ];
};
};
# Allow unfree packages

View file

@ -89,6 +89,30 @@
"url": "https://github.com/JulienMalka/Linkal/archive/085630bf369b68d2264baca020efc94c877d78e6.tar.gz",
"hash": "0m426vjk7mjyp1gd1dsnnn5xkplsqs0ksawbmhza6fycsmavc3cx"
},
"lix": {
"type": "GitRelease",
"repository": {
"type": "Git",
"url": "https://git.lix.systems/lix-project/lix.git"
},
"pre_releases": true,
"version_upper_bound": null,
"version": "2.90-beta.1",
"revision": "b6799ab0374a8e1907a48915d3187e07da41d88c",
"url": null,
"hash": "0d0dbn08pmrf7zlkihiyagcpy9ywdr14r6brqrjg47aqcjisaia4"
},
"lix-module": {
"type": "Git",
"repository": {
"type": "Git",
"url": "https://git.lix.systems/lix-project/nixos-module.git"
},
"branch": "main",
"revision": "87b7b7e4bd936301b139e472589d1966b136f45f",
"url": null,
"hash": "08sr2qkjn1j7b9wyvisax3bzwgsd3p8xxzri2vvb9rdbbbp0fwx5"
},
"metis": {
"type": "Git",
"repository": {