nix/packages/hosts/dragon.nix
Daniel Flanagan c87dd65a82
All checks were successful
/ build-host (map[host:beefcake]) (push) Successful in 2m49s
/ build-host (map[host:dragon]) (push) Successful in 46s
/ build-host (map[host:flipflop]) (push) Successful in 35s
/ build-host (map[host:foxtrot]) (push) Successful in 44s
/ build-host (map[host:router]) (push) Successful in 2m40s
/ build-devshell (push) Successful in 27s
/ flake-check (push) Successful in 6m7s
fix: resolve conflicts and set version for CI workflow, add close_surface keybind to ghostty
2025-03-20 12:29:12 -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;
};
};
}