Revert "don't make disks.nix proper nixos module"

This reverts commit 3dd7fa12b0.
This commit is contained in:
Noah Masur 2023-02-25 09:57:58 -05:00
parent 0ba2492c61
commit 80d0451ff3
2 changed files with 3 additions and 2 deletions

View File

@ -10,9 +10,10 @@ nixpkgs.lib.nixosSystem {
specialArgs = { }; specialArgs = { };
modules = [ modules = [
./hardware-configuration.nix ./hardware-configuration.nix
./disks.nix
../../modules/common ../../modules/common
../../modules/nixos ../../modules/nixos
(import ./disks.nix) (removeAttrs globals [ "mail.server" ])
wsl.nixosModules.wsl wsl.nixosModules.wsl
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
disko.nixosModules.disko disko.nixosModules.disko

View File

@ -1,4 +1,4 @@
{ { ... }: {
disko.devices = { disko.devices = {
disk = { disk = {
boot = { boot = {