modules/nixos/disko-raid: refactor imports
This commit is contained in:
parent
c5315f3624
commit
18890baf28
2 changed files with 5 additions and 5 deletions
|
@ -155,6 +155,7 @@
|
||||||
buildbot = ./modules/nixos/buildbot.nix;
|
buildbot = ./modules/nixos/buildbot.nix;
|
||||||
builder = ./modules/nixos/builder.nix;
|
builder = ./modules/nixos/builder.nix;
|
||||||
community-builder = ./modules/nixos/community-builder;
|
community-builder = ./modules/nixos/community-builder;
|
||||||
|
disko-raid = ./modules/nixos/disko-raid.nix;
|
||||||
github-org-backup = ./modules/nixos/github-org-backup.nix;
|
github-org-backup = ./modules/nixos/github-org-backup.nix;
|
||||||
hercules-ci = ./modules/nixos/hercules-ci;
|
hercules-ci = ./modules/nixos/hercules-ci;
|
||||||
hydra = ./modules/nixos/hydra.nix;
|
hydra = ./modules/nixos/hydra.nix;
|
||||||
|
@ -163,10 +164,6 @@
|
||||||
remote-builder = ./modules/nixos/remote-builder.nix;
|
remote-builder = ./modules/nixos/remote-builder.nix;
|
||||||
remote-workers = ./modules/nixos/remote-workers.nix;
|
remote-workers = ./modules/nixos/remote-workers.nix;
|
||||||
watch-store = ./modules/nixos/watch-store.nix;
|
watch-store = ./modules/nixos/watch-store.nix;
|
||||||
disko-raid.imports = [
|
|
||||||
inputs.disko.nixosModules.disko
|
|
||||||
./modules/nixos/disko-raid.nix
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
flake.lib.darwinSystem = args:
|
flake.lib.darwinSystem = args:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, config, ... }:
|
{ inputs, lib, config, ... }:
|
||||||
let
|
let
|
||||||
mirrorBoot = idx: {
|
mirrorBoot = idx: {
|
||||||
type = "disk";
|
type = "disk";
|
||||||
|
@ -32,6 +32,9 @@ let
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
imports = [
|
||||||
|
inputs.disko.nixosModules.disko
|
||||||
|
];
|
||||||
options = {
|
options = {
|
||||||
nixCommunity.disko.raidLevel = lib.mkOption {
|
nixCommunity.disko.raidLevel = lib.mkOption {
|
||||||
type = lib.types.int;
|
type = lib.types.int;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue