diff --git a/modules/system/boot/default.nix b/modules/system/boot/default.nix deleted file mode 100644 index 5a3869b..0000000 --- a/modules/system/boot/default.nix +++ /dev/null @@ -1,4 +0,0 @@ -{ ... }: -{ - imports = [ ./systemd ]; -} diff --git a/modules/system/default.nix b/modules/system/default.nix index fb742ef..3502e88 100644 --- a/modules/system/default.nix +++ b/modules/system/default.nix @@ -2,7 +2,6 @@ { imports = [ ./accounts - ./boot ./devices ./options ./programs diff --git a/modules/system/devices/boot/systemd/default.nix b/modules/system/devices/boot/systemd/default.nix index a2c9a5d..8542def 100644 --- a/modules/system/devices/boot/systemd/default.nix +++ b/modules/system/devices/boot/systemd/default.nix @@ -1,5 +1,7 @@ { ... }: { + imports = [ ./services ]; + boot.loader.systemd-boot = { enable = true; editor = false; diff --git a/modules/system/boot/systemd/default.nix b/modules/system/devices/boot/systemd/services/default.nix similarity index 100% rename from modules/system/boot/systemd/default.nix rename to modules/system/devices/boot/systemd/services/default.nix diff --git a/modules/system/boot/systemd/root-reset/default.nix b/modules/system/devices/boot/systemd/services/root-reset/default.nix similarity index 100% rename from modules/system/boot/systemd/root-reset/default.nix rename to modules/system/devices/boot/systemd/services/root-reset/default.nix