-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: channels & config.scm, add Makefile
- Loading branch information
Showing
4 changed files
with
24 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# | ||
# NOTE: Makefile's target name should not be the same as one of the file or directory in the current directory, | ||
# otherwise the target will not be executed! | ||
# | ||
|
||
|
||
deploy: | ||
sudo guix system reconfigure ./config.scm | ||
|
||
pull: | ||
echo "Pulling all channel's git repositories..." | ||
echo "Based on the gap between the current commit and the latest commit of guix's official repo, this operation may take a while..." | ||
guix pull --channels=./channels.scm | ||
guix describe --format=channels > ./channels.scm | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# guix-config | ||
|
||
My dotfiles for GNU Guix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
(cons* | ||
(list | ||
;; packages some non-free software which cannot be included in the official distribution | ||
(channel | ||
(name 'nonguix) | ||
(url "https://gitlab.com/nonguix/nonguix") | ||
(url "https://github.com/nonguix/nonguix") | ||
;; Enable signature verification: | ||
(introduction | ||
(make-channel-introduction | ||
"897c1a470da759236cc11798f4e0a5f7d4d59fbc" | ||
(openpgp-fingerprint | ||
"2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5")))) | ||
;; default guix channel(Mirror in China) | ||
;; default guix channel | ||
;; https://git.savannah.gnu.org/cgit/guix.git/refs/heads | ||
(channel | ||
(inherit (car %default-channels)) | ||
(url "https://mirror.guix.org.cn/git/guix.git"))) | ||
;; Stay on the version 1.4.0 to avoid too much update | ||
(branch "version-1.4.0"))) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters