summaryrefslogtreecommitdiff
path: root/.config/guix
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2024-07-05 00:01:40 -0600
committerbd <bdunahu@operationnull.com>2024-07-05 00:01:40 -0600
commit4ea7cfcde86ed497e526f7c8c83168b1381b0d1c (patch)
tree694ef951d2a19ea8ed6a51d584ba340a1df48435 /.config/guix
parent7f5b0d8945d262d84f6d45989f186977d4b018c8 (diff)
Implement channel locking using alias guix-new
Diffstat (limited to '.config/guix')
-rw-r--r--.config/guix/channels-unlocked.scm9
-rw-r--r--.config/guix/modules/base.scm5
2 files changed, 12 insertions, 2 deletions
diff --git a/.config/guix/channels-unlocked.scm b/.config/guix/channels-unlocked.scm
new file mode 100644
index 0000000..a3006e1
--- /dev/null
+++ b/.config/guix/channels-unlocked.scm
@@ -0,0 +1,9 @@
+(list (channel
+ (name 'guix)
+ (url "https://git.savannah.gnu.org/git/guix.git")
+ (branch "master")
+ (introduction
+ (make-channel-introduction
+ "9edb3f66fd807b096b48283debdcddccfea34bad"
+ (openpgp-fingerprint
+ "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA")))))
diff --git a/.config/guix/modules/base.scm b/.config/guix/modules/base.scm
index 3463607..704f0ec 100644
--- a/.config/guix/modules/base.scm
+++ b/.config/guix/modules/base.scm
@@ -173,6 +173,7 @@
(aliases '(("cp" . "cp -i")
("grep" . "grep --color=auto")
("guix-rcfg" . "sudo guix system -L ${HOME}/.config/guix/ reconfigure ${HOME}/.config/guix/${HOSTNAME}.scm")
+ ("guix-new" . "guix pull --channels=$HOME/.config/guix/channels-unlocked.scm; guix describe --format=channels > $HOME/.config/guix/channels.scm")
("ll" . "ls -l")
("ls" . "ls -p --color=auto")
("mkd" . "mkdir -pv")
@@ -210,8 +211,8 @@ alias | sed -E \"s/^alias ([^=]+)='(.*)'$/alias \\1 \\2 \\$*/g; s/'\\\\\\''/'/g;
(host-name "192.168.1.64")
(user "bdunahu"))
(openssh-host (name "ivaldi")
- (host-name "192.168.1.98")
- (user "bdunahu"))
+ (host-name "192.168.1.250")
+ (user "root"))
(openssh-host (name "heimdallr")
(host-name "operationnull.com")
(user "root"))))))