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

@ -222,6 +222,21 @@
"type": "github"
}
},
"nix-cfg-extra": {
"locked": {
"lastModified": 1716069899,
"narHash": "sha256-p4v5ngjHIJ6iyTN01iw3ubWDUVSYIAVA3NP95a58eYs=",
"ref": "refs/heads/main",
"rev": "c4247e50ed0fb24f4f9676fc8d90064f103f5cb0",
"revCount": 2,
"type": "git",
"url": "file:///home/lgm/nix-cfg-extra"
},
"original": {
"type": "git",
"url": "https://git.lgmrszd.xyz/lgmrszd/nix-cfg-extra-public.git"
}
},
"nix-github-actions": {
"inputs": {
"nixpkgs": [
@ -340,6 +355,7 @@
"flake-utils": "flake-utils_2",
"home-manager": "home-manager",
"mailserver": "mailserver",
"nix-cfg-extra": "nix-cfg-extra",
"nixpkgs": "nixpkgs",
"nixpkgs-fresh": "nixpkgs-fresh",
"nixpkgs-stable": "nixpkgs-stable",

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;