mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-08-21 10:45:49 +02:00
+2
-1
@@ -1,6 +1,7 @@
|
||||
{
|
||||
config,
|
||||
inputs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
@@ -48,7 +49,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"
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
|
||||
autoUpgrade = false;
|
||||
autoGarbageCollector = true;
|
||||
impermanenceEnabled = true;
|
||||
};
|
||||
|
||||
# DON'T TOUCH THIS
|
||||
|
||||
Reference in New Issue
Block a user