mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-08 06:30:18 +02:00
more refactoring
This commit is contained in:
parent
dcc640bd56
commit
ed7afeba43
20 changed files with 222 additions and 136 deletions
22
flake.nix
22
flake.nix
|
@ -18,6 +18,10 @@
|
|||
flake = false;
|
||||
};
|
||||
|
||||
miovim = {
|
||||
url = "https://git.hypervirtual.world/harry123/miovim";
|
||||
};
|
||||
|
||||
nixos-generators = {
|
||||
url = "github:nix-community/nixos-generators";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
@ -25,13 +29,8 @@
|
|||
|
||||
nix-darwin.url = "github:LnL7/nix-darwin";
|
||||
nix-darwin.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=v0.4.1";
|
||||
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
|
||||
nixvim = {
|
||||
url = "github:nix-community/nixvim";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
walker.url = "github:abenz1267/walker";
|
||||
};
|
||||
|
@ -48,6 +47,7 @@
|
|||
nix-flatpak,
|
||||
home-manager,
|
||||
nixvim,
|
||||
miovim,
|
||||
...
|
||||
}@inputs:
|
||||
let
|
||||
|
@ -153,6 +153,18 @@
|
|||
];
|
||||
format = "proxmox";
|
||||
};
|
||||
|
||||
diva = nixos-generators.nixosGenerate {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
diskSize = 20 * 1024;
|
||||
inherit specialArgs;
|
||||
};
|
||||
modules = [
|
||||
./hosts/diva/configuration.nix
|
||||
];
|
||||
format = "proxmox";
|
||||
};
|
||||
};
|
||||
|
||||
darwinConfigurations."iMac-de-Eddie" = nix-darwin.lib.darwinSystem {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue