mirror of
https://github.com/davegallant/nix-config
synced 2025-08-06 11:23:40 +00:00
Fix impurity
This commit is contained in:
5
Makefile
5
Makefile
@@ -7,11 +7,8 @@ MAKEFLAGS += --no-builtin-rules
|
||||
HOSTNAME ?= $(shell hostname)
|
||||
UNAME_S := $(shell uname -s)
|
||||
|
||||
export NIXPKGS_ALLOW_UNFREE := 1
|
||||
|
||||
ifeq ($(UNAME_S),Linux)
|
||||
SWITCH_CMD := nixos-rebuild --use-remote-sudo -I nixos-config="modules/machines/$(HOSTNAME)/configuration.nix" switch --flake '.\#' \
|
||||
--impure
|
||||
SWITCH_CMD := nixos-rebuild --use-remote-sudo -I nixos-config="modules/machines/$(HOSTNAME)/configuration.nix" switch --flake '.\#'
|
||||
endif
|
||||
ifeq ($(UNAME_S),Darwin)
|
||||
SWITCH_CMD := exec darwin-rebuild switch --flake .
|
||||
|
Reference in New Issue
Block a user