Add disko config as parameter in flake system settings
This commit is contained in:
@@ -21,6 +21,7 @@
|
|||||||
profile = "personal"; # Select a profile defined from profiles directory
|
profile = "personal"; # Select a profile defined from profiles directory
|
||||||
timezone = "America/New_York"; # Time Zone
|
timezone = "America/New_York"; # Time Zone
|
||||||
locale = "en_US.UTF-8"; # Locale
|
locale = "en_US.UTF-8"; # Locale
|
||||||
|
diskoConfig = "luks-btrfs-subvolumes"; # Disko Partition Configuration
|
||||||
};
|
};
|
||||||
|
|
||||||
# --- USER SETTINGS --- #
|
# --- USER SETTINGS --- #
|
||||||
|
@@ -7,6 +7,8 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../system/hardware-configuration.nix
|
../../system/hardware-configuration.nix
|
||||||
|
"${builtins.fetchTarball "https://github.com/nix-community/disko/archive/master.tar.gz"}/module.nix"
|
||||||
|
"../../disko/${systemSettings.diskoConfiguration}.nix"
|
||||||
];
|
];
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
|
Reference in New Issue
Block a user