mirror of
https://github.com/divnix/digga.git
synced 2024-11-24 05:05:26 +03:00
caba5fd756
Managing servers remotely is a big usecase, and deploy-rs is a flake first deployment tool. By default, all nixosConfigurations are also setup as deploy-rs nodes. You'll still need to do some manual ssh setup, but other than that, the system is ready to deploy.
22 lines
423 B
Nix
22 lines
423 B
Nix
{ inputs }: with inputs;
|
|
{
|
|
modules = [
|
|
home.nixosModules.home-manager
|
|
ci-agent.nixosModules.agent-profile
|
|
];
|
|
|
|
overlays = [
|
|
nur.overlay
|
|
devshell.overlay
|
|
(final: prev: {
|
|
deploy-rs = deploy.packages.${prev.system}.deploy-rs;
|
|
})
|
|
];
|
|
|
|
# passed to all nixos modules
|
|
specialArgs = {
|
|
overrideModulesPath = "${override}/nixos/modules";
|
|
hardware = nixos-hardware.nixosModules;
|
|
};
|
|
}
|