[fugitive] Make config part of deployed system
This commit is contained in:
29
flake.nix
29
flake.nix
@@ -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
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user