Files
nixos/hosts/exodus/default.nix
T
Greg Hellings 459889d1d2 Add compose and attic configurations
Add compose directory to store docker/podman compose files for running
on the TrueNAS box
Add attic configurations to auto-listen on all my home boxes to upload
builds
Update nix-conf to support reading from the Attic server
2025-10-16 17:25:43 -05:00

72 lines
1.2 KiB
Nix

{
config,
lib,
top,
...
}:
{
imports = [
./hardware-configuration.nix
top.nix-hardware.nixosModules.framework-11th-gen-intel
];
age.secrets = {
compose-attic.file = ../../secrets/compose/attic.env.age;
};
boot = {
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
binfmt.emulatedSystems = [
"i686-linux"
"aarch64-linux"
];
};
greg = {
home = true;
gnome.enable = true;
podman.enable = true;
print.enable = true;
tailscale.enable = true;
runner.enable = true;
vmdev = {
enable = false;
system = "intel";
};
};
nix.settings = {
extra-platforms = config.boot.binfmt.emulatedSystems;
system-features = [ "gccarch-x86-64-v3" ];
};
networking = {
hostName = "exodus";
networkmanager.enable = lib.mkForce true;
};
programs.adb.enable = true;
services = {
fprintd.enable = true;
fwupd = {
enable = true;
extraRemotes = [ "lvfs-testing" ];
};
};
virtualisation = {
oci-containers.backend = "podman";
};
users.users.greg.extraGroups = [
"adbusers"
"kvm"
"podman"
];
}