This commit is contained in:
Tristan 2024-03-05 20:29:08 +00:00
parent 0eb4b39216
commit 594ec240eb
4 changed files with 35 additions and 23 deletions

View file

@ -18,7 +18,7 @@
outputs = inputs: let outputs = inputs: let
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = import inputs.nixpkgs { inherit system; }; pkgs = import inputs.nixpkgs {inherit system;};
user = "tristan"; user = "tristan";
userFullname = "Tristan Beedell"; userFullname = "Tristan Beedell";
auto-login = import ./nixos/programs/auto-login.nix; auto-login = import ./nixos/programs/auto-login.nix;

View file

@ -1,4 +1,8 @@
{pkgs, config, ...}: { {
pkgs,
config,
...
}: {
home.packages = with pkgs; [ home.packages = with pkgs; [
monado monado
]; ];
@ -7,24 +11,23 @@
}; };
home.file.".config/openvr/openvrpaths.vrpath" = { home.file.".config/openvr/openvrpaths.vrpath" = {
text = '' text = ''
{ {
"config" : "config" :
[ [
"${config.home.homeDirectory}/.local/share/Steam/config" "${config.home.homeDirectory}/.local/share/Steam/config"
], ],
"external_drivers" : null, "external_drivers" : null,
"jsonid" : "vrpathreg", "jsonid" : "vrpathreg",
"log" : "log" :
[ [
"${config.home.homeDirectory}/.local/share/Steam/logs" "${config.home.homeDirectory}/.local/share/Steam/logs"
], ],
"runtime" : "runtime" :
[ [
"${pkgs.opencomposite}/lib/opencomposite" "${pkgs.opencomposite}/lib/opencomposite"
], ],
"version" : 1 "version" : 1
} }
''; '';
}; };
} }

View file

@ -68,8 +68,17 @@ in {
datadirectory = "/mnt/storage/nextcloud"; datadirectory = "/mnt/storage/nextcloud";
}; };
extraApps = { extraApps = {
inherit (config.services.nextcloud.package.packages.apps) inherit
contacts calendar mail gpoddersync memories notes maps previewgenerator; (config.services.nextcloud.package.packages.apps)
contacts
calendar
mail
gpoddersync
memories
notes
maps
previewgenerator
;
oidc_login = pkgs.fetchNextcloudApp { oidc_login = pkgs.fetchNextcloudApp {
sha256 = "sha256-cN5azlThKPKRVip14yfUNR85of5z+N6NVI7sg6pSGQI="; sha256 = "sha256-cN5azlThKPKRVip14yfUNR85of5z+N6NVI7sg6pSGQI=";
url = "https://github.com/pulsejet/nextcloud-oidc-login/releases/download/v3.0.2/oidc_login.tar.gz"; url = "https://github.com/pulsejet/nextcloud-oidc-login/releases/download/v3.0.2/oidc_login.tar.gz";