From 6f902fd499d00036cfa18edd770ea349c599d985 Mon Sep 17 00:00:00 2001 From: Mirza Arnaut Date: Mon, 27 May 2024 00:51:58 +0200 Subject: [PATCH] Replace absolute path with relative --- nixos/hosts/kyuubi/configuration.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/hosts/kyuubi/configuration.nix b/nixos/hosts/kyuubi/configuration.nix index 181ee7e..f892d6b 100644 --- a/nixos/hosts/kyuubi/configuration.nix +++ b/nixos/hosts/kyuubi/configuration.nix @@ -7,7 +7,8 @@ }: let # monitorsXmlContent = builtins.readFile /home/mar/.config/monitors.xml; # monitorsConfig = pkgs.writeText "gdm_monitors.xml" monitorsXmlContent; - monitorsConfig = pkgs.writeText "gdm_monitors.xml" (builtins.readFile /home/mar/.config/monitors.xml); + # monitorsConfig = pkgs.writeText "gdm_monitors.xml" (builtins.readFile /home/${username}/.config/monitors.xml); + monitorsConfig = pkgs.writeText "gdm_monitors.xml" (builtins.readFile ~/.config/monitors.xml); in { imports = [ ./hardware-configuration.nix