I need to start configuring guix home but I'm afraid I will do it wrong :(
Conversation
Notices
-
Ekaitz Zárraga 👹 (ekaitz_zarraga@mastodon.social)'s status on Saturday, 22-Apr-2023 21:04:10 CEST Ekaitz Zárraga 👹
-
Ekaitz Zárraga 👹 (ekaitz_zarraga@mastodon.social)'s status on Saturday, 22-Apr-2023 21:17:50 CEST Ekaitz Zárraga 👹
I need to hire @daviwil as a mentor LOL
I hate configuring things, i don't know how you do it, honestly.
-
Ekaitz Zárraga 👹 (ekaitz_zarraga@mastodon.social)'s status on Saturday, 22-Apr-2023 21:18:44 CEST Ekaitz Zárraga 👹
@thrrgilag yeah but I need this computer for work and stuff. I can't really screw up during a long time :)
-
Morgan McMillian :fedora: (thrrgilag@fosstodon.org)'s status on Saturday, 22-Apr-2023 21:18:45 CEST Morgan McMillian :fedora:
@ekaitz_zarraga isn't that the best way to learn how to do it right?
NOTE: I've never used guix so I really don't have a know
-
Ludovic Courtès (civodul@toot.aquilenet.fr)'s status on Saturday, 22-Apr-2023 21:29:14 CEST Ludovic Courtès
@ekaitz_zarraga It’s pretty incremental: you start with what ‘guix home import’ gives you and then you can gradually migrate your config from “old-style dot files” to Home services.
@daviwil made excellent (as always!) talks and tutorials, such as the one at FOSDEM:
https://fosdem.org/2023/schedule/event/guixhome/ -
Ekaitz Zárraga 👹 (ekaitz_zarraga@mastodon.social)'s status on Saturday, 22-Apr-2023 21:29:14 CEST Ekaitz Zárraga 👹
-
David Wilson (daviwil@fosstodon.org)'s status on Saturday, 22-Apr-2023 21:41:06 CEST David Wilson
@ekaitz_zarraga @civodul also not very easy to totally break your home with it, Guix Home keeps backups of all the files that it overwrites, plus generations. Pretty safe!
-
Ekaitz Zárraga 👹 (ekaitz_zarraga@mastodon.social)'s status on Saturday, 22-Apr-2023 21:41:06 CEST Ekaitz Zárraga 👹
@daviwil @civodul okay you are making me try... Let's give a go to the guix home import and see what it does!
Currently I have a stow config and it's reliable... and the good thing is I can use it in other non-guix machines but I don't really use any other machine ever so why bother -
Ekaitz Zárraga 👹 (ekaitz_zarraga@mastodon.social)'s status on Saturday, 22-Apr-2023 22:03:03 CEST Ekaitz Zárraga 👹
@civodul @daviwil Ok I'm giving this a go. It's calculating things and all that... it doesn't bother you the fact that everything is calculated and probably some packages are going to be installed if you just change an alias?
-
w96k (w96k@fosstodon.org)'s status on Saturday, 22-Apr-2023 23:28:04 CEST w96k
@ekaitz_zarraga @daviwil @civodul you can also try rde, which provides ready to use home configuration.
-
Ekaitz Zárraga 👹 (ekaitz_zarraga@mastodon.social)'s status on Saturday, 22-Apr-2023 23:28:04 CEST Ekaitz Zárraga 👹
@w96k @daviwil @civodul i know it but I don't want to add too many stuff here because I always have problems to manage it...
The aliases I just imported are failing so imagine :( -
Ekaitz Zárraga 👹 (ekaitz_zarraga@mastodon.social)'s status on Saturday, 22-Apr-2023 23:30:08 CEST Ekaitz Zárraga 👹
@w96k @daviwil @civodul this btw means the importer is failing :)
-
Ekaitz Zárraga 👹 (ekaitz_zarraga@mastodon.social)'s status on Saturday, 22-Apr-2023 23:35:00 CEST Ekaitz Zárraga 👹
@w96k @daviwil @civodul Oh boy! there's an issue with the quotations in the aliases.
It imported some quotes literally so it's breaking the generated aliases:alias X='balbasdfas "asfsl" asdf'
is imported as:
("X" . "balbasdfas \"asfsl\" asdf")
And this is certainly wrong!
-
w96k (w96k@fosstodon.org)'s status on Saturday, 22-Apr-2023 23:36:17 CEST w96k
@ekaitz_zarraga @thrrgilag I use rde alongside another distribution. It runs isolated on second tty, so I can switch to my semi-proprietary work stuff on tty1 and then switch to libre environment on tty2.
Also what is great, I can run software installed using apt in environment managed by guix, so I gain access to mainstream work software that way without losing features that guix provides.
Potentially I think it can affect the system, but for my case everything went smoothly.
-
Ekaitz Zárraga 👹 (ekaitz_zarraga@mastodon.social)'s status on Sunday, 23-Apr-2023 21:41:31 CEST Ekaitz Zárraga 👹
@civodul @daviwil @w96k It is wrong because it dumps the result as:
alias X="balbasdfas "asfsl" asdf"
which is a malformed line.
If it has single quotes the quoting has to be adjusted for later. Just rewriting double quotes to \" is a good guess, taking in account we are going to dump the strings as double quoted ones later. -
Ludovic Courtès (civodul@toot.aquilenet.fr)'s status on Sunday, 23-Apr-2023 21:41:32 CEST Ludovic Courtès
@ekaitz_zarraga Dunno, why is it wrong?
In some cases you may want to use ‘literal-string’, but I’m not sure ‘guix home import’ can really guess:
https://guix.gnu.org/manual/devel/en/html_node/Essential-Home-Services.html#index-literal_002dstring -
Ekaitz Zárraga 👹 (ekaitz_zarraga@mastodon.social)'s status on Sunday, 23-Apr-2023 22:30:14 CEST Ekaitz Zárraga 👹
@civodul @daviwil @w96k I even have a patch to fix this but I'm missing something and it doesn't work for some reason 😢
-
Ekaitz Zárraga 👹 (ekaitz_zarraga@mastodon.social)'s status on Sunday, 23-Apr-2023 22:53:34 CEST Ekaitz Zárraga 👹
@civodul One of the things I don't really like developing Guix internals is I don't really know how to test stuff properly yet...
-
Ekaitz Zárraga 👹 (ekaitz_zarraga@mastodon.social)'s status on Monday, 24-Apr-2023 11:39:51 CEST Ekaitz Zárraga 👹
@civodul I don't understand your example there LOL
:)
-
Ludovic Courtès (civodul@toot.aquilenet.fr)'s status on Monday, 24-Apr-2023 11:39:52 CEST Ludovic Courtès
@ekaitz_zarraga Oh, got it! I was so confident that this had already been addressed that it didn’t occur to me… reported:
https://issues.guix.gnu.org/63048
-