mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-06-08 02:09:04 +02:00
feat(pages): clean the module
This commit is contained in:
parent
5a822dee2a
commit
82ab72f102
4 changed files with 326 additions and 581 deletions
|
@ -28,6 +28,11 @@ in
|
|||
for supported values.
|
||||
'';
|
||||
};
|
||||
|
||||
settingsFile = mkOption {
|
||||
type = types.nullOr types.path;
|
||||
default = null;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -40,6 +45,7 @@ in
|
|||
environment = cfg.settings;
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
EnvironmentFile = cfg.settingsFile;
|
||||
StateDirectory = "codeberg-pages";
|
||||
WorkingDirectory = "/var/lib/codeberg-pages";
|
||||
DynamicUser = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue