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.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
virtualisation.vmVariant.virtualisation.forwardPorts = [
|
||||||
services.xserver.enable = true;
|
{ from = "host"; host.port = 8001; guest.port = 8001; }
|
||||||
|
];
|
||||||
services.xserver.displayManager.gdm.enable = true;
|
networking.hosts = {
|
||||||
services.xserver.desktopManager.gnome.enable = true;
|
"10.0.2.15" = [ "hedgedoc.nixin.local" ];
|
||||||
|
};
|
||||||
users.users.alice = {
|
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;
|
isNormalUser = true;
|
||||||
extraGroups = [ "wheel" ];
|
extraGroups = [ "wheel" ];
|
||||||
initialPassword = "test";
|
initialPassword = "test";
|
||||||
|
|
Loading…
Reference in a new issue