From 7b9d922b29527555583e1418134c71c3d0e96d93 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 19 Jun 2023 06:24:21 +0100 Subject: [PATCH] make makefile more robust --- Makefile | 2 +- home/desktop/hyprland.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d31c616c..b6f44b91 100644 --- a/Makefile +++ b/Makefile @@ -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: diff --git a/home/desktop/hyprland.nix b/home/desktop/hyprland.nix index f260b593..6d85a231 100644 --- a/home/desktop/hyprland.nix +++ b/home/desktop/hyprland.nix @@ -14,7 +14,7 @@ in { imports = [ hyprland.homeManagerModules.default ./swaylock.nix - ./eww.nix + # ./eww.nix ./waybar.nix ./gtk.nix ./dunst.nix