Desktop Updates Mon Jun 2 10:08:16 AM CDT 2025
This commit is contained in:
@@ -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 = {
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user