Rename partitioning modules to config
This commit is contained in:
parent
9d5df120ec
commit
eccebe5b17
8 changed files with 8 additions and 9 deletions
|
@ -1,6 +1,6 @@
|
||||||
{ ... }: {
|
{ ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
../partition.nix
|
../partition.nix
|
||||||
../../../scripts/Arch/OS/partition.nix
|
../../../scripts/Arch/OS/config.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
||||||
|
|
||||||
PARTITION_MODULE="./partition.nix" \
|
CONFIG_MODULE="./config.nix" \
|
||||||
ARCH_HOSTNAME="der-geret" \
|
ARCH_HOSTNAME="der-geret" \
|
||||||
USER_DISPLAYNAME="Manuel Thalmann" \
|
USER_DISPLAYNAME="Manuel Thalmann" \
|
||||||
. "../../../scripts/Arch/OS/setup.sh";
|
. "../../../scripts/Arch/OS/setup.sh";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ ... }: {
|
{ ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
../../../scripts/Arch/OS/partition.nix
|
../../../scripts/Arch/OS/config.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
config = {
|
config = {
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
||||||
|
|
||||||
PARTITION_MODULE="./partition.nix" \
|
CONFIG_MODULE="./config.nix" \
|
||||||
ARCH_HOSTNAME="manu-surface" \
|
ARCH_HOSTNAME="manu-surface" \
|
||||||
USER_DISPLAYNAME="Manuel Thalmann" \
|
USER_DISPLAYNAME="Manuel Thalmann" \
|
||||||
. "../../../scripts/Arch/OS/setup.sh";
|
. "../../../scripts/Arch/OS/setup.sh";
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
PARTITION_MODULE="${PARTITION_MODULE:+"$(realpath "$PARTITION_MODULE")"}";
|
CONFIG_MODULE="${CONFIG_MODULE:+"$(realpath "$CONFIG_MODULE")"}";
|
||||||
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
||||||
|
|
||||||
PARTITION_MODULE="${PARTITION_MODULE:-"./partition.nix"}";
|
CONFIG_MODULE="${CONFIG_MODULE:-"./config.nix"}";
|
||||||
ARCH_TIMEZONE="${ARCH_TIMEZONE:-"Europe/Zurich"}";
|
ARCH_TIMEZONE="${ARCH_TIMEZONE:-"Europe/Zurich"}";
|
||||||
ARCH_HOSTNAME="${ARCH_HOSTNAME}";
|
ARCH_HOSTNAME="${ARCH_HOSTNAME}";
|
||||||
ARCH_MOUNT_ROOT="${ARCH_MOUNT_ROOT:-"$(../../eval-module.sh "$PARTITION_MODULE" partition.rootDir --raw)"}";
|
ARCH_MOUNT_ROOT="${ARCH_MOUNT_ROOT:-"$(../../eval-module.sh "$CONFIG_MODULE" partition.rootDir --raw)"}";
|
||||||
ARCH_LANG="${ARCH_LANG:-"en_US.UTF-8"}";
|
ARCH_LANG="${ARCH_LANG:-"en_US.UTF-8"}";
|
||||||
ARCH_KEYMAP="${ARCH_KEYMAP:-"de_CH-latin1"}";
|
ARCH_KEYMAP="${ARCH_KEYMAP:-"de_CH-latin1"}";
|
||||||
ARCH_X11_KEYMAP="${ARCH_X11_KEYMAP:-"ch"}";
|
ARCH_X11_KEYMAP="${ARCH_X11_KEYMAP:-"ch"}";
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
PARTITION_MODULE="${PARTITION_MODULE:-"./partition.nix"}";
|
eval "$(../../eval-module.sh "$CONFIG_MODULE" partition.script --raw)";
|
||||||
eval "$(../../eval-module.sh "$PARTITION_MODULE" partition.script --raw)";
|
|
||||||
|
|
Loading…
Reference in a new issue