mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-09 23:20:18 +02:00
updated goober config
This commit is contained in:
parent
d5b3261f40
commit
3df10b933d
5 changed files with 98 additions and 3 deletions
34
flake.nix
34
flake.nix
|
@ -9,9 +9,14 @@
|
|||
alejandra.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
nix-secrets = {
|
||||
url = "git+https://git.hypervirtual.world/harry123/nix-secrets.git";
|
||||
url = "git+https://git.hypervirtual.world/harry123/nix-secrets.git"; # replace with your own repo
|
||||
flake = false;
|
||||
};
|
||||
|
||||
nixos-generators = {
|
||||
url = "github:nix-community/nixos-generators";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs =
|
||||
|
@ -41,6 +46,8 @@
|
|||
];
|
||||
};
|
||||
|
||||
# athena = nixpkgs.lib.nixosSystem {}:
|
||||
|
||||
labouse = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
|
@ -48,6 +55,17 @@
|
|||
];
|
||||
};
|
||||
|
||||
goober = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = specialArgs;
|
||||
modules = [
|
||||
./hosts/goober/configuration.nix
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
isos = {
|
||||
goober = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
|
@ -56,5 +74,19 @@
|
|||
};
|
||||
};
|
||||
|
||||
proxmox = {
|
||||
sisyphe = nixos-generators.nixosGenerate {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
diskSize = 600 * 1024;
|
||||
inherit specialArgs;
|
||||
};
|
||||
modules = [
|
||||
./hosts/sisyphe/configuration.nix
|
||||
sops-nix.nixosModules.sops
|
||||
];
|
||||
format = "proxmox";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue