Dummy hardware config file (copy of queen) for testing

This commit is contained in:
Lillian-Violet 2023-12-27 16:26:39 +01:00
parent 2da39b4170
commit 53a74ac58a
2 changed files with 20 additions and 2 deletions

View file

@ -16,7 +16,7 @@
builtins.fetchTarball { builtins.fetchTarball {
url = "https://github.com/Jovian-Experiments/Jovian-NixOS/archive/${revision}.tar.gz"; url = "https://github.com/Jovian-Experiments/Jovian-NixOS/archive/${revision}.tar.gz";
# Update the hash as needed: # Update the hash as needed:
sha256 = "sha256:9b9cd766072751ea23e22969d4804320a146afa340c496628a4a87797ac13771"; sha256 = "sha256:1bj0vm734jllsl7kyicdjlcpm30q6syzavr3im89m0f5bpnzkj7l";
} }
+ "/modules" + "/modules"
) )
@ -127,7 +127,7 @@
#What desktop to start when switching to desktop session #What desktop to start when switching to desktop session
jovian.steam.desktopSession = "plasmawayland"; jovian.steam.desktopSession = "plasmawayland";
jovian.steam.user = users.users.lillian; jovian.steam.user = "lillian";
#Enable gyro service for CEMU #Enable gyro service for CEMU
jovian.devices.steamdeck.enableGyroDsuService = true; jovian.devices.steamdeck.enableGyroDsuService = true;

View file

@ -0,0 +1,18 @@
{
config,
lib,
pkgs,
modulesPath,
...
}: {
imports = [(modulesPath + "/profiles/qemu-guest.nix")];
boot.loader.grub.device = "/dev/sda";
boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi"];
boot.initrd.kernelModules = ["nvme"];
fileSystems."/" = {
device = "/dev/sda3";
fsType = "ext4";
};
swapDevices = [{device = "/dev/sda2";}];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}