Fix /persist hack

This commit is contained in:
Madeleine Sydney
2024-12-28 22:28:56 -07:00
parent ffcc2b8cfe
commit 8882a33d02
2 changed files with 10 additions and 1 deletions

View File

@@ -51,6 +51,13 @@
};
};
# HACK: This is here temporarily so I can use `/persist` without
# Impermanence. This can be removed once impermanence is enabled.
# Create a group called `cfg.persistGroupName`
users.groups.persist = {
name = "persist";
};
# HACK: This is here temporarily so I can use `/persist` without
# Impermanence. This can be removed once impermanence is enabled.
systemd.tmpfiles.settings = {

View File

@@ -1,6 +1,8 @@
{
systemConfiguration = {
systemConfiguration = { config, ... }: {
isNormalUser = true;
# TODO: Don't hard-code `persist`. Use
# config.sydnix.impermanence.persistGroupName.
extraGroups = [ "wheel" "persist" ];
# Change this immediately after installation!
initialPassword = "password123";