all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andrew Tropin <andrew@trop.in>
To: Joshua Branson <jbranso@dismail.de>
Cc: guix-devel <guix-devel@gnu.org>, Xinglu Chen <public@yoctocell.xyz>
Subject: Re: Early feedback on Guix Home
Date: Fri, 25 Jun 2021 10:17:39 +0300	[thread overview]
Message-ID: <87im22h0q4.fsf@trop.in> (raw)
In-Reply-To: <87sg16vawo.fsf@dismail.de>

Joshua Branson <jbranso@dismail.de> writes:

> Andrew Tropin <andrew@trop.in> writes:
>
>> jbranso@dismail.de writes:
>>> $ guix pull
>>>
>>> I suppose for now I will use Ludo's suggestion:
>>>
>>>   git clone https://git.sr.ht/~abcdw/rde
>>>   guix git authenticate \
>>>     "257cebd587b66e4d865b3537a9a88cccd7107c95" \
>>>     "2841 9AC6 5038 7440 C7E9  2FFA 2208 D209 58C1 DEB0" \
>>>     -k origin/keyring
>>>   ./pre-inst-env guix home reconfigure /path/to/home-config.scm
>>>
>>> Failed to execute process './pre-inst-env'. Reason:
>>> exec: Exec format error
>>> The file './pre-inst-env' is marked as an executable but could not be run by the operating system.
>>
>> It should work if you have a POSIX-compatible shell, but I also added
>> shebang to be sure that /bin/sh used.  Do git pull inside repository dir
>> and try again.  `./pre-inst-env guix home --help`
>>
>> Let me know if it still fails.
>
> Totally works now.  I was using the fish shell...and I don't believe
> the fish shell is a POSIX compatible shell.  :) Works fine in bash.
>
> Also thanks for the tips in my initial config!
>
> And I really like the home-keyboard-service-type,
> home-files-service-type, and home-state-service-type!

I do care about multi-input-method setups, so it is one of the earliest
home services, also in rde features I provide emacs-input-method
feature, which I find quite useful too:
https://git.sr.ht/~abcdw/rde/tree/262c7fb2db7454fdf4f67bbc53ec0c0306a8fbaf/item/rde/features/emacs.scm#L238

> I've got a lot of
> git repos.  It takes me forever to clone those.  Do you know if
> home-state-service type will help me to automate something like
>
> Git repo "programming" goes here:  /home/joshua/prog/
>
> and git repo "cheatsheets" goes here: /home/joshua/prog/cheatsheets/
>
> and git repo "guix-config" goes here: /home/joshua/prog/gnu/guix/guix-config/
>
> and git repo "guix-src" goes here: /home/joshua/prog/gnu/guix/guix-src/
>
> and git repo "guile" goes here: /home/joshua/prog/guile/
>
> and git repr "gnucode.me" goes here: /home/joshua/prog/guile/gnucode.me

Yes, home-state-service perfectly covers this use case, however I do not
recommend to use it, because probably I'll refactor it quite hard sooner
or later.  For now you can consider it to be in alpha state.  Usage
example is here:
https://git.sr.ht/~abcdw/rde/tree/262c7fb2db7454fdf4f67bbc53ec0c0306a8fbaf/item/rde/config.scm#L436

>
> I don't that you are curious, but if you are my git repos are on
> notabug.org/jbranso.

Probably I need to add Guix Home configs collection section to rde repo
README to make it easier for people to explore other's configurations)

> Thanks!  And thanks so much for working on this!  And thanks to Ludo for
> testing it!
>
> --
> Joshua Branson (joshuaBPMan in #guix)
> Sent from Emacs and Gnus
>   https://gnucode.me
>   https://video.hardlimit.com/accounts/joshua_branson/video-channels
>   https://propernaming.org
>   "You can have whatever you want, as long as you help
> enough other people get what they want." - Zig Ziglar


  reply	other threads:[~2021-06-25  7:18 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-23 13:15 Early feedback on Guix Home Ludovic Courtès
2021-06-24  5:40 ` Andrew Tropin
2021-06-29 10:25   ` Ludovic Courtès
2021-06-24  8:14 ` Xinglu Chen
2021-06-24 15:18   ` Andrew Tropin
2021-06-29 10:33   ` Ludovic Courtès
2021-06-30  6:10     ` Andrew Tropin
2021-07-10 14:18       ` Ludovic Courtès
2021-07-20 11:01         ` Andrew Tropin
2021-07-04 13:21     ` Xinglu Chen
2021-06-24 16:50 ` jbranso
2021-06-24 17:42   ` Andrew Tropin
2021-06-24 18:42     ` Leo Prikler
2021-06-25  7:03       ` Andrew Tropin
2021-06-25  4:13     ` Joshua Branson
2021-06-25  7:17       ` Andrew Tropin [this message]
2021-06-25 18:08         ` Early feedback on Guix Home and a basic almost complete sway service Joshua Branson
2021-06-30  6:03           ` Andrew Tropin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87im22h0q4.fsf@trop.in \
    --to=andrew@trop.in \
    --cc=guix-devel@gnu.org \
    --cc=jbranso@dismail.de \
    --cc=public@yoctocell.xyz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.