This commit is contained in:
albert 2024-11-17 22:33:02 +01:00
parent 255cfa0ec7
commit 6ac1b5fee0
Signed by: albert
GPG key ID: 3895DD267CA11BA9
3 changed files with 4 additions and 1 deletions

View file

@ -35,6 +35,7 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
nmapsi4 # Qt nmap GUI nmapsi4 # Qt nmap GUI
kdesu # KDE Su
arc-kde-theme arc-kde-theme
arc-theme arc-theme
kdePackages.plasma-browser-integration kdePackages.plasma-browser-integration

View file

@ -38,6 +38,8 @@
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
# Set your time zone. # Set your time zone.
time.timeZone = "Europe/Warsaw"; time.timeZone = "Europe/Warsaw";
services.automatic-timezoned.enable = true;
# Set the networking hostname: # Set the networking hostname:
networking.hostName = "nixos-framework"; networking.hostName = "nixos-framework";

View file

@ -3,7 +3,7 @@
enable = true; enable = true;
systemCronJobs = [ systemCronJobs = [
# Back up Local-Storage to NFS Storage # Back up Local-Storage to NFS Storage
"0 9 * * * root rsync -avr /Local-Storage/Data/Docker/ifargle.com/vpn-stack/ /Storage/Data/Docker/ifargle.com/vpn-stack/" # "0 9 * * * root rsync -avr /Local-Storage/Data/Docker/ifargle.com/vpn-stack/ /Storage/Data/Docker/ifargle.com/vpn-stack/"
# Back up running containers weekly # Back up running containers weekly
"0 0 * * * root rm -rf /Storage/Backups/Docker/ifargle.com/*; for i in $(docker ps --format '{{.Names}}'); do docker export $i | gzip -cf | cat > /Storage/Backups/Docker/ifargle.com/$i.tar.gz; done" "0 0 * * * root rm -rf /Storage/Backups/Docker/ifargle.com/*; for i in $(docker ps --format '{{.Names}}'); do docker export $i | gzip -cf | cat > /Storage/Backups/Docker/ifargle.com/$i.tar.gz; done"
# Restart the VPN stack # Restart the VPN stack