summaryrefslogtreecommitdiff
path: root/home-configuration.scm
diff options
context:
space:
mode:
authorMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-10-31 01:41:44 +0100
committerMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-10-31 01:41:44 +0100
commita9f7c4186e3db26518b7ae6f3af9536ac4658c45 (patch)
treeefbce5c7b915ca62e480608d03c17cf1997359f5 /home-configuration.scm
parent2c7f501dc575657769a8f0e467ad06742e316733 (diff)
Home configuration: break out guix-system and system-configuration
Diffstat (limited to 'home-configuration.scm')
-rw-r--r--home-configuration.scm10
1 files changed, 8 insertions, 2 deletions
diff --git a/home-configuration.scm b/home-configuration.scm
index a6d3384..f72d63c 100644
--- a/home-configuration.scm
+++ b/home-configuration.scm
@@ -35,10 +35,16 @@
(string-append reconfigure-home
"--allow-downgrades"))
+(define guix-system
+ "sudo guix system reconfigure ")
+
+(define system-configuration
+ "system-configuration.scm")
+
(define reconfigure-system
- (string-append "sudo guix system reconfigure "
+ (string-append guix-system
config-prefix
- "system-configuration.scm"))
+ system-configuration))
(define reconfigure-system-
(string-append reconfigure-system