mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 17:49:07 +01:00
profiles: Introduce core, server and workstation profiles
This commit is contained in:
parent
1c0f293c3d
commit
100f02a2d8
15 changed files with 94 additions and 163 deletions
17
profiles/server.nix
Normal file
17
profiles/server.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ config, self, ... }:
|
||||
{
|
||||
imports = [ self.nixosModules.profile-core ];
|
||||
|
||||
custom = {
|
||||
persistence.enable = true;
|
||||
networking.overlay.role = "server";
|
||||
services = {
|
||||
auto-gc.onlyCleanRoots = true;
|
||||
comin.enable = true;
|
||||
};
|
||||
web-services.alloy = {
|
||||
enable = true;
|
||||
domain = "alloy.${config.networking.hostName}.${config.custom.networking.overlay.domain}";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue