summaryrefslogtreecommitdiff
path: root/accounts
diff options
context:
space:
mode:
Diffstat (limited to 'accounts')
-rw-r--r--accounts/gkleen@sif/default.nix10
1 files changed, 1 insertions, 9 deletions
diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix
index 7df0235e..8cee684f 100644
--- a/accounts/gkleen@sif/default.nix
+++ b/accounts/gkleen@sif/default.nix
@@ -80,14 +80,6 @@ let
80 ]; 80 ];
81 }; 81 };
82 82
83 nvidiaOffloadScript = pkgs.writeShellScriptBin "nvidia-offload" ''
84 export __NV_PRIME_RENDER_OFFLOAD=1
85 export __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0
86 export __GLX_VENDOR_LIBRARY_NAME=nvidia
87 export __VK_LAYER_NV_optimus=NVIDIA_only
88 exec -a "$1" "$@"
89 '';
90
91 lockCommand = "${config.systemd.package}/bin/systemctl --user start gtklock.service"; 83 lockCommand = "${config.systemd.package}/bin/systemctl --user start gtklock.service";
92in { 84in {
93 imports = with flake.nixosModules.userProfiles.${userName}; [ 85 imports = with flake.nixosModules.userProfiles.${userName}; [
@@ -715,7 +707,7 @@ in {
715 matrix-synapse-tools.synadm 707 matrix-synapse-tools.synadm
716 flakeInputs.deploy-rs.packages.${config.nixpkgs.system}.deploy-rs 708 flakeInputs.deploy-rs.packages.${config.nixpkgs.system}.deploy-rs
717 sieve-connect gimp inkscape udiskie glab nitrokey-app 709 sieve-connect gimp inkscape udiskie glab nitrokey-app
718 pynitrokey gtklock wlrctl nvidiaOffloadScript 710 pynitrokey gtklock wlrctl
719 ]; 711 ];
720 712
721 file = { 713 file = {