Compare commits
3 Commits
f4e7dc9772
...
c3fe86d6b4
| Author | SHA1 | Date | |
|---|---|---|---|
| c3fe86d6b4 | |||
| f6babfabba | |||
| 95fdc587c1 |
@ -246,8 +246,15 @@
|
|||||||
|
|
||||||
# bigscreen udev rule
|
# bigscreen udev rule
|
||||||
services.udev.extraRules = ''
|
services.udev.extraRules = ''
|
||||||
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="35bd", ATTRS{idProduct}=="0101", MODE="0666"
|
# Bigscreen Beyond
|
||||||
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="35bd", ATTRS{idProduct}=="0202", MODE="0666"
|
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="35bd", ATTRS{idProduct}=="0101", MODE="0660", TAG+="uaccess"
|
||||||
|
# Bigscreen Bigeye
|
||||||
|
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="35bd", ATTRS{idProduct}=="0202", MODE="0660", TAG+="uaccess"
|
||||||
|
SUBSYSTEM=="usb", ATTRS{idVendor}=="35bd", ATTRS{idProduct}=="0202", MODE="0660", TAG+="uaccess"
|
||||||
|
# Bigscreen Beyond Audio Strap
|
||||||
|
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="35bd", ATTRS{idProduct}=="0105", MODE="0660", TAG+="uaccess"
|
||||||
|
# Bigscreen Beyond Firmware Mode?
|
||||||
|
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="35bd", ATTRS{idProduct}=="4004", MODE="0660", TAG+="uaccess"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# For streaming
|
# For streaming
|
||||||
|
|||||||
41
flake.nix
41
flake.nix
@ -36,21 +36,58 @@
|
|||||||
|
|
||||||
outputs = { self, nixpkgs, lix-module, home-manager, ...}@inputs:
|
outputs = { self, nixpkgs, lix-module, home-manager, ...}@inputs:
|
||||||
{
|
{
|
||||||
nixosConfigurations.pewter = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.pewter =
|
||||||
|
let
|
||||||
|
system = "x86_64-linux";
|
||||||
|
xrizer = ({config, pkgs, lib, ... }:
|
||||||
|
{
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
(final: prev: {
|
||||||
|
xrizer =
|
||||||
|
let
|
||||||
|
src = final.fetchFromGitHub {
|
||||||
|
owner = "Mr-Zero88";
|
||||||
|
repo = "xrizer";
|
||||||
|
# IMPORTANT: Fill the below field with the latest commit hash from https://github.com/Mr-Zero88-FBT/xrizer/commits/experimental2 (click the Copy full SHA button on the right side)
|
||||||
|
rev = "63f6c00";
|
||||||
|
# IMPORTANT: Replace the below field with the correct hash, the error when building with this empty will give you the expected hash.
|
||||||
|
hash = "sha256-ilPNar7sfdQ5aSeypy5BStEGeVAoXtHw/iWLhqKEsPQ=";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
prev.xrizer.overrideAttrs (drv: {
|
||||||
|
cargoDeps = drv.cargoDeps.overrideAttrs {
|
||||||
|
src = src;
|
||||||
|
outputHashMode = "recursive";
|
||||||
|
outputHash = "sha256-Z6zTjiuY4avAH/Bh9kofk+nbmHSSvCXaSCQp++w3cOE=";
|
||||||
|
};
|
||||||
|
patches = [];
|
||||||
|
# cargoSha256 = "";
|
||||||
|
});
|
||||||
|
})
|
||||||
|
];
|
||||||
|
});
|
||||||
|
|
||||||
|
pkgs = import nixpkgs {
|
||||||
|
system = system;
|
||||||
|
};
|
||||||
|
in
|
||||||
|
nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
specialArgs = inputs;
|
specialArgs = inputs;
|
||||||
modules = [
|
modules = [
|
||||||
lix-module.nixosModules.default
|
lix-module.nixosModules.default
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
|
xrizer
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
{
|
{
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.users.abby = ./home.nix;
|
home-manager.users.abby = ./home.nix;
|
||||||
|
|
||||||
home-manager.extraSpecialArgs = {
|
home-manager.extraSpecialArgs = {
|
||||||
username = "abby";
|
username = "abby";
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
system = "x86_64-linux";
|
system = system;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|||||||
11
home.nix
11
home.nix
@ -24,11 +24,16 @@
|
|||||||
inputs.oscgoesbrrr.packages.${system}.default
|
inputs.oscgoesbrrr.packages.${system}.default
|
||||||
alcom
|
alcom
|
||||||
vesktop
|
vesktop
|
||||||
|
vrcx
|
||||||
moonlight-qt
|
moonlight-qt
|
||||||
# inputs.nixgl.nixGLIntel
|
|
||||||
# htop
|
# htop
|
||||||
#inputs.baballonia.${system}.default
|
#inputs.baballonia.${system}.default
|
||||||
] ++ lib.optionals (system == "x86-linux") (import ./unity_vrchat.nix {pkgs = pkgs; }).packages;
|
] ++ lib.optionals (system == "x86-linux")
|
||||||
|
(import ./unity_vrchat.nix {pkgs = pkgs; }).packages
|
||||||
|
++ lib.optionals (false) [
|
||||||
|
inputs.nixgl.nixGLIntel
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
# Wayvr customization
|
# Wayvr customization
|
||||||
@ -61,7 +66,7 @@ dashboard:
|
|||||||
],
|
],
|
||||||
"runtime" :
|
"runtime" :
|
||||||
[
|
[
|
||||||
"${pkgs.opencomposite}/lib/opencomposite"
|
"${pkgs.xrizer}/lib/xrizer"
|
||||||
],
|
],
|
||||||
"version" : 1
|
"version" : 1
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user