Move nix config up to top level of directory
This commit is contained in:
parent
87f84621c5
commit
3018b57334
6
Makefile
6
Makefile
|
@ -1,10 +1,10 @@
|
|||
$(eval HOSTNAME=$(shell hostname))
|
||||
NIXOS_CONFIG := $(PWD)/nixos/$(HOSTNAME).nix
|
||||
HOMEMANAGER_CONFIG := $(PWD)/nixos/home/$(HOSTNAME)-$(USER).nix
|
||||
NIXOS_CONFIG := $(PWD)/$(HOSTNAME).nix
|
||||
HOMEMANAGER_CONFIG := $(PWD)/home/$(HOSTNAME)-$(USER).nix
|
||||
CONFIG_DIR := $(if $(XDG_CONFIG_HOME), $(XDG_CONFIG_HOME), $(HOME)/.config)
|
||||
HOMEMANAGER_CONFIG_DIR := $(CONFIG_DIR)/home-manager
|
||||
|
||||
.PHONY: default all clean home nixos install test
|
||||
.PHONY: default all clean nixos home
|
||||
|
||||
default:
|
||||
[ -e /etc/nixos/ ] && make nixos || make home
|
||||
|
|
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 1.7 MiB |
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue