nix/packages/hosts/dragon.nix
Daniel Flanagan 9c4d4b98be
Some checks failed
/ build-host (map[host:beefcake]) (push) Failing after 1m12s
/ build-host (map[host:dragon]) (push) Failing after 1m10s
/ build-host (map[host:flipflop]) (push) Failing after 1m7s
/ build-host (map[host:router]) (push) Failing after 1m41s
/ build-devshell (push) Failing after 48s
/ flake-check (push) Failing after 44s
/ build-host (map[host:foxtrot]) (push) Failing after 13m1s
fix: resolve conflicts and set version for CI workflow
2025-03-19 16:30:04 -05:00

70 lines
1.5 KiB
Nix

{
pkgs,
config,
hardware,
diskoConfigurations,
# homeConfigurations,
...
}:
{
system.stateVersion = "24.11";
networking = {
hostName = "dragon";
wifi.enable = true;
};
boot = {
kernelPackages = pkgs.linuxPackages_latest;
loader.efi.canTouchEfiVariables = true;
loader.systemd-boot.enable = true;
initrd.availableKernelModules = [
"xhci_pci"
"nvme"
"ahci"
"usbhid"
];
kernelModules = [ "kvm-amd" ];
supportedFilesystems = [ "ntfs" ];
};
imports = with hardware; [
(diskoConfigurations.unencrypted { disk = "/dev/nvme0n1"; })
common-cpu-amd
common-gpu-amd
common-pc-ssd
];
hardware.bluetooth.enable = true;
powerManagement.cpuFreqGovernor = "performance";
sops = {
defaultSopsFile = ../../secrets/dragon/secrets.yml;
secrets.ddns-pass.mode = "0400";
};
services.deno-netlify-ddns-client = {
enable = true;
passwordFile = config.sops.secrets.ddns-pass.path;
username = "dragon.h";
};
services.postgresql.enable = true;
programs.steam.enable = true;
lyte.desktop.enable = true;
podman.enable = true;
home-manager.users.daniel = {
lyte = {
useOutOfStoreSymlinks.enable = true;
shell = {
enable = true;
learn-jujutsu-not-git.enable = true;
};
};
lyte.desktop.enable = true;
slippi-launcher = {
enable = true;
isoPath = "${config.users.users.daniel.home}/../games/roms/dolphin/melee.iso";
launchMeleeOnPlay = false;
};
};
}