mach - Personal Laptop¶
| Platform | NixOS x86_64 |
| CPU | Intel i7-10510U (4c/8t) |
| RAM | 24 GB |
| User | niksingh710 |
| Boot | systemd-boot (UEFI) |
| Timezone | Asia/Kolkata |
Services¶
- FileBrowser Quantum - serves
/run/media/niksingh710/(external media) + user home - Beszel agent - monitors system + rootless Docker (runs as user, SKIP_GPU=true)
- Tailscale - mesh VPN
- Docker - system + rootless via shared virtualisation module
Modules Imported¶
imports = [
flake.nixosModules.default # base system
flake.nixosModules.hardware # audio, bluetooth, touchpad
flake.nixosModules.filebrowser
flake.nixosModules.beszel
flake.nixosModules.tailscale
flake.nixosModules.virtualisation
flake.inputs.sops-nix.nixosModules.sops
flake.inputs.disko.nixosModules.disko
# Hyprland is commented out (CLI-based machine)
];
Notable Config¶
# AMD GPU bug workaround - beszel crashes reading sysfs
# https://github.com/henrygd/beszel/issues/1799
services.beszel.agent.environment.SKIP_GPU = "true";
# Rootless docker agent - runs as user to access /run/user/1000/docker.sock
services.beszel.agent.environment.DOCKER_HOST = "unix:///run/user/1000/docker.sock";
# FileBrowser includes external media mount
services.filebrowser-quantum = {
enable = true;
sources = [ "/run/media/niksingh710/" ];
home = "/home/niksingh710";
};
# Auto-login on TTY (CLI machine)
services.getty.autologinUser = "niksingh710";
Secrets¶
Uses secrets/server.yaml (office age key):
tailscale_auth_keybeszel/tokenfilebrowser/machuser-passwordprivate-keys/nix_access_token
Files¶
hosts/nixos/mach/default.nix- main confighosts/nixos/mach/disk.nix- disko partitioninghosts/nixos/mach/hardware.nix- auto-generated hardware config