~ruther/guix-config

ref: 5bb5c3d448473e22b5d1b02372c330b70b75426b guix-config/Makefile -rw-r--r-- 1003 bytes
5bb5c3d4 — Rutherther feat: add sequence detector, mpris ctl to wm packages 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
.PHONY: system-reconfigure system-vm system-container system-build pull home-reconfigure home-vm home-container home-build

SYSTEM_ARGS = -L ./modules ./config.scm
HOME_ARGS = -L ./home/modules ./home/home-configuration.scm
TIMEMACHINE = guix time-machine -C channels-lock.scm

system-build: channels-lock.scm
	$(TIMEMACHINE) -- system build $(SYSTEM_ARGS)

system-reconfigure: channels-lock.scm
	$(TIMEMACHINE) -- system reconfigure $(SYSTEM_ARGS)

system-vm: channels-lock.scm
	$(TIMEMACHINE) -- system vm $(SYSTEM_ARGS)

system-container: channels-lock.scm
	$(TIMEMACHINE) -- system container $(SYSTEM_ARGS)

home-build: channels-lock.scm
	$(TIMEMACHINE) -- home build $(HOME_ARGS)

home-reconfigure: channels-lock.scm
	$(TIMEMACHINE) -- home reconfigure $(HOME_ARGS)

home-container: channels-lock.scm
	$(TIMEMACHINE) -- home container $(HOME_ARGS)

channels-lock.scm: channels.scm
	$(TIMEMACHINE) -- describe -f channels > channels-lock.scm

pull: channels-lock.scm
	guix pull -C channels-lock.scm
Do not follow this link