Files
nixos-config/hosts/steamdeck/default.nix

51 lines
1.4 KiB
Nix

#
# Steamdeck — system configuration
#
{ lib, pkgs, user, jovian-nixos, ... }:
{
imports = [
./hardware-configuration.nix
../../modules/desktop
../../modules/wm/steam
];
# ── Desktop module options ──────────────────────────────────────────────
myDesktop.windowManager = "kde";
myDesktop.cpu = "amd";
myDesktop.virtualisation.enable = true;
myDesktop.nitrokey.enable = true;
specialisation = {
sway.configuration = {
imports = [ (import ../../modules/wm/sway) ];
jovian.steam.enable = lib.mkForce false;
services.desktopManager.plasma6.enable = lib.mkForce false;
};
};
# ── Host-specific settings ──────────────────────────────────────────────
boot = {
loader = {
systemd-boot.enable = lib.mkForce false;
efi.canTouchEfiVariables = true;
efi.efiSysMountPoint = "/boot";
timeout = 1;
};
lanzaboote = {
enable = true;
pkiBundle = "/etc/secureboot";
};
};
services.printing = {
enable = true;
drivers = [ pkgs.gutenprint ];
};
services.tailscale.enable = true;
security.pam.sshAgentAuth.enable = true;
}