From 9c5ec5c560380ce018f41406a2e84b1f53fc51df Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Mon, 11 Nov 2024 22:25:28 -0800 Subject: Add disko as proper module @uranus --- flake.nix | 3 ++- hosts/uranus/default.nix | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index d7ea955..0112d18 100644 --- a/flake.nix +++ b/flake.nix @@ -38,7 +38,7 @@ }; - outputs = { home-manager-stable, home-manager, nixos-hardware, nixpkgs-67e692392, nixpkgs-master, nixpkgs-stable, nixpkgs, nvidia-patch, self, sops-nix, ... } @ inputs: let + outputs = { disko, home-manager-stable, home-manager, nixos-hardware, nixpkgs-67e692392, nixpkgs-master, nixpkgs-stable, nixpkgs, nvidia-patch, self, sops-nix, ... } @ inputs: let inherit (self) outputs; systems = [ #"aarch64-linux" @@ -160,6 +160,7 @@ uranus = nixpkgs.lib.nixosSystem rec { specialArgs = { inherit inputs outputs; }; modules = [ + disko.nixosModules.disko ./hosts/uranus home-manager.nixosModules.home-manager { #home-manager.sharedModules = [ sops-nix.homeManagerModules.sops ]; diff --git a/hosts/uranus/default.nix b/hosts/uranus/default.nix index 2128dc2..73a4d6e 100644 --- a/hosts/uranus/default.nix +++ b/hosts/uranus/default.nix @@ -18,6 +18,7 @@ ]; imports = [ + ./disks.nix ./hardware-configuration.nix ../common/core ../common/optional/misc.nix -- cgit v1.2.3