mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-08-21 10:45:49 +02:00
@@ -1,6 +1,7 @@
|
||||
{
|
||||
config,
|
||||
inputs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
@@ -49,7 +50,7 @@
|
||||
inherit (config.var) username;
|
||||
homeDirectory = "/home/" + config.var.username;
|
||||
|
||||
persistence."/persist" = {
|
||||
persistence."/persist" = lib.mkIf (config.var.impermanenceEnabled or false) {
|
||||
directories = [
|
||||
".config/nixos" # this repo itself (nixy manages it here)
|
||||
".local/share"
|
||||
|
||||
Reference in New Issue
Block a user