From d84e2a4740c6d700a24d1ff7108a1cc7d1683200 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sat, 22 Jun 2024 22:51:26 +0200 Subject: [PATCH] Add an arch specific partitioning scheme --- profiles/DerGeret/Arch/partition.nix | 7 +------ scripts/Arch/OS/partition.nix | 11 +++++++++++ 2 files changed, 12 insertions(+), 6 deletions(-) create mode 100644 scripts/Arch/OS/partition.nix diff --git a/profiles/DerGeret/Arch/partition.nix b/profiles/DerGeret/Arch/partition.nix index 6eb13fec..3c02506c 100644 --- a/profiles/DerGeret/Arch/partition.nix +++ b/profiles/DerGeret/Arch/partition.nix @@ -1,11 +1,6 @@ { ... }: { imports = [ ../partition.nix + ../../../scripts/Arch/OS/partition.nix ]; - - config = { - partition.os.partitions = { - OS.label = "Arch"; - }; - }; } diff --git a/scripts/Arch/OS/partition.nix b/scripts/Arch/OS/partition.nix new file mode 100644 index 00000000..347a76cd --- /dev/null +++ b/scripts/Arch/OS/partition.nix @@ -0,0 +1,11 @@ +{ ... }: { + imports = [ + ../../../lib/modules/partition.nix + ]; + + config = { + partition.os.partitions = { + OS.label = "Arch"; + }; + }; +}