mirror of https://gitlab.crans.org/nounous/nixos
Set de forceImportRoot hors du default dans /iso
parent
53884d6afd
commit
4b286b878a
|
|
@ -20,6 +20,7 @@
|
|||
kernelParams = [ "console=ttyS0,115200" ];
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
supportedFilesystems = lib.mkForce [ "btrfs" "vfat" "zfs"];
|
||||
zfs.forceImportRoot = lib.mkDefault false;
|
||||
};
|
||||
|
||||
services.openssh = {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{ lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
|
@ -27,7 +27,9 @@
|
|||
"head"
|
||||
"backups"
|
||||
];
|
||||
forceImportAll = true;
|
||||
forceImportAll = lib.mkForce true;
|
||||
# Ajouté suite au passage en 26.05 par souci de cohérence
|
||||
forceImportRoot = lib.mkForce true;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ ... }:
|
||||
{ lib, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
|
@ -26,5 +26,6 @@
|
|||
};
|
||||
|
||||
# Recommandé depuis le passage à 26.05
|
||||
boot.zfs.forceImportRoot = false;
|
||||
boot.zfs.forceImportAll = lib.mkDefault false;
|
||||
boot.zfs.forceImportRoot = lib.mkDefault false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue