global/persist: flatten directories
This commit is contained in:
parent
37c80df8db
commit
7c4d75bf46
1 changed files with 4 additions and 2 deletions
|
@ -1,8 +1,10 @@
|
|||
{ config, lib, ... }:
|
||||
with lib;
|
||||
let
|
||||
inherit (lib) flatten optional;
|
||||
in
|
||||
{
|
||||
persist = {
|
||||
directories = [
|
||||
directories = flatten [
|
||||
"/home"
|
||||
"/etc/nixos"
|
||||
"/etc/nixos-private"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue