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
|
# HACK: This is here temporarily so I can use `/persist` without
|
||||||
# Impermanence. This can be removed once impermanence is enabled.
|
# Impermanence. This can be removed once impermanence is enabled.
|
||||||
systemd.tmpfiles.settings = {
|
systemd.tmpfiles.settings = {
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
{
|
{
|
||||||
systemConfiguration = {
|
systemConfiguration = { config, ... }: {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
|
# TODO: Don't hard-code `persist`. Use
|
||||||
|
# config.sydnix.impermanence.persistGroupName.
|
||||||
extraGroups = [ "wheel" "persist" ];
|
extraGroups = [ "wheel" "persist" ];
|
||||||
# Change this immediately after installation!
|
# Change this immediately after installation!
|
||||||
initialPassword = "password123";
|
initialPassword = "password123";
|
||||||
|
|||||||
Reference in New Issue
Block a user