nas cleanup

This commit is contained in:
mjallen18
2024-10-14 09:54:30 -05:00
parent c850e5174f
commit 180c7abdf7
4 changed files with 11 additions and 6 deletions

View File

@@ -74,7 +74,7 @@ in
# $ nix search wget
sessionVariables = {
CACHIX_AGENT_TOKEN = "eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiJlY2RjYjJiNi05YWQ4LTRiYmMtYWEwYS1mNGU5Yzk1ODM2OTMiLCJzY29wZXMiOiJhZ2VudCJ9.8SENqsNZ-UIFV4atm-cZnMT6LR08Iz_raAZi5QVsppo";
CACHIX_AGENT_TOKEN = "eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiJkYmNkZWNjYi04ZTI4LTQwOTAtYWIxOC02MTU5OTYwZTgxMTAiLCJzY29wZXMiOiJjYWNoZSJ9.G-9wCfKc3d8ld_zDJNjTxNWlkS3_yojI-6gaRpUT-i0";
};
systemPackages = with pkgs; [
@@ -91,6 +91,7 @@ in
glances
gparted
htop
jq
lm_sensors
nano
ninja
@@ -207,6 +208,7 @@ in
isSystemUser = true;
createHome = true;
home = "/var/lib/nut";
homeMode = "750";
hashedPasswordFile = passwordFile;
};

View File

@@ -65,7 +65,7 @@ in
};
dhcp = {
enabled = true;
interface_name = "wlp6s0";
interface_name = "wlp7s0";
dhcpv4 = {
gateway_ip = "10.0.1.1";
subnet_mask = "255.255.255.0";
@@ -127,10 +127,6 @@ in
};
};
apcupsd = {
enable = true;
};
tailscale = {
enable = true;
openFirewall = true;

View File

@@ -11,6 +11,7 @@
sops.secrets."jallen-nas/ups_password" = {
# restartUnits = [ "ups stuff lol" ];
};
sops.secrets."jallen-nas/ups_password".mode = "0777";
sops.secrets."jallen-nas/collabora" = {
restartUnits = [ "podman-collabora.service" ];

View File

@@ -43,4 +43,10 @@ in
];
};
};
services = {
apcupsd = {
enable = true;
};
};
}