about summary refs log tree commit diff
path: root/hosts/phobos/home.nix
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-09-09 11:41:17 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-09-10 20:22:31 +0200
commitef1123869a87984c60e72c17f6b89b8803730cbc (patch)
tree0e98d54eab906200d712a30e7c1ef906c066adb3 /hosts/phobos/home.nix
parentISO: Set user as nixos (diff)
downloadnixos-config-ef1123869a87984c60e72c17f6b89b8803730cbc.tar.gz
nixos-config-ef1123869a87984c60e72c17f6b89b8803730cbc.tar.bz2
nixos-config-ef1123869a87984c60e72c17f6b89b8803730cbc.zip
Misc: Use dotfiles as flake input
Diffstat (limited to 'hosts/phobos/home.nix')
-rw-r--r--hosts/phobos/home.nix7
1 files changed, 2 insertions, 5 deletions
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