Compare commits

...

2 commits

2 changed files with 17 additions and 13 deletions

17
flake.lock generated
View file

@ -299,18 +299,15 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1760782625,
"narHash": "sha256-qeSmHF66cMiHObiBhm8IngmqDBEcqNdBSSoAjuE6tTw=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "f2ee78c4eb601be36a277e1779a7a87655419dad",
"type": "github"
"lastModified": 1763509821,
"narHash": "sha256-ibZr0ONEUA1W2WAdTzgm9/6jBE+tM20j1YW2FK4RZ/k=",
"rev": "659aa6fa27619d04de231b4cc0c938905dfa01e9",
"type": "tarball",
"url": "https://releases.nixos.org/nixos/25.05-small/nixos-25.05.812929.659aa6fa2761/nixexprs.tar.xz?lastModified=1763509821&rev=659aa6fa27619d04de231b4cc0c938905dfa01e9"
},
"original": {
"owner": "nixos",
"ref": "nixos-25.05-small",
"repo": "nixpkgs",
"type": "github"
"type": "tarball",
"url": "https://channels.nixos.org/nixos-25.05-small/nixexprs.tar.xz"
}
},
"pre-commit-hooks": {

View file

@ -2,7 +2,7 @@
description = "tlater.net host configuration";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05-small";
nixpkgs.url = "https://channels.nixos.org/nixos-25.05-small/nixexprs.tar.xz";
## Nix/OS utilities
@ -63,7 +63,6 @@
self,
nixpkgs,
sops-nix,
deploy-rs,
...
}@inputs:
let
@ -78,6 +77,14 @@
./configuration/hardware-specific/vm.nix
];
};
# deploy-rs unfortunately uses an `import nixpkgs`, and its
# library functions depend on an instantiated nixpkgs, so we
# can't get around multi-nixpkgs-eval.
deploy-rs =
(inputs.deploy-rs.overlays.default nixpkgs.legacyPackages.${system}
nixpkgs.legacyPackages.${system}
).deploy-rs;
in
{
##################
@ -159,7 +166,7 @@
packages = nixpkgs.lib.attrValues {
inherit (sops-nix.packages.${system}) sops-import-keys-hook sops-init-gpg-key;
inherit (deploy-rs.packages.${system}) default;
inherit (deploy-rs) deploy-rs;
};
};