Re: Guix Home Entertainment SoC Media Server?

2022-01-07 Thread Leo Famulari
On Fri, Jan 07, 2022 at 04:06:56PM +0700, Blake Shaw wrote:
> I just got a TV and want to put together a little SoC home media server for
> it (perhaps with beaglebone black, as that appears to be the recommended
> SoC for Guix). Has anyone had any experience with this? Thoughts?
> I figure it could be a fun use of `Guix Deploy`, but I've never put
> together a SoC media server before, so I'm not sure what packages to
> peek at, or what "out of the box" (re: raspbian etc) options are
> available.

I think this would be a great project for Guix. It's something that Guix
should be really good at, once all the wrinkles are ironed out.

Although the BeagleBone Black is a very nice computer in many way, I do
recommend against it for Guix System because our build farm support for
its CPU architecture (armhf) is currently sub-par. And the BBB's CPU is
optimized for low-power use, so building packages on it will be slow.

I would search for a 64-bit ARM computer. That is, the "aarch64" CPU
architecture. We have better build farm support and it will probably
continue to improve.



Re: GNU Guix maintainer rotation

2022-01-07 Thread Leo Famulari
On Thu, Jan 06, 2022 at 03:22:51PM -0500, Maxim Cournoyer wrote:
> Hello Guix!
> 
> I'd like to bring your attention to a change to the current Guix
> maintainers collective; in a nutshell, Ludovic and Marius are stepping
> down from maintainer-ship while Efraim is joining.

Thank you Ludovic and Marius, for all you've done for Guix and the world
of free software.

And welcome to your new role Efraim! I can't think of somebody that is
better suited for it.



Re: i18n guix module error when opening shell after guix home reconfigure

2022-01-07 Thread Jelle Licht


Hello Roland,

Sad prefix: I don't have a solution for you, nor am I a guix home
expert, but I can confirm that I also run into the issue. 

On my VM, I actually used an almost-default bash configuration, but run
into the very same issue.

Roland Everaert via  writes:

