~ruther/nixos-config

171c6146da1463a8d6e7bbe45d555f7ab30f9d90 — Frantisek Bohacek 1 year, 6 months ago 67ca26d
fix: migrate back to location usage in firefox
1 files changed, 2 insertions(+), 5 deletions(-)

M modules/desktop/qtile/home.nix
M modules/desktop/qtile/home.nix => modules/desktop/qtile/home.nix +2 -5
@@ 15,9 15,6 @@ let
    cargoHash = "sha256-7S8TXqtKWR4utBeUe9Q7RrmHgJg5lqkLdmo9b+MTRGg=";
    hash = "sha256-7S8TXqtKWR4utBeUe9Q7RrmHgJg5lqkLdmo9b+MTRGg=";
  };

  currentDirectory = builtins.toString ./.;
  rootConfigDirectory = builtins.toString ./../../../.;
in {
  # services.udev.extraRules =
  #     ''ACTION=="change", SUBSYSTEM=="drm", RUN+="${pkgs.autorandr}/bin/autorandr -c"'';


@@ 110,8 107,8 @@ in {
from string import Template
import os

setupLocationRef = Template("${rootConfigDirectory}")
configLocationRef = Template("${currentDirectory}/config")
setupLocationRef = Template("${location}")
configLocationRef = Template("${location}/modules/desktop/qtile/config")

setupLocation = setupLocationRef.substitute(os.environ)
configLocation = configLocationRef.substitute(os.environ)

Do not follow this link