desktop init
This commit is contained in:
@@ -5,5 +5,43 @@
|
||||
...
|
||||
}: {
|
||||
imports = [../home/home_common.nix];
|
||||
home = {packages = with pkgs; [steam wivrn opencomposite neovim];};
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
steam
|
||||
neovim
|
||||
firefox
|
||||
wivrn
|
||||
opencomposite
|
||||
wlx-overlay-s
|
||||
glslang
|
||||
gst_all_1.gstreamer
|
||||
libdrm
|
||||
openxr-loader
|
||||
khronos-ocl-icd-loader
|
||||
];
|
||||
};
|
||||
|
||||
# For WiVRn:
|
||||
xdg.configFile."openxr/1/active_runtime.json".source = "${pkgs.wivrn}/share/openxr/1/openxr_wivrn.json";
|
||||
|
||||
xdg.configFile."openvr/openvrpaths.vrpath".text = ''
|
||||
{
|
||||
"config" :
|
||||
[
|
||||
"${config.xdg.dataHome}/Steam/config"
|
||||
],
|
||||
"external_drivers" : null,
|
||||
"jsonid" : "vrpathreg",
|
||||
"log" :
|
||||
[
|
||||
"${config.xdg.dataHome}/Steam/logs"
|
||||
],
|
||||
"runtime" :
|
||||
[
|
||||
"${pkgs.opencomposite}/lib/opencomposite"
|
||||
],
|
||||
"version" : 1
|
||||
}
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user