diff --git a/hosts/hydrogen/default.nix b/hosts/hydrogen/default.nix index 0aac3c3..85566db 100644 --- a/hosts/hydrogen/default.nix +++ b/hosts/hydrogen/default.nix @@ -1,9 +1 @@ -{ modulesPath, lib, ... }: { - imports = - lib.optional (builtins.pathExists ./do-userdata.nix) ./do-userdata.nix ++ [ - (modulesPath + "/virtualisation/digital-ocean-config.nix") - - ./services - ./system - ]; -} +{ ... }: { imports = [ ./services ./system ]; } diff --git a/hosts/hydrogen/system/default.nix b/hosts/hydrogen/system/default.nix index 1c9355f..3266288 100644 --- a/hosts/hydrogen/system/default.nix +++ b/hosts/hydrogen/system/default.nix @@ -1,4 +1,4 @@ -{ ... }: { +{ modulesPath, ... }: { # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave @@ -7,5 +7,13 @@ # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). system.stateVersion = "23.05"; # Did you read the comment? - imports = [ ./networking ./packages ./ssh ./users ]; + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") + (modulesPath + "/profiles/qemu-guest.nix") + ./disko + ./networking + ./packages + ./ssh + ./users + ]; }