From ee8fac8ab8529e2d105c7e55c2c9b28aefd19b46 Mon Sep 17 00:00:00 2001 From: "W. Kosior" Date: Mon, 27 May 2024 12:19:19 +0200 Subject: Update and add remaining files. --- abdul-blog/learning-guix-home.gmi | 49 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 abdul-blog/learning-guix-home.gmi (limited to 'abdul-blog/learning-guix-home.gmi') diff --git a/abdul-blog/learning-guix-home.gmi b/abdul-blog/learning-guix-home.gmi new file mode 100644 index 0000000..ca3c98c --- /dev/null +++ b/abdul-blog/learning-guix-home.gmi @@ -0,0 +1,49 @@ +# Learning Guix Home + +Today I just learnt to use + +``` +guix home +``` + +command to reconfigure my home environment with functional package manager in Guix. I written this script on my UNIX Tilde account. + +``` +(use-modules ((gnu home) #:select (home-environment)) + ((gnu home services) #:select + (home-files-service-type service)) + ((gnu home services shells) #:select + (home-bash-configuration home-bash-service-type)) + ((gnu system shadow) #:select (%default-dotguile)) + ((guix gexp) #:select (file-append gexp local-file plain-file))) + +(home-environment + (services + (list + (service home-bash-service-type + (home-bash-configuration + (bash-profile (list (plain-file + "bash_ps1" + "export PS1=\"\nā†“ā† $PS1\nā†’ \""))))) + + (service home-files-service-type + `((".guile" ,%default-dotguile)))))) +``` + +I written it in home-config.scm and then I run + +``` +guix home reconfigure home-config.scm +``` + +Now I having better bash shell which taking less characters, so I can write more command in one line. +## Mine currently working +I am currently working to serving Minetest Server on Tilde Server. I installed it by + +``` +guix shell minetest +``` + +and I will to write about in mine next blog post. + +=> /~abdul/index.gmi back into blog index -- cgit v1.2.3