Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 13 additions & 41 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@ Machines are named after **geographic locations** (countries/regions):
| Name | Platform | Purpose |
|------|----------|---------|
| **norway** | NixOS (x86_64) | Primary ASUS ROG laptop - NVIDIA+AMD hybrid graphics, KDE Plasma + Hyprland |
| **austria** | NixOS (aarch64) | Apple Silicon MacBook - Asahi Linux, KDE Plasma + Hyprland |
| **japan** | NixOS (x86_64) | Steam Deck OLED - Jovian, gaming-focused |
| **china** | NixOS (x86_64) | Home server - Media stack, self-hosted services |
| **singapore** | NixOS (x86_64) | **[DEPRECATED]** Gaming desktop, VR development |
| **darwin** | nix-darwin (aarch64) | Mac Mini - Yabai WM, Tdarr transcoding |
| **jacob-germany** | nix-darwin (aarch64) | Mac Mini - Yabai WM, Tdarr transcoding |

---

Expand All @@ -33,45 +31,29 @@ Machines are named after **geographic locations** (countries/regions):
│ │ ├── tmux.nix # Terminal multiplexer
│ │ ├── git.nix # Git with diff-so-fancy
│ │ ├── lf.nix # File manager
│ │ ├── ollama.nix # Local LLM
│ │ ├── spicetify.nix # Spotify customization
│ │ ├── nix-index.nix # Package search
│ │ └── homebrew.nix # macOS Homebrew
│ │
│ ├── daemon/ # Background services
│ │ ├── jellyfin.nix # Media server
│ │ ├── sonarr.nix # TV management
│ │ ├── radarr.nix # Movie management
│ │ ├── lidarr.nix # Music management
│ │ ├── prowlarr.nix # Indexer manager
│ │ ├── bazarr.nix # Subtitles
│ │ ├── transmission.nix # Torrent client
│ │ ├── deluge.nix # Torrent client
│ │ ├── arr.nix # Media server stack (containerized Sonarr, Radarr, etc.)
│ │ ├── nginx.nix # Web server/reverse proxy
│ │ ├── tailscale.nix # VPN mesh networking
│ │ ├── syncthing/ # File synchronization
│ │ ├── docker.nix # Container runtime
│ │ ├── distrobox.nix # Container environments
│ │ ├── nextcloud.nix # Cloud storage
│ │ ├── vaultwarden.nix # Password manager
│ │ ├── gitea.nix # Git hosting
│ │ ├── home-assistant.nix # Home automation
│ │ ├── immich.nix # Photo management
│ │ ├── tdarr.nix # Video transcoding
│ │ ├── attic.nix # Self-hosted Nix binary cache
│ │ ├── kanata/ # Keyboard remapping
│ │ ├── yabai.nix # macOS window manager
│ │ ├── sketchybar/ # macOS status bar
│ │ └── ... # Many more services
│ │ └── ... # More services (komga, mylar, matter, etc.)
│ │
│ └── desktop/ # GUI applications
│ ├── hyprland.nix # Wayland compositor
│ ├── hyprlock.nix # Screen locker
│ ├── waybar/ # Status bar
│ ├── kitty/ # Terminal emulator
│ ├── firefox.nix # Web browser
│ ├── chrome.nix # Chromium
│ ├── vscode.nix # Code editor
│ └── gaming/ # Gaming configs (emulators)
│ └── gaming/ # Gaming configs (ryujinx emulator)
├── systems/ # System configurations
│ ├── nixos/
Expand All @@ -82,21 +64,15 @@ Machines are named after **geographic locations** (countries/regions):
│ │ │ ├── configuration.nix
│ │ │ ├── hardware-configuration.nix
│ │ │ └── home.nix
│ │ ├── austria/ # Apple Silicon (Asahi)
│ │ │ ├── configuration.nix
│ │ │ ├── hardware-configuration.nix
│ │ │ ├── home.nix
│ │ │ └── apple-silicon-support/ # Asahi modules
│ │ ├── japan/ # Steam Deck
│ │ │ ├── configuration.nix
│ │ │ ├── hardware-configuration.nix
│ │ │ ├── home.nix
│ │ │ └── syncthing.nix
│ │ ├── china/ # Home server
│ │ │ ├── configuration.nix
│ │ │ ├── hardware-configuration.nix
│ │ │ └── home.nix
│ │ └── singapore/ # [DEPRECATED] Desktop
│ │ └── china/ # Home server
│ │ ├── configuration.nix
│ │ ├── hardware-configuration.nix
│ │ └── home.nix
│ │
│ ├── darwin/ # macOS (Mac Mini)
│ │ ├── configuration.nix
Expand Down Expand Up @@ -130,7 +106,6 @@ Machines are named after **geographic locations** (countries/regions):
| `stylix` | 25.11 | Consistent theming across systems |
| `sops-nix` | - | Secrets management (age encryption) |
| `jovian` | - | Steam Deck support |
| `nixos-apple-silicon` | - | Asahi Linux support |

---

