nix-config/modules/nixos/storage/default.nix

17 lines
624 B
Nix

{config, ...}: let
mod = config.flake.nixosModules;
in {
# TODO: we should have an impermanence module for home manager that proxies its values namespaced to the user down here that matches the same interface
# TODO: we should have a way of enabling impermanence for a systemd config
# these should have an option to put their folder into their own dataset (this needs to support private vs non private)
# options for features that can be added to the dataset
flake.nixosModules.storage = {...}: {
imports = [
mod.storage-impermanence
mod.storage-zfs
mod.storage-config
];
};
}