From 40fd7931d0ff3ba05f875bbfa4a92357f7991bd2 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Fri, 24 Jan 2025 20:36:37 -0500 Subject: [PATCH] Add a persist folder for the talexander user. --- nix/configuration/configuration.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/nix/configuration/configuration.nix b/nix/configuration/configuration.nix index 314ea8f..9cb81ac 100644 --- a/nix/configuration/configuration.nix +++ b/nix/configuration/configuration.nix @@ -186,10 +186,16 @@ "/etc/ssh/ssh_host_ed25519_key" "/etc/ssh/ssh_host_ed25519_key.pub" ]; - # users.talexander = { - # directories = []; - # files = []; - # }; + users.talexander = { + directories = [ + { + directory = "persist"; + user = "talexander"; + group = "talexander"; + mode = "0700"; + } + ]; + }; }; # Write a list of the currently installed packages to /etc/current-system-packages