> Hello,
>
> First, happy new year and best wishes for this year.
>
> I have updated my guix home configuration to use my zsh config instead of a 
> blank bash configuration.
>
> Unfortunatelly, when I logout and login again, I face the following errors:
> -
> Backtrace:
> 9 (primitive-load "/home/roland/.guix-home/on-first-login")
> In ice-9/eval.scm:
> 721:20 8 (primitive-eval (begin (use-modules (guix i18n)) (# …) …))
> In ice-9/psyntax.scm:
> 1230:36 7 (expand-top-sequence ((begin (use-modules (guix …)) …)) …)
> 1090:25 6 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …)
> 1222:19 5 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …)
> 259:10 4 (parse _ (("placeholder" placeholder)) (()) _ c (eval) …)
> In ice-9/boot-9.scm:
> 3927:20 3 (process-use-modules _)
> 222:17 2 (map1 (((guix i18n
> 3928:31 1 (_ ((guix i18n)))
> 3329:6 0 (resolve-interface (guix i18n) #:select _ #:hide _ # _ # …)
>
> ice-9/boot-9.scm:3329:6: In procedure resolve-interface:
> no code for module (guix i18n)

It seems that my $HOME/.guix-home/on-first-login assumes that guix's
guile modules are available to the guile interpreter that is listed in
the shebang;

> -
>
> However, the command guix home reconfigure home-config.scm does not generate 
> any error, so I don't understand why guix complain about a missing module 
> related to internationalization.

>
> I am using guix, the package manager, on a Fedora 34 distribution.
>
> Below is my home-config.scm file content:
>
> -
> (use-modules (gnu home)
> (gnu home services)
> (gnu home services shells)
> (gnu services)
> (gnu packages admin)
> (gnu packages python-xyz)
> (gnu packages password-utils)
> (gnu packages dunst)
> (gnu packages disk)
> (gnu packages backup)
> (gnu packages libreoffice)
> (gnu packages guile)
> (gnu packages xdisorg)
> (gnu packages tls)
> (gnu packages vpn)
> (gnu packages terminals)
> (guix gexp))
>
> (home-environment
> (packages (list htop glances password-store dunst ranger restic hunspell
> ;; hunspell-dict-fr hunspell-dict-en
> ;; guile
> neofetch xdotool openssl openvpn xscreensaver alacritty))
> (services
> (list
> (service home-zsh-service-type
> (home-zsh-configuration
> (xdg-flavor? #t)
> (zshrc (list (local-file "zshrc"
> -
>
> Any idea what might cause such trouble?


If you are not worried about temporarily running some older software,
could you try and see if running:

--8<---cut here---start->8---
guix time-machine --commit=2719dfa631 -- home reconfigure your-home-config.scm
--8<---cut here---end--->8---

works for you? This will get guix to use an older copy of itself to
build and 'install' your home environment.

Thanks!
 - Jelle



Re: Guix Home Entertainment SoC Media Server?

2022-01-07 Thread Blake Shaw
Edouard Klein  writes:

thanks Edouard! I will definitely update this thread with my progress :) 
-- 
“In girum imus nocte et consumimur igni”



Re: How to run a program from an old generation?

2022-01-07 Thread Wiktor Żelazny
On Thu, Jan 06, 2022 at 11:29:09AM +0100, Γυψ wrote:

> Is there an option to run a program in a specific generation without
> completely switching to it?

Hi Alex,

How about combining time machine with profiles?:

   guix time-machine --channels=(...) -- package --manifest=(...) 
--profile=(...)

Then, you can load the generated profile.

Have a nice weekend,

WŻ


signature.asc
Description: PGP signature


How to run a program from an old generation?

2022-01-07 Thread Γυψ
Dear all,

I currently have an issue with nextcloud-client segfaulting in the
current guix environment. Until this is fixed an option were to switch
to the old generation where it still worked, start it and switch back to
the current generation.  Is there an option to run a program in a
specific generation without completely switching to it? I didn't found
any so far.  I know that's a real hack but at least that way I could
have my files synchronized without too much effort until the bug is
fixed.

Another question I have is: can I install version 3.1.3 of
nextcloud-client in the current environment (without switching back to
some old commit)? When I try to do so, I get

> guix install: error: nextcloud-client: package not found for version 3.1.3

because version 3.1.3 was replaced by 3.2.0.

Cheers (and a happy new year!)

Alex



Re: How to run a program from an old generation?

2022-01-07 Thread Γυψ
The issue of nextcloud is a known issue in version 3.2 and seems to be
resolved in 3.3. A workaround (removing cache, etc.) can be found here

https://github.com/NixOS/nixpkgs/issues/119029
https://github.com/NixOS/nixpkgs/issues/121594

The more general questions below might still be interesting.

Cheers,
Alex


On Thu, Jan 06 2022, 11:29:09, Γυψ  wrote:

> Dear all,
>
> I currently have an issue with nextcloud-client segfaulting in the
> current guix environment. Until this is fixed an option were to switch
> to the old generation where it still worked, start it and switch back to
> the current generation.  Is there an option to run a program in a
> specific generation without completely switching to it? I didn't found
> any so far.  I know that's a real hack but at least that way I could
> have my files synchronized without too much effort until the bug is
> fixed.
>
> Another question I have is: can I install version 3.1.3 of
> nextcloud-client in the current environment (without switching back to
> some old commit)? When I try to do so, I get
>
>> guix install: error: nextcloud-client: package not found for version 3.1.3
>
> because version 3.1.3 was replaced by 3.2.0.
>
> Cheers (and a happy new year!)
>
> Alex



signature.asc
Description: PGP signature


Re: GNU Guix maintainer rotation

2022-01-07 Thread Katherine Cox-Buday
Maxim Cournoyer  writes:

> I'd like to bring your attention to a change to the current Guix
> maintainers collective; in a nutshell, Ludovic and Marius are stepping
> down from maintainer-ship while Efraim is joining.

Thank you very much for your guidance, support, and hard work, Ludovic and 
Marius. Likewise, Efraim, thank you for your contributions, and for stepping up!

-- 
Katherine



Re: Guix Home Entertainment SoC Media Server?

2022-01-07 Thread Edouard Klein
Hi !

It depends on how easy and integrated you want your experience to be ;)

The raspberry pi is classic SoC to use for such a purpose, there are a
lot of software and guides that you can use and take inspiration from
for your project.

In particular, the Retro-pi project will let you play classic games on a
raspberry pi, and Kodi is a nice integrated media center distribution.

Sadly:
- the raspberry pi still uses some proprietary components that GNU Guix
can not take into account (yet ?)
- some features, especially games, are closed-source, so outside of the
scope of GNU Guix.

My advice would be to look at what people are doing on raspberry pies,
and replicate what you need.

>From a purely function over form perspective, I think you can replicate
90% of the features of Kodi with VLC. It can do streaming, can read any
media format, and is globally awesome.

Also take a look at https://gitlab.com/guix-gaming-channels/games for
(sadly closed source, but what can you do ?) integrating video games in
your Guix setup.

Please post somewhere about what you do, this is an itch I intend to
scratch someday and I'll be happy to read about your efforts,

Happy hacking :)

Edouard.

Blake Shaw  writes:

> Hiya Guix!
>
> I just got a TV and want to put together a little SoC home media server for
> it (perhaps with beaglebone black, as that appears to be the recommended
> SoC for Guix). Has anyone had any experience with this? Thoughts?
> I figure it could be a fun use of `Guix Deploy`, but I've never put
> together a SoC media server before, so I'm not sure what packages to
> peek at, or what "out of the box" (re: raspbian etc) options are
> available.
>
> Seems like this could be some cool shoes for Guix to fill!
>
> ez,
> blake




Guix Home Entertainment SoC Media Server?

2022-01-07 Thread Blake Shaw
Hiya Guix!

I just got a TV and want to put together a little SoC home media server for
it (perhaps with beaglebone black, as that appears to be the recommended
SoC for Guix). Has anyone had any experience with this? Thoughts?
I figure it could be a fun use of `Guix Deploy`, but I've never put
together a SoC media server before, so I'm not sure what packages to
peek at, or what "out of the box" (re: raspbian etc) options are
available.

Seems like this could be some cool shoes for Guix to fill!

ez,
blake