replace nixosConfigurations with colmena apply-local

This commit is contained in:
joachimschmidt557 2025-02-15 19:17:01 +01:00
parent 46245ca526
commit e33b4b87da
No known key found for this signature in database
GPG key ID: E0B575BE2884ACC5

View file

@ -63,11 +63,27 @@
};
}) // {
nixosConfigurations = {
dustbowl = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [ (import ./nixos/dustbowl.nix { nixpkgs = nixpkgs; }) ];
colmena = {
meta = {
nixpkgs = import nixpkgs {
system = "x86_64-linux";
overlays = [ ];
};
};
dustbowl = { name, nodes, ... }: {
networking.hostName = "dustbowl";
deployment = {
allowLocalDeployment = true;
targetHost = null;
privilegeEscalationCommand = [ "doas" ];
};
imports = [ (import ./nixos/dustbowl.nix { nixpkgs = nixpkgs; }) ];
};
};
legacyPackages = nixpkgs.legacyPackages;