Expand Down Expand Up @@ -358,25 +333,22 @@ sops.secrets."path/to/secret" = {
- ASUS ROG tools (asusd, supergfxd)
- KDE Plasma 6 + Hyprland available

### austria (Apple Silicon)
- Asahi Linux with custom GPU drivers
- Custom kernel modules in `apple-silicon-support/`
- Firmware in `systems/nixos/austria/firmware/`

### japan (Steam Deck)
- Jovian NixOS with Decky Loader
- Auto-mounts SD card to `/games`
- Syncthing for game saves/ROMs

### china (Home Server)
- Media stack: Jellyfin, Sonarr, Radarr, Lidarr, etc.
- Media stack: Jellyfin, Sonarr, Radarr, Lidarr, etc. (containerized via arr.nix)
- NFS mounts for media storage (Synology NAS)
- Nginx reverse proxy for services
- User groups for permission management
- **Attic binary cache server** (port 5000, Tailscale only)
- NFS mount `/nix-cache` for Attic storage on Synology
- Auto-upgrade enabled (pulls from GitHub daily at 03:00)
- Scheduled reboot at 03:00

### darwin (Mac Mini)
### jacob-germany (Mac Mini)
- Yabai window manager
- Rclone mounts for media
- Tdarr transcoding node
Expand Down
62 changes: 1 addition & 61 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@
nixpkgs-firefox-darwin = {
url = "github:bandithedoge/nixpkgs-firefox-darwin";
};
llama-cpp = {
url = "github:ggerganov/llama.cpp";
inputs.nixpkgs.follows = "nixpkgs";
};
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
Expand All @@ -56,27 +52,17 @@
kmonad = {
url = "github:kmonad/kmonad?dir=nix";
};
base16 = {
url = "github:SenchoPens/base16.nix";
};
stylix = {
url = "github:danth/stylix/release-25.11";
inputs.nixpkgs.follows = "nixpkgs";
};
spicetify-nix = {
url = "github:Gerg-L/spicetify-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
vpnconfinement = {
url = "github:Maroka-chan/VPN-Confinement";
};
nix-rosetta-builder = {
url = "github:cpick/nix-rosetta-builder";
inputs.nixpkgs.follows = "nixpkgs";
};
nixos-apple-silicon = {
url = "github:oliverbestmann/nixos-apple-silicon";
};
# CachyOS optimized kernel
nix-cachyos-kernel = {
url = "github:xddxdd/nix-cachyos-kernel/release";
Expand All @@ -93,42 +79,18 @@
unstable,
home-manager,
home-manager-unstable,
llama-cpp,
jovian,
nix-darwin,
nixpkgs-darwin,
nur,
stylix,
spicetify-nix,
vpnconfinement,
nix-rosetta-builder,
nixos-apple-silicon,
nix-cachyos-kernel,
nixpkgs-citrix,
...
} @ inputs: {
# Desktop PC (Currently Unused)
# nixosConfigurations.jacob-singapore = nixpkgs.lib.nixosSystem {
# system = "x86_64-linux";
# specialArgs = {inherit inputs;};
# modules = [
# nur.modules.nixos.default
# ./systems/nixos/configuration.nix
# ./systems/nixos/singapore/configuration.nix
# stylix.nixosModules.stylix
# ./systems/stylix.nix
# home-manager.nixosModules.home-manager
# {
# home-manager.users.jacobpyke = import ./systems/nixos/singapore/home.nix;
# home-manager.backupFileExtension = "backup";
# home-manager.extraSpecialArgs = {
# inherit inputs;
# system = "x86_64-linux";
# };
# }
# ];
# };
# ASUS ROG Laptop (CachyOS Migration)
# ASUS ROG Laptop
nixosConfigurations.jacob-norway = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {inherit inputs;};
Expand Down Expand Up @@ -160,28 +122,6 @@
})
];
};
# Asahi Linux (Deprecated - no longer active)
# nixosConfigurations.jacob-austria = unstable.lib.nixosSystem {
# system = "aarch64-linux";
# specialArgs = {inherit inputs;};
# modules = [
# nur.modules.nixos.default
# ./systems/nixos/configuration.nix
# ./systems/nixos/austria/configuration.nix
# nixos-apple-silicon.nixosModules.default
# stylix.nixosModules.stylix
# ./systems/stylix.nix
# home-manager-unstable.nixosModules.home-manager
# {
# home-manager.users.jacobpyke = import ./systems/nixos/austria/home.nix;
# home-manager.backupFileExtension = "backup";
# home-manager.extraSpecialArgs = {
# inherit inputs;
# system = "aarch64-linux";
# };
# }
# ];
# };
# Steam Deck OLED
nixosConfigurations.jacob-japan = unstable.lib.nixosSystem {
system = "x86_64-linux";
Expand Down
6 changes: 0 additions & 6 deletions programs/cli/ollama.nix

This file was deleted.

19 changes: 0 additions & 19 deletions programs/cli/spicetify.nix

This file was deleted.

5 changes: 0 additions & 5 deletions programs/daemon/altserver.nix

This file was deleted.

7 changes: 0 additions & 7 deletions programs/daemon/bazarr.nix

This file was deleted.

5 changes: 0 additions & 5 deletions programs/daemon/bitwarden-rs.nix

This file was deleted.

11 changes: 0 additions & 11 deletions programs/daemon/deluge.nix

This file was deleted.

8 changes: 0 additions & 8 deletions programs/daemon/distrobox.nix

This file was deleted.

16 changes: 0 additions & 16 deletions programs/daemon/firefly-iii.nix

This file was deleted.

6 changes: 0 additions & 6 deletions programs/daemon/gitea.nix

This file was deleted.

40 changes: 0 additions & 40 deletions programs/daemon/home-assistant.nix

This file was deleted.

27 changes: 0 additions & 27 deletions programs/daemon/immich.nix

This file was deleted.

Loading
Loading