nix/packages/hosts/dragon.nix
Daniel Flanagan 2c37b61a08
Some checks failed
/ check (push) Failing after 31s
feat: add bigtower
2025-02-19 11:41:22 -06:00

61 lines
1.3 KiB
Nix

{
pkgs,
config,
hardware,
diskoConfigurations,
# homeConfigurations,
...
}:
{
system.stateVersion = "24.11";
networking = {
hostName = "dragon";
wifi = 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";
};
programs.steam.enable = true;
lyte.desktop.enable = true;
home-manager.users.daniel = {
lyte.shell.enable = true;
lyte.desktop.enable = true;
slippi-launcher = {
enable = true;
isoPath = "${config.users.users.daniel.home}/../games/roms/dolphin/melee.iso";
launchMeleeOnPlay = false;
};
};
}