fix: move flake to root dir
This commit is contained in:
6
nixos/flake.lock → flake.lock
generated
6
nixos/flake.lock → flake.lock
generated
@@ -142,11 +142,11 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1723221148,
|
||||
"narHash": "sha256-7pjpeQlZUNQ4eeVntytU3jkw9dFK3k1Htgk2iuXjaD8=",
|
||||
"lastModified": 1723572004,
|
||||
"narHash": "sha256-U5gKtbKuPahB02iGeGHFPlKr/HqrvSsHlEDEXoVyaPc=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "154bcb95ad51bc257c2ce4043a725de6ca700ef6",
|
||||
"rev": "19674872444bb3e0768249e724d99c8649c3bd78",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -18,7 +18,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { flake-utils,nixpkgs, disko, agenix, nixos-generators, ... }: let
|
||||
outputs = { flake-utils,nixpkgs, nixos-generators, ... }: let
|
||||
nodes = ["premhome-falcon-1" "premhome-falcon-2"];
|
||||
in {
|
||||
packages = builtins.listToAttrs(map (system: {
|
||||
@@ -28,7 +28,7 @@
|
||||
format = "iso";
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./proxmox/iso.nix # base configuration of the image
|
||||
./nixos/proxmox/iso.nix # base configuration of the image
|
||||
];
|
||||
};
|
||||
};
|
||||
@@ -39,7 +39,7 @@
|
||||
create-vm = let
|
||||
pkgs = import nixpkgs { system = "x86_64-linux"; };
|
||||
script-name = "create-vm";
|
||||
src = builtins.readFile ./proxmox/create-vm.sh;
|
||||
src = builtins.readFile ./nixos/proxmox/create-vm.sh;
|
||||
script = (pkgs.writeScriptBin script-name src).overrideAttrs(old: {
|
||||
buildCommand = "${old.buildCommand}\n patchShebangs $out";
|
||||
});
|
||||
Reference in New Issue
Block a user