make makefile more robust

This commit is contained in:
Evie Litherland-Smith 2023-06-19 06:24:21 +01:00
parent c514c4a932
commit 7b9d922b29
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ HOMEMANAGER_CONFIG_DIR := $(CONFIG_DIR)/home-manager
default: nvim
command -v nix > /dev/null || exit 1
[ -e /etc/nixos/ ] && make nixos || make home
if [ -e /etc/nixos/ ]; then make nixos; else make home; fi
bat cache --build
clean:

View file

@ -14,7 +14,7 @@ in {
imports = [
hyprland.homeManagerModules.default
./swaylock.nix
./eww.nix
# ./eww.nix
./waybar.nix
./gtk.nix
./dunst.nix