[fugitive] Make config part of deployed system

This commit is contained in:
ctsk
2023-08-23 17:33:34 +02:00
parent 8bc595175d
commit 16d6da8c6b
3 changed files with 50 additions and 10 deletions

View File

@@ -8,17 +8,26 @@
};
outputs = {self, nixpkgs, impermanence}: {
nixosConfigurations = {
fugitive = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
impermanence.outputs.nixosModules.impermanence
./lib/systems/fugitive
outputs = {self, nixpkgs, impermanence}:
let
customPackagesModule = {...}: {
nixpkgs.overlays =
[
(super: self: { config-archive = super.callPackage ./lib/pkgs/config-archive.nix { }; })
];
};
in
{
nixosConfigurations = {
fugitive = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
customPackagesModule
impermanence.outputs.nixosModules.impermanence
./lib/systems/fugitive
];
};
};
};
};
}