wip demo conf
This commit is contained in:
parent
304f412950
commit
6b600b6745
1 changed files with 21 additions and 7 deletions
|
@ -2,13 +2,27 @@
|
|||
{
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
services.xserver.enable = true;
|
||||
|
||||
services.xserver.displayManager.gdm.enable = true;
|
||||
services.xserver.desktopManager.gnome.enable = true;
|
||||
|
||||
users.users.alice = {
|
||||
virtualisation.vmVariant.virtualisation.forwardPorts = [
|
||||
{ from = "host"; host.port = 8001; guest.port = 8001; }
|
||||
];
|
||||
networking.hosts = {
|
||||
"10.0.2.15" = [ "hedgedoc.nixin.local" ];
|
||||
};
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [ 8001 ];
|
||||
};
|
||||
services.hedgedoc = {
|
||||
enable = true;
|
||||
settings.domain = "hedgedoc.nixin.local";
|
||||
settings.port = 8001;
|
||||
settings.host = "10.0.2.15";
|
||||
settings.protocolUseSSL = true;
|
||||
settings.allowOrigin = [
|
||||
"localhost"
|
||||
"hedgedoc.nixin.local"
|
||||
];
|
||||
};
|
||||
users.users.operator = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" ];
|
||||
initialPassword = "test";
|
||||
|
|
Loading…
Reference in a new issue