From ef1123869a87984c60e72c17f6b89b8803730cbc Mon Sep 17 00:00:00 2001 From: Baitinq Date: Fri, 9 Sep 2022 11:41:17 +0200 Subject: Misc: Use dotfiles as flake input --- hosts/vm/home.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'hosts/vm') diff --git a/hosts/vm/home.nix b/hosts/vm/home.nix index 6f8380a..3a1137f 100644 --- a/hosts/vm/home.nix +++ b/hosts/vm/home.nix @@ -1,7 +1,4 @@ { config, lib, pkgs, inputs, user, hostname, location, secrets, ... }: -let - dotfiles = ../../dotfiles; -in { home.packages = with pkgs; [ trackma @@ -35,8 +32,8 @@ in ''; "sxhkd/sxhkdrc".text = - builtins.readFile (dotfiles + "/sxhkd/xmonad") + - builtins.readFile (dotfiles + "/sxhkd/base") + + builtins.readFile "${inputs.dotfiles}/sxhkd/xmonad" + + builtins.readFile "${inputs.dotfiles}/sxhkd/base" + '' #enter and leave game mode -- cgit 1.4.1