make makefile more robust
This commit is contained in:
parent
c514c4a932
commit
7b9d922b29
2
Makefile
2
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:
|
||||
|
|
|
@ -14,7 +14,7 @@ in {
|
|||
imports = [
|
||||
hyprland.homeManagerModules.default
|
||||
./swaylock.nix
|
||||
./eww.nix
|
||||
# ./eww.nix
|
||||
./waybar.nix
|
||||
./gtk.nix
|
||||
./dunst.nix
|
||||
|
|
Loading…
Reference in a new issue