From f56e0823324bb7a3821dd9f554b211876f874e66 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Sun, 3 Jul 2022 22:56:22 +0200 Subject: Add location in a per host approach --- hosts/phobos/home.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'hosts/phobos') 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 }; -- cgit 1.4.1