diff --git a/CLAUDE.md b/CLAUDE.md index fa9c20b..df7829c 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1,5 +1,6 @@ ## Coding Style - Never write shebang unless specifically requested +- Do not abuse comments when writing code, especially code intuitive enough that does not need comments to further explain ## NixOS - This is my nixOS configuration for all my personal computers, and you are running on one of the nixOS hosts diff --git a/hosts/nixos/hs/system.nix b/hosts/nixos/hs/system.nix index 6fa3eef..8b79cb4 100644 --- a/hosts/nixos/hs/system.nix +++ b/hosts/nixos/hs/system.nix @@ -1,9 +1,9 @@ { config, pkgs, ... }: { imports = [ ./hardware-configuration.nix - ./containers.nix # Host-specific container definitions - ./proxy.nix # Host-specific Traefik dynamic configuration - ../system-default.nix # Common NixOS system configuration + ./containers.nix + ./proxy.nix + ../system-default.nix ../../../modules/wireguard.nix ../../../modules/podman.nix ../../../modules/traefik.nix @@ -175,11 +175,9 @@ d3 = "/mnt/wd-14t-1/"; }; - # Sync schedule (daily at 3 AM) + # Sync and scrub schedule sync.interval = "03:00"; - - # Scrub schedule (weekly verification) - scrub.interval = "weekly"; + scrub.interval = "Mon *-*-* 06:00:00"; # Files and directories to exclude from parity exclude = [ diff --git a/hosts/nixos/jetson/system.nix b/hosts/nixos/jetson/system.nix index 76a973c..1c00083 100644 --- a/hosts/nixos/jetson/system.nix +++ b/hosts/nixos/jetson/system.nix @@ -3,7 +3,7 @@ { imports = [ ./hardware-configuration.nix - ../system-default.nix # Common NixOS system configuration + ../system-default.nix ]; # Bootloader - UEFI setup for Jetson diff --git a/hosts/nixos/thinkpad/system.nix b/hosts/nixos/thinkpad/system.nix index 1611140..b79b7ce 100644 --- a/hosts/nixos/thinkpad/system.nix +++ b/hosts/nixos/thinkpad/system.nix @@ -3,7 +3,7 @@ { imports = [ ./hardware-configuration.nix - ../system-default.nix # Common NixOS system configuration + ../system-default.nix ../../../modules/hyprland/system.nix ../../../modules/wireguard.nix ../../../modules/login-display.nix diff --git a/hosts/nixos/vps/system.nix b/hosts/nixos/vps/system.nix index 6bd12ba..83082c6 100644 --- a/hosts/nixos/vps/system.nix +++ b/hosts/nixos/vps/system.nix @@ -1,9 +1,9 @@ { config, pkgs, ... }: { imports = [ ./hardware-configuration.nix - ./containers.nix # Host-specific container definitions - ./proxy.nix # Host-specific Traefik dynamic configuration - ../system-default.nix # Common NixOS system configuration + ./containers.nix + ./proxy.nix + ../system-default.nix ../../../modules/wireguard.nix ../../../modules/podman.nix ../../../modules/traefik.nix