add desktop entry to flake, disable bspwm follow mouse and add --impure flag to commands in makefile

This commit is contained in:
2024-10-17 19:05:53 +02:00
parent d655ae76ad
commit 59348a96ac
4 changed files with 19 additions and 7 deletions

View File

@ -3,6 +3,8 @@ THREADS ?= $(shell nproc)
FLAKE ?= /home/tom/home
MODE = switch
FLAGS = --impure --cores $(THREADS) -j $(THREADS)
all: os home
update:
@ -10,6 +12,6 @@ update:
$(MAKE) all
os:
sudo nixos-rebuild $(MODE) --cores $(THREADS) -j $(THREADS) --flake $(FLAKE)#$(HOST)
sudo nixos-rebuild $(MODE) $(FLAGS) --flake $(FLAKE)#$(HOST)
home :
home-manager $(MODE) --cores $(THREADS) -j $(THREADS) --flake $(FLAKE)#$(HOST)
home-manager $(MODE) $(FLAGS) --flake $(FLAKE)#$(HOST)