Compare commits
2 Commits
893ca2738a
...
a004c8016e
| Author | SHA1 | Date | |
|---|---|---|---|
| a004c8016e | |||
| 2b013d8af5 |
@ -168,12 +168,13 @@
|
|||||||
# lemonake.packages.${pkgs.system}.wayvr-dashboard-git
|
# lemonake.packages.${pkgs.system}.wayvr-dashboard-git
|
||||||
|
|
||||||
(monado.overrideAttrs (oldAttrs: rec {
|
(monado.overrideAttrs (oldAttrs: rec {
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
domain = "gitlab.freedesktop.org";
|
domain = "gitlab.freedesktop.org";
|
||||||
owner = "monado";
|
owner = "monado";
|
||||||
repo = "monado";
|
repo = "monado";
|
||||||
rev = "9abe461c";
|
rev = "5c137fe28b232fe460f9b03defa7749adc32ee48";
|
||||||
hash = "sha256-c/I7wFoLPZ///yU/AoqgL9Fz3iSp5jH9E2vTXaKE4Vs=";
|
hash = "sha256-4P/ejRAitrYn8hXZPaDOcx27utfm+aVLjtqL6JxZYAg=";
|
||||||
};
|
};
|
||||||
patches = [];
|
patches = [];
|
||||||
# (pkgs.fetchpatch {
|
# (pkgs.fetchpatch {
|
||||||
@ -181,9 +182,10 @@
|
|||||||
# sha256 = "0hhfk86z1yq5gn9bzqpv46nb9bdx3fygi55b4ayzmnamva7rcajp";
|
# sha256 = "0hhfk86z1yq5gn9bzqpv46nb9bdx3fygi55b4ayzmnamva7rcajp";
|
||||||
# })
|
# })
|
||||||
# ];
|
# ];
|
||||||
}))
|
}));
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# github:PassiveLemon/lemonake/master/pkgs/wayvr-dashboard
|
# github:PassiveLemon/lemonake/master/pkgs/wayvr-dashboard
|
||||||
|
|
||||||
@ -220,6 +222,13 @@
|
|||||||
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
|
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.monado.package = pkgs.monado.overrideAttrs (oldAttrs: {
|
||||||
|
cmakeFlags = oldAttrs.cmakeFlags ++ [
|
||||||
|
(pkgs.lib.cmakeBool "XRT_HAVE_OPENCV" false)
|
||||||
|
];
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
services.monado = {
|
services.monado = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultRuntime = true; # Register as default OpenXR runtime
|
defaultRuntime = true; # Register as default OpenXR runtime
|
||||||
|
|||||||
@ -8,25 +8,24 @@
|
|||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "thunderbolt" "usbhid" "usb_storage" "sd_mod" ];
|
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "thunderbolt" "usbhid" ];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
boot.kernelModules = [ "kvm-amd" ];
|
boot.kernelModules = [ "kvm-amd" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{ device = "/dev/disk/by-uuid/f20d561e-283e-4fc9-9f06-33cd4dcb7208";
|
{ device = "/dev/disk/by-uuid/bf8632a8-5ad0-4dc1-ae44-6502948b7345";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot" =
|
fileSystems."/boot" =
|
||||||
{ device = "/dev/disk/by-uuid/A7F6-EC69";
|
{ device = "/dev/disk/by-uuid/223A-C71C";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
options = [ "fmask=0077" "dmask=0077" ];
|
options = [ "fmask=0077" "dmask=0077" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices =
|
swapDevices =
|
||||||
[ { device = "/dev/disk/by-uuid/33c7ad78-35f3-4965-80aa-11d1c9af9dcc"; }
|
[ { device = "/dev/disk/by-uuid/b6ea0e2e-16cb-47ce-b890-384fe35865d7"; }
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
@ -34,9 +33,8 @@
|
|||||||
# still possible to use this option, but it's recommended to use it in conjunction
|
# still possible to use this option, but it's recommended to use it in conjunction
|
||||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||||
networking.useDHCP = lib.mkDefault true;
|
networking.useDHCP = lib.mkDefault true;
|
||||||
# networking.interfaces.enp9s0.useDHCP = lib.mkDefault true;
|
# networking.interfaces.enp116s0u2u1c2.useDHCP = lib.mkDefault true;
|
||||||
# networking.interfaces.wlp10s0.useDHCP = lib.mkDefault true;
|
# networking.interfaces.wlp10s0.useDHCP = lib.mkDefault true;
|
||||||
# networking.interfaces.wlp118s0f4u2.useDHCP = lib.mkDefault true;
|
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
|||||||
Reference in New Issue
Block a user