diff --git a/hosts/swan/default.nix b/hosts/swan/default.nix index ba632f0..170c795 100644 --- a/hosts/swan/default.nix +++ b/hosts/swan/default.nix @@ -10,10 +10,9 @@ nixpkgs.lib.nixosSystem { specialArgs = { }; modules = [ ./hardware-configuration.nix - ./disks.nix ../../modules/common ../../modules/nixos - (removeAttrs globals [ "mail.server" ]) + (import ./disks.nix) wsl.nixosModules.wsl home-manager.nixosModules.home-manager disko.nixosModules.disko diff --git a/hosts/swan/disks.nix b/hosts/swan/disks.nix index b12d919..3658b3f 100644 --- a/hosts/swan/disks.nix +++ b/hosts/swan/disks.nix @@ -1,4 +1,4 @@ -{ ... }: { +{ disko.devices = { disk = { boot = {