Move more things around
This commit is contained in:
parent
36c3f778c8
commit
94c28dbb8b
11 changed files with 17 additions and 26 deletions
|
@ -1,5 +1,7 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
imports = [ ./user ];
|
||||
|
||||
services.nfs.server = {
|
||||
enable = config.system.fileserver.enable;
|
||||
exports = ''
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
users.groups.nfsShare.gid = lib.mkIf config.services.nfs.server.enable 983;
|
||||
}
|
|
@ -3,7 +3,7 @@
|
|||
imports = [
|
||||
./mastodon
|
||||
./owncast
|
||||
./spacebar
|
||||
#./spacebar
|
||||
];
|
||||
|
||||
options.system.socialserver.enable = lib.mkEnableOption "Enable social media like services";
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ config, lib, pkgs, spacebar, ... }:
|
||||
{
|
||||
imports = [
|
||||
#./nginx
|
||||
./nginx
|
||||
./user
|
||||
];
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
users = lib.mkIf config.system.socialserver.enable {
|
||||
users = lib.mkIf config.systemd.services.spacebar-server.enable {
|
||||
users.spacebar = {
|
||||
group = "spacebar";
|
||||
isSystemUser = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue