vps1: move some settings into a separate file

This commit is contained in:
Lgmrszd 2024-05-12 13:01:04 +03:00
parent 8699da4a85
commit 9c820fa600
No known key found for this signature in database
GPG key ID: 9396B8BA6FBB14DE
5 changed files with 24 additions and 9 deletions

View file

@ -68,8 +68,12 @@
}
];
};
nixosConfigurations.lgm-vps1 = nixpkgs.lib.nixosSystem rec {
nixosConfigurations.lgm-vps1 = let
data = import ./hosts/vps1/data;
in
nixpkgs.lib.nixosSystem rec {
inherit system;
specialArgs = { inherit data; };
modules = [
({ config, pkgs, ... }: { nixpkgs.overlays = my-overlays; })
./hosts/vps1/configuration.nix