feat(dgn-hardware): Allow bcachefs configuration
This commit is contained in:
parent
fc0f4a603a
commit
345bdd4d44
2 changed files with 5 additions and 0 deletions
|
@ -15,6 +15,8 @@ lib.extra.mkConfig {
|
|||
lib.extra.enableAttrs' "enabled" [ "sshd-bruteforce" "sshd-timeout" ];
|
||||
|
||||
services.netbird.enable = true;
|
||||
|
||||
dgn-hardware.useBcachefs = true;
|
||||
};
|
||||
|
||||
root = ./.;
|
||||
|
|
|
@ -16,6 +16,7 @@ in {
|
|||
};
|
||||
|
||||
useZfs = mkEnableOption "zfs configuration.";
|
||||
useBcachefs = mkEnableOption "bcachefs configuration";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable (mkMerge [
|
||||
|
@ -45,6 +46,8 @@ in {
|
|||
};
|
||||
})
|
||||
|
||||
(mkIf cfg.useBcachefs { boot.supportedFilesystems = [ "bcachefs" ]; })
|
||||
|
||||
(mkIf cfg.useZfs {
|
||||
boot = {
|
||||
initrd.availableKernelModules = [
|
||||
|
|
Loading…
Reference in a new issue