Compare commits
2 commits
eed61b5940
...
36c28533de
| Author | SHA1 | Date | |
|---|---|---|---|
| 36c28533de | |||
| 5226cb7133 |
4 changed files with 9 additions and 2 deletions
4
modules/system/core/oom.nix
Normal file
4
modules/system/core/oom.nix
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
{ ... }: {
|
||||||
|
zramSwap.enable = true;
|
||||||
|
systemd.oomd.enable = true;
|
||||||
|
}
|
||||||
|
|
@ -15,11 +15,11 @@
|
||||||
settings = {
|
settings = {
|
||||||
server = {
|
server = {
|
||||||
DISABLE_SSH = true;
|
DISABLE_SSH = true;
|
||||||
DOMAIN = "git.proxy.${homelab.domain}";
|
DOMAIN = "git.${homelab.domain}";
|
||||||
HTTP_ADDR = "127.0.0.1";
|
HTTP_ADDR = "127.0.0.1";
|
||||||
HTTP_PORT = 5080;
|
HTTP_PORT = 5080;
|
||||||
PROTOCOL = "http";
|
PROTOCOL = "http";
|
||||||
ROOT_URL = "https://git.proxy.${homelab.domain}";
|
ROOT_URL = "https://git.${homelab.domain}";
|
||||||
LANDING_PAGE = "explore";
|
LANDING_PAGE = "explore";
|
||||||
};
|
};
|
||||||
oauth2_client.ENABLE_AUTO_REGISTRATION=true;
|
oauth2_client.ENABLE_AUTO_REGISTRATION=true;
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@
|
||||||
gucharmap
|
gucharmap
|
||||||
ncdu
|
ncdu
|
||||||
zip
|
zip
|
||||||
|
unzip
|
||||||
blueman
|
blueman
|
||||||
shared-mime-info
|
shared-mime-info
|
||||||
usbutils
|
usbutils
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,9 @@ in {
|
||||||
./homelab/dns.nix
|
./homelab/dns.nix
|
||||||
./homelab/git.nix
|
./homelab/git.nix
|
||||||
./homelab/ai.nix
|
./homelab/ai.nix
|
||||||
|
|
||||||
./core/swapfile.nix
|
./core/swapfile.nix
|
||||||
|
./core/oom.nix
|
||||||
./misc/theme.nix
|
./misc/theme.nix
|
||||||
./base.nix
|
./base.nix
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue