Desktop Updates Mon Jun 2 10:08:16 AM CDT 2025

This commit is contained in:
mjallen18
2025-06-02 10:08:16 -05:00
parent 74c7d9e35e
commit aed202af54
4 changed files with 64 additions and 36 deletions

View File

@@ -3,6 +3,7 @@
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{
config,
pkgs,
lib,
...
@@ -96,6 +97,24 @@
enable = true;
nvidiaSupport = true;
};
msmtp = {
enable = true;
accounts = {
default = {
auth = true;
tls_starttls = false;
host = "smtp.gmail.com";
user = "matt.l.jallen";
from = "matt.l.jallen@gmail.com";
passwordeval = "cat ${config.sops.secrets."jallen-nas/gitea/mail-key".path}";
};
};
defaults = {
port = 465;
tls = true;
};
};
};
hardware.fancontrol = {

View File

@@ -87,6 +87,15 @@
];
};
fileSystems."/tmp" = {
device = "/dev/disk/by-uuid/8e3841fc-9222-443c-af72-075dd8ac07f2";
fsType = "btrfs";
options = [
"compress-force=zstd"
"noatime"
];
};
swapDevices = [
{
device = "/dev/disk/by-id/ata-Samsung_SSD_860_EVO_500GB_S3Z1NW0KA10457X-part2";

View File

@@ -120,15 +120,15 @@
# git push
'';
# # Send an email on failure (optional)
# startPost = ''
# if [ $SERVICE_RESULT != "success" ]; then
# ${pkgs.mailutils}/bin/mail -s "NixOS cache rebuild failed" your-email@example.com <<EOF
# The nix-rebuild-cache service failed at $(date).
# Please check the logs with: journalctl -u nix-rebuild-cache
# EOF
# fi
# '';
# Send an email on failure (optional)
startPost = ''
if [ $SERVICE_RESULT != "success" ]; then
${pkgs.mailutils}/bin/mail -s "NixOS cache rebuild failed" jalle008@proton.me <<EOF
The nix-rebuild-cache service failed at $(date).
Please check the logs with: journalctl -u nix-rebuild-cache
EOF
fi
'';
};
systemd.timers.nix-rebuild-cache = {