aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-11-11 22:25:28 -0800
committerMark Nipper <nipsy@bitgnome.net>2024-11-11 22:25:28 -0800
commit9c5ec5c560380ce018f41406a2e84b1f53fc51df (patch)
tree945c5952a755cfbbe1f47b7aba2074d2ea3fcf12
parenta0a2551d15464a288bbb783935cb3cec17603c94 (diff)
downloadnix-9c5ec5c560380ce018f41406a2e84b1f53fc51df.tar
nix-9c5ec5c560380ce018f41406a2e84b1f53fc51df.tar.gz
nix-9c5ec5c560380ce018f41406a2e84b1f53fc51df.tar.bz2
nix-9c5ec5c560380ce018f41406a2e84b1f53fc51df.tar.lz
nix-9c5ec5c560380ce018f41406a2e84b1f53fc51df.tar.xz
nix-9c5ec5c560380ce018f41406a2e84b1f53fc51df.tar.zst
nix-9c5ec5c560380ce018f41406a2e84b1f53fc51df.zip
Add disko as proper module @uranus
-rw-r--r--flake.nix3
-rw-r--r--hosts/uranus/default.nix1
2 files changed, 3 insertions, 1 deletions
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