Fix /persist hack
This commit is contained in:
@@ -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 = {
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user