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