desktop init

This commit is contained in:
k
2025-01-29 15:47:04 -05:00
parent eba2ffcdcd
commit f2f8b25d7e
3 changed files with 99 additions and 7 deletions

View File

@@ -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
}
'';
}