feat(nixosModules/desktop): add alvr
This commit is contained in:
parent
5396f6dd63
commit
1a45001401
2 changed files with 15 additions and 1 deletions
|
@ -1,4 +1,9 @@
|
|||
{ lib, config, ... }:
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./windowManager.nix
|
||||
|
@ -18,6 +23,7 @@
|
|||
notification-daemon = lib.pantheon.mkStrOption;
|
||||
enableSpotifyd = lib.mkEnableOption "";
|
||||
enableSteam = lib.mkEnableOption "";
|
||||
enableVR = lib.mkEnableOption "";
|
||||
};
|
||||
|
||||
config = lib.mkMerge [
|
||||
|
@ -27,5 +33,12 @@
|
|||
gamescopeSession.enable = true;
|
||||
};
|
||||
})
|
||||
(lib.mkIf config.desktop.enableVR {
|
||||
programs.alvr = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
environment.systemPackages = [ pkgs.android-tools ];
|
||||
})
|
||||
];
|
||||
}
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
};
|
||||
enableSpotifyd = true;
|
||||
enableSteam = true;
|
||||
enableVR = true;
|
||||
};
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue