mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
chore: format everything
This commit is contained in:
parent
deca311c68
commit
7ccd7856ee
162 changed files with 4750 additions and 3718 deletions
|
@ -2,9 +2,11 @@
|
|||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
}:
|
||||
let
|
||||
inherit (config.repo.secrets.local) disks;
|
||||
in {
|
||||
in
|
||||
{
|
||||
disko.devices = {
|
||||
disk =
|
||||
{
|
||||
|
@ -33,11 +35,9 @@ in {
|
|||
zpool = {
|
||||
rpool = lib.disko.zfs.mkZpool {
|
||||
mode = "mirror";
|
||||
datasets =
|
||||
lib.disko.zfs.impermanenceZfsDatasets
|
||||
// {
|
||||
"safe/guests" = lib.disko.zfs.unmountable;
|
||||
};
|
||||
datasets = lib.disko.zfs.impermanenceZfsDatasets // {
|
||||
"safe/guests" = lib.disko.zfs.unmountable;
|
||||
};
|
||||
};
|
||||
storage = lib.disko.zfs.mkZpool {
|
||||
mode = "raidz";
|
||||
|
@ -48,7 +48,7 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
boot.initrd.systemd.services."zfs-import-storage".after = ["cryptsetup.target"];
|
||||
boot.initrd.systemd.services."zfs-import-storage".after = [ "cryptsetup.target" ];
|
||||
|
||||
services.zrepl = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue