vr
This commit is contained in:
parent
67aa9ec0ea
commit
6a9f4d40c8
10 changed files with 60 additions and 26 deletions
|
|
@ -35,24 +35,7 @@ in {
|
|||
conf.extraConfig
|
||||
conf.hardware-configuration
|
||||
|
||||
./audio.nix
|
||||
./boot.nix
|
||||
./env.nix
|
||||
./networking.nix
|
||||
./persistence.nix
|
||||
./bluetooth.nix
|
||||
./btrfs.nix
|
||||
./fonts.nix
|
||||
./nix.nix
|
||||
./nfs.nix
|
||||
./users.nix
|
||||
./sops.nix
|
||||
./ssh.nix
|
||||
./steam.nix
|
||||
./stylix.nix
|
||||
./syncthing.nix
|
||||
./wayland.nix
|
||||
./zsh.nix
|
||||
./full.nix
|
||||
|
||||
home-manager.nixosModules.home-manager
|
||||
({config, ...}: {
|
||||
|
|
|
|||
|
|
@ -3,5 +3,6 @@
|
|||
EDITOR = "hx";
|
||||
VISUAL = "hx";
|
||||
FLAKE = conf.home + /nixos;
|
||||
ELECTRON_OZONE_PLATFORM_HINT = "auto";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
24
system/full.nix
Normal file
24
system/full.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{lib, config, ...}: {
|
||||
imports = [
|
||||
./audio.nix
|
||||
./boot.nix
|
||||
./env.nix
|
||||
./networking.nix
|
||||
./persistence.nix
|
||||
./bluetooth.nix
|
||||
./btrfs.nix
|
||||
./fonts.nix
|
||||
./nix.nix
|
||||
./nfs.nix
|
||||
./users.nix
|
||||
./sops.nix
|
||||
./ssh.nix
|
||||
./steam.nix
|
||||
./stylix.nix
|
||||
./syncthing.nix
|
||||
./wayland.nix
|
||||
./zsh.nix
|
||||
] ++ lib.optionals conf.gaming.enable [
|
||||
./vr.nix
|
||||
];
|
||||
}
|
||||
12
system/vr.nix
Normal file
12
system/vr.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{...}: {
|
||||
services.monado = {
|
||||
enable = true;
|
||||
defaultRuntime = true;
|
||||
};
|
||||
|
||||
systemd.user.services.monado.environment = {
|
||||
STEAMVR_LH_ENABLE = "1";
|
||||
XRT_COMPOSITOR_COMPUTE = "1";
|
||||
WMR_HANDTRACKING = "0";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue