# modules/hosts/generic/_settings.nix — THE file to edit when you install
# NixDaemon on your own machine. Everything machine-specific about the generic
# host is here; nothing else in the repo needs to change.
#
# After editing:
# sudo nixos-rebuild switch --flake .#nixdaemon (or: nh os switch -H nixdaemon)
#
# See docs/install.md for the full walk-through (bare metal, VMware,
# VirtualBox, QEMU/KVM, UTM on Apple Silicon, Hyper-V, an existing NixOS).
{
# Your login name. A home directory /home/<user> is created for it.
user = "operator";
# First-login password. CHANGE IT straight away with `passwd`, or set
# `initialPassword = null;` and use `sudo passwd <user>` from the installer.
initialPassword = "nixdaemon";
hostName = "nixdaemon";
# "x86_64-linux" for Intel/AMD, "aarch64-linux" for ARM (Apple Silicon VMs,
# Raspberry Pi 4/5 with UEFI firmware, Ampere, Snapdragon).
system = "x86_64-linux";
timeZone = "UTC"; # `timedatectl list-timezones`, e.g. "Europe/London"
locale = "en_US.UTF-8";
keyboard = "us"; # X/Wayland layout: "gb", "de", "fr", …
# How the machine boots. Look at the installer: if /sys/firmware/efi exists
# it booted UEFI — use "efi". Otherwise "bios" and name the disk GRUB goes
# on. VirtualBox defaults to BIOS unless "Enable EFI" is ticked.
boot = "efi"; # "efi" | "bios"
biosDevice = "/dev/sda"; # only read when boot = "bios"
# Guest tools for the hypervisor you run in (clipboard, resolution, time).
# "none" | "vmware" | "virtualbox" | "qemu" (KVM, virt-manager, Proxmox, UTM) | "hyperv"
vm = "none";
# "niri" Niri (scrolling Wayland compositor) + Noctalia shell, Rosé Pine.
# The default. Needs working 3D: bare metal, QEMU virtio-gpu with
# GL, VMware with 3D acceleration on. Super+Return opens a terminal.
#
# The two below are switched OFF until you choose one here. They are X11,
# so they run in every VM (VirtualBox, Hyper-V, Proxmox, VMware without 3D):
# "xfce" XFCE in Rosé Pine: panel, menu, file manager — a full desktop.
# "i3" i3 tiling window manager in Rosé Pine: the lightweight one (a
# whole i3 VM idles around 0.9 GB). Super+Return terminal, Super+d menu.
# They are newer than the Niri desktop and less tested: expect the odd rough
# edge (theming in some apps, resize in some hypervisors). Report what breaks.
#
# "none" no desktop: console + SSH only.
desktop = "niri";
# Host folders shared into the VM. VMware: mounted at /mnt/hgfs/<name>.
# VirtualBox: your user joins vboxsf and shares appear at /media/sf_<name>.
# Turn the sharing on in the hypervisor's VM settings as well.
sharedFolders = false;
# Accept SSH logins (password auth stays off; put your public key below).
ssh = false;
sshKeys = [ ]; # [ "ssh-ed25519 AAAA… you@laptop" ]
# The offensive toolkit. The CPTS core (recon, AD, web, pivot, crack,
# shells, BloodHound, payloads, wordlists, GUI tools) is on by default;
# these extra categories are off. Flip any to true. (On aarch64 BloodHound
# is switched off automatically: its pinned neo4j is x86_64-only.)
pentest = {
dfir = false; # volatility, sleuthkit, yara, stego
reversing = false; # radare2, rizin, gdb+gef, pwntools, ROPgadget
wireless = false; # aircrack-ng, wifite, kismet (needs a monitor-mode card)
radio = false; # SDR, bluetooth, RFID (needs the hardware)
hardware = false; # flashrom, openocd, sigrok, can-utils
c2 = false; # havoc, villain
database = false; # mysql, mssql, redis, mongo clients
cloud = false; # aws, az, gcloud, kubectl, pacu
osint = false; # theharvester, recon-ng, sn0int
social = false; # gophish, setoolkit — authorised scope only
mobile = false; # apktool, jadx, frida, adb (x86_64 only)
};
}