replace nixosConfigurations with colmena apply-local
This commit is contained in:
parent
46245ca526
commit
e33b4b87da
1 changed files with 20 additions and 4 deletions
22
flake.nix
22
flake.nix
|
|
@ -63,13 +63,29 @@
|
|||
};
|
||||
}) // {
|
||||
|
||||
nixosConfigurations = {
|
||||
dustbowl = nixpkgs.lib.nixosSystem {
|
||||
colmena = {
|
||||
|
||||
meta = {
|
||||
nixpkgs = import nixpkgs {
|
||||
system = "x86_64-linux";
|
||||
modules = [ (import ./nixos/dustbowl.nix { nixpkgs = nixpkgs; }) ];
|
||||
overlays = [ ];
|
||||
};
|
||||
};
|
||||
|
||||
dustbowl = { name, nodes, ... }: {
|
||||
networking.hostName = "dustbowl";
|
||||
|
||||
deployment = {
|
||||
allowLocalDeployment = true;
|
||||
targetHost = null;
|
||||
privilegeEscalationCommand = [ "doas" ];
|
||||
};
|
||||
|
||||
imports = [ (import ./nixos/dustbowl.nix { nixpkgs = nixpkgs; }) ];
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
legacyPackages = nixpkgs.legacyPackages;
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue