don't make disks.nix proper nixos module

This commit is contained in:
Noah Masur 2023-02-25 09:55:57 -05:00
parent 741692e6f1
commit 3dd7fa12b0
2 changed files with 2 additions and 3 deletions

View File

@ -10,10 +10,9 @@ nixpkgs.lib.nixosSystem {
specialArgs = { }; specialArgs = { };
modules = [ modules = [
./hardware-configuration.nix ./hardware-configuration.nix
./disks.nix
../../modules/common ../../modules/common
../../modules/nixos ../../modules/nixos
(removeAttrs globals [ "mail.server" ]) (import ./disks.nix)
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 = {