Compare commits

..

No commits in common. "408fb6cc05618171921f3cbaf7b19590c4850ea3" and "9edd7773335a5678dd6d277cc0c0bd3fac1b5615" have entirely different histories.

4 changed files with 1 additions and 41 deletions

View File

@ -2,7 +2,6 @@
setopt appendhistory notify
unsetopt beep nomatch
setopt completealiases
#
# Aliases

View File

@ -147,15 +147,8 @@
hardware.sane.enable = true; # scanners
hardware.keyboard.qmk.enable = true;
hardware.acpilight.enable = true;
services.udev.packages = [ pkgs.via ];
services.udev.extraRules = ''
# Disable DS4 touchpad acting as mouse
# USB
ATTRS{name}=="Sony Interactive Entertainment Wireless Controller Touchpad", ENV{LIBINPUT_IGNORE_DEVICE}="1"
# Bluetooth
ATTRS{name}=="Wireless Controller Touchpad", ENV{LIBINPUT_IGNORE_DEVICE}="1"
'';
hardware.acpilight.enable = true;
};
options.rhelmot.isDesktop = lib.mkOption {
type = lib.types.bool;

View File

@ -95,7 +95,6 @@ in {
cronie
radicle-node
editorconfig-core-c
smartmontools
];
rhelmot.globalPythonPackages = [ (p: with p; [

View File

@ -7,7 +7,6 @@
boot.initrd.systemd.enable = true;
services.zfs.autoScrub.enable = true;
services.zfs.trim.enable = true;
services.syncoid.enable = lib.mkForce false;
networking.hostName = "hydrangea";
networking.hostId = "5dfd64c1";
@ -363,36 +362,6 @@
enable = true;
};
systemd.timers.offsite-backups = {
wantedBy = ["timers.target"];
timerConfig = {
OnBootSec = "15min";
OnUnitActiveSec = "1w";
};
};
systemd.services.offsite-backups = {
path = with pkgs; [zfs backblaze-b2];
environment = {
paths = "/var/lib/immich /var/lib/syncthing /var/lib/vaultwarden /var/lib/sftpgo";
HOME = "/root";
};
script = /* bash */ ''
set +e
result=0
for f in $paths; do
backblaze-b2 sync --replace-newer --keep-days 30 "$f" "b2://hydrangea-datasets/$(basename $f)" || result=1
done
exit $result
'';
serviceConfig = {
Type = "oneshot";
User = "root";
Group = "root";
};
};
# TODO
# - transfer old nextcloud files
# - move old data files to sftpgo/audrey?