Move nix config up to top level of directory

This commit is contained in:
Evie Litherland-Smith 2023-05-04 12:37:53 +01:00
parent 87f84621c5
commit 3018b57334
169 changed files with 3 additions and 3 deletions

View file

@ -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

View file

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