Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6a967394b3 | |||
| 767dac0b77 | |||
| 4c466cc644 |
2 changed files with 22 additions and 1 deletions
|
|
@ -66,6 +66,8 @@
|
||||||
443
|
443
|
||||||
5201 # iperf3
|
5201 # iperf3
|
||||||
15835 # Glance
|
15835 # Glance
|
||||||
|
14789 # LibreBooking
|
||||||
|
14788 # Drupal
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -81,6 +83,8 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
virtualisation.docker.enable = true;
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
openssh = {
|
openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -107,6 +111,23 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = import ./glance.nix;
|
settings = import ./glance.nix;
|
||||||
};
|
};
|
||||||
|
drupal = {
|
||||||
|
enable = true;
|
||||||
|
sites = {
|
||||||
|
"localhost" = {
|
||||||
|
enable = true;
|
||||||
|
extraConfig = ''
|
||||||
|
$base_url="http://192.168.1.210:14788";
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
nginx.virtualHosts."localhost".listen = [
|
||||||
|
{
|
||||||
|
addr = "0.0.0.0";
|
||||||
|
port = 14788;
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.variables.EDITOR = "nvim";
|
environment.variables.EDITOR = "nvim";
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
home.homeDirectory = "/home/wekuz";
|
home.homeDirectory = "/home/wekuz";
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
neofetch
|
fastfetch
|
||||||
|
|
||||||
# Utilities
|
# Utilities
|
||||||
neovim
|
neovim
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue