help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DragonFlyBSD


From: Lele Gaifax
Subject: Re: DragonFlyBSD
Date: Wed, 02 Mar 2022 08:19:48 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Emanuel Berg via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> writes:

> Thanks, but say I want what I use now, which is
>
>   Emacs
>   feh
>   mpv
>   openbsd-cwm
>   picom
>   rtorrent
>   tmux
>   xpdf
>   xterm
>   zsh
>
> how do I put that in a configuration text file and issue
> a command to boot the system into a state that includes what
> I have specified, if that's how it works?
>

This is an example of such configuration, that governs my whole laptop,
running NixOS:

  https://gitlab.com/lelix/lenof-nixos-configuration/-/blob/master/packages.nix

It basically configure a system with a set of "global" packages and another
one specific for my own account. Changing that list and issuing a
"nix-rebuild boot" creates a new "generation" of the system, that will be
activated at next reboot, while keeping the previous ones still available,
until an explicit "nix-collect-garbage". 

As a bonus, nix (the-language) is available also on any GNU/Linux system and
even on macOS.

ciao, lele.
-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele@metapensiero.it  |                 -- Fortunato Depero, 1929.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]