Add extra config input with lock override

This commit is contained in:
Lgmrszd 2024-05-19 01:01:42 +03:00
parent 2be04cc260
commit 2575869f2b
No known key found for this signature in database
GPG key ID: 9396B8BA6FBB14DE
2 changed files with 20 additions and 1 deletions

View file

@ -36,6 +36,8 @@
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-parts.follows = "flake-parts";
};
nix-cfg-extra.url = "git+https://git.lgmrszd.xyz/lgmrszd/nix-cfg-extra-public.git";
};
outputs = inputs@{
@ -70,6 +72,7 @@
overlay-stable
overlay-vaapiIntel
];
inherit (inputs.nix-cfg-extra.lib) extra-data;
in
{
nixosConfigurations.lgm-nixos = nixpkgs.lib.nixosSystem rec {
@ -91,7 +94,7 @@
];
};
nixosConfigurations.lgm-vps1 = let
data = import ./hosts/vps1/data;
data = import ./hosts/vps1/data // extra-data;
in
nixpkgs.lib.nixosSystem rec {
inherit system;