summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-07-07 07:57:19 +0200
committerSoispha <soispha@vhack.eu>2023-07-07 07:57:19 +0200
commit2c6c07ec5f0d5ebadef35bcc5212bee9f4330fb4 (patch)
tree938968302823cfa649d8e14aaedafd6b6c9517e2
parentChore(.gitattributes): Remove removed acme path (diff)
downloadnixos-server-2c6c07ec5f0d5ebadef35bcc5212bee9f4330fb4.tar.gz
nixos-server-2c6c07ec5f0d5ebadef35bcc5212bee9f4330fb4.zip
Refactor(system/impermanence): Move to own directory
-rw-r--r--system/default.nix1
-rw-r--r--system/file_system_layouts/default.nix4
-rw-r--r--system/impermanence/default.nix (renamed from system/file_system_layouts/impermanence.nix)0
3 files changed, 1 insertions, 4 deletions
diff --git a/system/default.nix b/system/default.nix
index 4b52b79..e1cdb28 100644
--- a/system/default.nix
+++ b/system/default.nix
@@ -1,6 +1,7 @@
 {...}: {
   imports = [
     ./file_system_layouts
+    ./impermanence
     ./packages
     ./services
     ./users
diff --git a/system/file_system_layouts/default.nix b/system/file_system_layouts/default.nix
index d038632..95400bd 100644
--- a/system/file_system_layouts/default.nix
+++ b/system/file_system_layouts/default.nix
@@ -6,10 +6,6 @@
 with lib; let
   cfg = config.system.fileSystemLayouts;
 in {
-  imports = [
-    ./impermanence.nix
-  ];
-
   options.system.fileSystemLayouts = {
     mainDisk = mkOption {
       type = lib.types.path;
diff --git a/system/file_system_layouts/impermanence.nix b/system/impermanence/default.nix
index 32ad9f7..32ad9f7 100644
--- a/system/file_system_layouts/impermanence.nix
+++ b/system/impermanence/default.nix