Skip to content

Commit dae4c04

Browse files
update
1 parent c2b91b7 commit dae4c04

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

nix-darwin/flakes/monolith/configuration.nix

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
sops
6969
git
7070
vim
71-
iptables
71+
sysz
7272
];
7373

7474
sops = {
@@ -90,7 +90,6 @@
9090
};
9191

9292
# Enable the OpenSSH daemon.
93-
services.openssh.enable = true;
9493
systemd.tmpfiles.rules = [
9594
# Copy/Link the save file (use either C or L)
9695
"C /var/lib/factorio/saves/save1.zip - - - - ${builtins.path { path = ./save1.zip; }}"
@@ -106,11 +105,13 @@
106105
{
107106
factorio-headless = prev.factorio-headless.override {
108107
inherit version sha256 url;
108+
username = builtins.readFile config.sops.secrets."admin".path;
109+
token = builtins.readFile config.sops.secrets."token".path;
109110
};
110111
}
111112
)
112113
];
113-
114+
services.openssh.enable = true;
114115
services.factorio = {
115116
bind = "192.168.4.129";
116117
package = pkgs.factorio-headless;
@@ -136,7 +137,21 @@
136137
(builtins.readFile config.sops.secrets."admin".path)
137138
];
138139
};
139-
140+
services.paperless = {
141+
enable = true;
142+
};
143+
services.n8n = {
144+
enable = false;
145+
openFirewall = true;
146+
};
147+
services.nextcloud = {
148+
enable = false;
149+
hostName = meta.hostname;
150+
# config.adminpassFile
151+
};
152+
services.gitea = {
153+
enable = true;
154+
};
140155
# networking
141156
networking = {
142157
defaultGateway = "192.168.4.1"; # Point to Proxmox

0 commit comments

Comments
 (0)