This commit is contained in:
mjallen18
2024-03-27 13:18:44 -05:00
parent 0883053f0c
commit 083a73e052
3 changed files with 453 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ let
password =
"$y$j9T$EkPXmsmIMFFZ.WRrBYCxS1$P0kwo6e4.WM5DsqUcEqWC3MrZp5KfCjxffraMFZWu06";
hostname = "jallen-nas";
allowedPorts = [ 2342 3493 61208 ];
allowedPorts = [ 2342 3493 61208 9090 ];
enableDisplayManager = false;
in {
imports = [ # Include the results of the hardware scan.
@@ -16,6 +16,19 @@ in {
../default.nix
];
# Cockpit
services.cockpit = {
enable = true;
port = 9090;
settings = {
WebService = {
AllowUnencrypted = true;
};
};
};
nas-apps = {
jellyfin.enable = true;
@@ -66,7 +79,7 @@ in {
sharePath = "/mnt/mainpool/isos";
};
TimeMachine = {
public = true;
public = false;
sharePath = "/mnt/mainpool/TimeMachine";
enableTimeMachine = true;
timeMachineMaxSize = "1T";
@@ -111,6 +124,8 @@ in {
# Services configs
services = {
udisks2.enable = true;
# Enable the X11 windowing system.
xserver = {
enable = enableDisplayManager;
@@ -292,6 +307,9 @@ in {
protonvpn-cli
protonmail-bridge
pass
cockpit
packagekit
gnome.gnome-packagekit
];
};