refactor: moved nixos modules to dendrite pattern
This commit is contained in:
parent
df8dd110ad
commit
0ea11e0236
219 changed files with 4802 additions and 4820 deletions
17
modules/nixos/storage/default.nix
Normal file
17
modules/nixos/storage/default.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{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
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue