mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 21:13:28 +01:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0141aabed3 |
No files matched your search
@@ -110,15 +110,6 @@ parseArgs() {
|
|||||||
extraSystemConfig="$2"
|
extraSystemConfig="$2"
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
--disko-system-config)
|
|
||||||
if [[ $# -lt 2 ]]; then
|
|
||||||
echo "Option $1 requires one JSON argument." >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
# shellcheck disable=SC2034
|
|
||||||
extraDiskoSystemConfig="$2"
|
|
||||||
shift
|
|
||||||
;;
|
|
||||||
--extra-files)
|
--extra-files)
|
||||||
if [[ $# -lt 3 ]]; then
|
if [[ $# -lt 3 ]]; then
|
||||||
echo "Option $1 requires two arguments: source, destination" >&2
|
echo "Option $1 requires two arguments: source, destination" >&2
|
||||||
|
|||||||
@@ -81,10 +81,6 @@
|
|||||||
mountpoint = "/ext4onzfs";
|
mountpoint = "/ext4onzfs";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
zfs_volume_no_content = {
|
|
||||||
type = "zfs_volume";
|
|
||||||
size = "10M";
|
|
||||||
};
|
|
||||||
zfs_encryptedvolume = {
|
zfs_encryptedvolume = {
|
||||||
type = "zfs_volume";
|
type = "zfs_volume";
|
||||||
size = "10M";
|
size = "10M";
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
, flakeAttr
|
, flakeAttr
|
||||||
, diskMappings
|
, diskMappings
|
||||||
, extraSystemConfig ? "{}"
|
, extraSystemConfig ? "{}"
|
||||||
, extraDiskoSystemConfig ? "{}"
|
|
||||||
, writeEfiBootEntries ? false
|
, writeEfiBootEntries ? false
|
||||||
, rootMountPoint ? "/mnt"
|
, rootMountPoint ? "/mnt"
|
||||||
,
|
,
|
||||||
@@ -42,9 +41,6 @@ let
|
|||||||
{
|
{
|
||||||
disko.rootMountPoint = rootMountPoint;
|
disko.rootMountPoint = rootMountPoint;
|
||||||
disko.devices.disk = lib.mkVMOverride cleanedDisks;
|
disko.devices.disk = lib.mkVMOverride cleanedDisks;
|
||||||
imports = [
|
|
||||||
({ _file = "disko-install --system-config"; } // (builtins.fromJSON extraDiskoSystemConfig))
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -88,7 +88,7 @@
|
|||||||
${config.content._unmount.dev or ""}
|
${config.content._unmount.dev or ""}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
fs = config.content._unmount.fs or {};
|
fs = config.content._unmount.fs;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
_config = lib.mkOption {
|
_config = lib.mkOption {
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
{ version = "1.10.0"; released = false; }
|
{ version = "1.11.0"; released = true; }
|
||||||
Reference in new issue
Block a user