diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-09-09 11:41:17 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-09-10 20:22:31 +0200 |
commit | ef1123869a87984c60e72c17f6b89b8803730cbc (patch) | |
tree | 0e98d54eab906200d712a30e7c1ef906c066adb3 /hosts/luna/home.nix | |
parent | ISO: Set user as nixos (diff) | |
download | nixos-config-ef1123869a87984c60e72c17f6b89b8803730cbc.tar.gz nixos-config-ef1123869a87984c60e72c17f6b89b8803730cbc.tar.bz2 nixos-config-ef1123869a87984c60e72c17f6b89b8803730cbc.zip |
Misc: Use dotfiles as flake input
Diffstat (limited to 'hosts/luna/home.nix')
-rw-r--r-- | hosts/luna/home.nix | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/hosts/luna/home.nix b/hosts/luna/home.nix index cd7440f..4f01335 100644 --- a/hosts/luna/home.nix +++ b/hosts/luna/home.nix @@ -1,7 +1,4 @@ { config, lib, pkgs, inputs, user, hostname, location, secrets, ... }: -let - dotfiles = ../../dotfiles; -in { home.packages = with pkgs; [ xorg.xmodmap @@ -46,8 +43,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 |