mirror of
https://git.lgmrszd.xyz/Lgmrszd/nix-cfg.git
synced 2024-11-09 21:38:34 +01:00
Add extra config input with lock override
This commit is contained in:
parent
2be04cc260
commit
2575869f2b
2 changed files with 20 additions and 1 deletions
16
flake.lock
16
flake.lock
|
@ -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",
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue