From 8a180e440b2a97e0e8a0293d180d8783dd7ead4f Mon Sep 17 00:00:00 2001 From: Dominik Kaiser Date: Sat, 15 Feb 2025 20:59:42 +0100 Subject: Add server config --- flake.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 65a7b17..b6feaf5 100644 --- a/flake.nix +++ b/flake.nix @@ -8,6 +8,10 @@ # Home manager home-manager.url = "github:nix-community/home-manager/release-24.11"; home-manager.inputs.nixpkgs.follows = "nixpkgs"; + + # Disko + disko.url = "github:nix-community/disko"; + disko.inputs.nixpkgs.follows = "nixpkgs"; }; outputs = { @@ -25,6 +29,14 @@ specialArgs = {inherit inputs outputs;}; modules = [./nixos/configuration.nix]; }; + antares = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = [ + disko.nixosModules.disko + ./hosts/antares/configuration.nix + ./hosts/antares/hardware-configuration.nix + ]; + }; }; # Standalone home-manager configuration entrypoint -- cgit v1.2.3