nix/packages/hosts/steamdeck.nix
Daniel Flanagan 0070f4db9f
Some checks failed
/ build-host (map[host:beefcake]) (push) Successful in 52s
/ build-host (map[host:dragon]) (push) Successful in 1m20s
/ build-host (map[host:flipflop]) (push) Successful in 1m11s
/ build-host (map[host:foxtrot]) (push) Successful in 1m20s
/ build-host (map[host:rascal]) (push) Successful in 35s
/ build-host (map[host:router]) (push) Successful in 41s
/ build-host (map[host:steamdeck]) (push) Successful in 1m14s
/ build-devshell (push) Successful in 19s
/ flake-check (push) Failing after 4m18s
feat: add steamdeck
2025-03-21 16:22:49 -05:00

60 lines
1.2 KiB
Nix

{
diskoConfigurations,
# hardware, # do NOT use nixos-hardware with jovian config
...
}:
{
system.stateVersion = "24.11";
networking = {
hostName = "steamdeck";
wifi.enable = true;
};
hardware.bluetooth.enable = true;
boot = {
# kernelPackages = pkgs.linuxPackages_latest; # do NOT use with jovian config
loader = {
efi.canTouchEfiVariables = true;
systemd-boot.enable = true;
};
};
imports = [
(diskoConfigurations.unencrypted { disk = "/dev/nvme0n1"; })
];
lyte.desktop.enable = true;
home-manager.users.daniel = {
lyte = {
useOutOfStoreSymlinks.enable = true;
shell = {
enable = true;
learn-jujutsu-not-git.enable = true;
};
desktop.enable = true;
};
};
nixpkgs.config.allowUnfree = true;
programs.steam.enable = true;
jovian = {
decky-loader = {
enable = true;
};
steam = {
autoStart = true;
updater = {
splash = "jovian";
};
};
hardware = {
has.amd.gpu = true;
};
devices = {
steamdeck = {
enable = true;
autoUpdate = true;
# enableGyroDsuService = true;
};
};
};
}