add steamdeck config

This commit is contained in:
Chris Kruining 2025-07-13 23:12:11 +02:00
parent 004c2b16e8
commit 9b8ed8dde0
Signed by: chris
SSH key fingerprint: SHA256:nG82MUfuVdRVyCKKWqhY+pCrbz9nbX6uzUns4RKa1Pg
3 changed files with 8 additions and 9 deletions

View file

@ -1,3 +1,3 @@
# Description # Description
This will be my future game server Steamdeck

View file

@ -6,28 +6,27 @@ in
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/8c4eaf57-fdb2-4c4c-bcc0-74e85a1c7985"; { device = "/dev/disk/by-uuid/aa438c4c-d193-436b-91ca-c386c0688265";
fsType = "ext4"; fsType = "ext4";
}; };
fileSystems."/boot" = { fileSystems."/boot" = {
device = "/dev/disk/by-uuid/C842-316A"; device = "/dev/disk/by-uuid/89B8-0702";
fsType = "vfat"; fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
}; };
swapDevices = [ swapDevices = [
{ device = "/dev/disk/by-uuid/0ddf001a-5679-482e-b254-04a1b9094794"; } { device = "/dev/disk/by-uuid/beddca5c-1ecc-4a46-9fc5-fd918eed8f2a"; }
]; ];
boot = { boot = {
initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ]; initrd.availableKernelModules = [ "nvme" "xhci_pci" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ];
initrd.kernelModules = [ ]; initrd.kernelModules = [ ];
kernelModules = [ "kvm-intel" ]; kernelModules = [ "kvm-amd" ];
kernelParams = []; kernelParams = [];
extraModulePackages = [ ]; extraModulePackages = [ ];
}; };
nixpkgs.hostPlatform = mkDefault "x86_64-linux"; nixpkgs.hostPlatform = mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.amd.updateMicrocode = mkDefault config.hardware.enableRedistributableFirmware;
} }

View file

@ -26,7 +26,7 @@ in
autoStart = true; autoStart = true;
user = "chris"; user = "chris";
updater.splash = "steamos"; updater.splash = "steamos";
# desktopSession = "plasma"; desktopSession = "plasma";
}; };
steamos.useSteamOSConfig = true; steamos.useSteamOSConfig = true;
}; };