Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
erdnaxe
nixos
Commits
425da949
Commit
425da949
authored
Jun 12, 2022
by
erdnaxe
🦋
Browse files
Restore internet access to isso and grafana
parent
ca12b74c
Changes
2
Hide whitespace changes
Inline
Side-by-side
services/grafana.nix
View file @
425da949
...
...
@@ -21,12 +21,6 @@
};
};
# Allow only localhost network access
systemd
.
services
.
grafana
.
serviceConfig
=
{
IPAddressAllow
=
"localhost"
;
IPAddressDeny
=
"any"
;
};
services
.
nginx
=
{
enable
=
true
;
virtualHosts
.
"grafana.nanax.fr"
=
{
...
...
services/isso.nix
View file @
425da949
...
...
@@ -14,7 +14,7 @@
purge-after
=
"30d"
;
};
smtp
=
{
host
=
"
localhost
"
;
host
=
"
smtp.crans.org
"
;
port
=
25
;
to
=
"erdnaxe@crans.org"
;
from
=
"Isso <root@nanax.fr>"
;
...
...
@@ -60,10 +60,6 @@
SystemCallArchitectures
=
"native"
;
SystemCallFilter
=
[
"@system-service"
"~@privileged"
"~@resources"
];
UMask
=
"0077"
;
# Allow only localhost network access
IPAddressAllow
=
"localhost"
;
IPAddressDeny
=
"any"
;
};
services
.
nginx
=
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment