Desktop Updates Fri May 30 04:15:43 PM CDT 2025
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
{ config, ... }:
|
||||
let
|
||||
upsUser = "nas-admin";
|
||||
in
|
||||
{
|
||||
services = {
|
||||
prometheus = {
|
||||
@@ -18,6 +21,21 @@
|
||||
"--collector.filesystem.mount-points-exclude=^/(dev|proc|sys|run)($|/)"
|
||||
];
|
||||
};
|
||||
libvirt = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
nut = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
passwordPath = config.sops.secrets."jallen-nas/ups_password".path;
|
||||
nutUser = upsUser;
|
||||
};
|
||||
# restic = {
|
||||
# enable = true;
|
||||
# openFirewall = true;
|
||||
# resticPort = 8008;
|
||||
# };
|
||||
};
|
||||
scrapeConfigs = [
|
||||
{
|
||||
|
||||
@@ -75,22 +75,22 @@
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Starting build of jallen-nas at $(date)"
|
||||
if nix flake update nas-nixpkgs nas-authentik-nix nas-cosmic nas-crowdsec nas-home-manager nas-impermanence nas-lanzaboote nas-nixos-hardware nas-sops-nix; then
|
||||
echo "jallen-nas flake updated successfully at $(date)"
|
||||
else
|
||||
echo "jallen-nas flake failed to update at $(date)"
|
||||
exit 1
|
||||
fi
|
||||
if nix build .\#nixosConfigurations.jallen-nas.config.system.build.toplevel --no-link; then
|
||||
echo "jallen-nas built successfully at $(date)"
|
||||
git add .
|
||||
git commit -m "Jallen-NAS Updates $(date)"
|
||||
else
|
||||
echo "jallen-nas failed to build at $(date)"
|
||||
git reset --hard
|
||||
exit 1
|
||||
fi
|
||||
# echo "Starting build of jallen-nas at $(date)"
|
||||
# if nix flake update nas-nixpkgs nas-authentik-nix nas-cosmic nas-crowdsec nas-home-manager nas-impermanence nas-lanzaboote nas-nixos-hardware nas-sops-nix; then
|
||||
# echo "jallen-nas flake updated successfully at $(date)"
|
||||
# else
|
||||
# echo "jallen-nas flake failed to update at $(date)"
|
||||
# exit 1
|
||||
# fi
|
||||
# if nix build .\#nixosConfigurations.jallen-nas.config.system.build.toplevel --no-link; then
|
||||
# echo "jallen-nas built successfully at $(date)"
|
||||
# git add .
|
||||
# git commit -m "Jallen-NAS Updates $(date)"
|
||||
# else
|
||||
# echo "jallen-nas failed to build at $(date)"
|
||||
# git reset --hard
|
||||
# exit 1
|
||||
# fi
|
||||
|
||||
echo "Starting build of pi4 at $(date)"
|
||||
if nix flake update pi4-nixpkgs pi4-home-manager pi4-impermanence pi4-sops-nix pi4-nixos-hardware pi4-nixos-raspberrypi pi4-disko; then
|
||||
|
||||
Reference in New Issue
Block a user