about summary refs log tree commit diff
path: root/hosts/phobos
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-07-03 22:56:22 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-07-03 22:56:22 +0200
commitf56e0823324bb7a3821dd9f554b211876f874e66 (patch)
tree9f664082b7256ffe4f39b0ed614ac53ff78b043f /hosts/phobos
parentChange synaptics sensibility (diff)
downloadnixos-config-f56e0823324bb7a3821dd9f554b211876f874e66.tar.gz
nixos-config-f56e0823324bb7a3821dd9f554b211876f874e66.tar.bz2
nixos-config-f56e0823324bb7a3821dd9f554b211876f874e66.zip
Add location in a per host approach
Diffstat (limited to 'hosts/phobos')
-rw-r--r--hosts/phobos/home.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/hosts/phobos/home.nix b/hosts/phobos/home.nix
index 422fbe7..8891df0 100644
--- a/hosts/phobos/home.nix
+++ b/hosts/phobos/home.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs, inputs, user, hostname, secrets, ... }:
+{ config, lib, pkgs, inputs, user, hostname, location, secrets, ... }:
 let
   dotfiles = ../../dotfiles;
 in
@@ -18,6 +18,10 @@ in
     mov-cli
   ]);
 
+  home.sessionVariables = {
+    LOCATION = "${location}";
+  };
+
   programs.firefox.profiles.default.settings = {
     "media.ffmpeg.vaapi.enabled" = true; #Hardware acceleration
   };