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/phobos/home.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'hosts/phobos') diff --git a/hosts/phobos/home.nix b/hosts/phobos/home.nix index e01d941..364af84 100644 --- a/hosts/phobos/home.nix +++ b/hosts/phobos/home.nix @@ -1,7 +1,4 @@ { config, lib, pkgs, inputs, user, hostname, location, secrets, ... }: -let - dotfiles = ../../dotfiles; -in { home.packages = with pkgs; [ minecraft @@ -47,8 +44,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