all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Config files without corresponding program
@ 2019-03-10 17:38 mikadoZero
  2019-03-10 17:50 ` Tobias Geerinckx-Rice
  0 siblings, 1 reply; 4+ messages in thread
From: mikadoZero @ 2019-03-10 17:38 UTC (permalink / raw)
  To: Guix-devel

When I first installed Guix SD I followed the instructions in the
manual.  I modeled my system off of the example system configuration
template 'for a "bare bones" setup, with no X11 display server' from
"8.1 Using the Configuration System" of the manual.

In the home directories for both root and another user there where
configuration files that did not have a corresponding program installed.
The configuration files in question were:

.guile-wm - guile-wm
.gdbinit - gdb
.Xdefaults - xorg
.zprofile - zsh

Is there a reason why does installing Guix SD leave these configuration
files in the home directories?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Config files without corresponding program
  2019-03-10 17:38 Config files without corresponding program mikadoZero
@ 2019-03-10 17:50 ` Tobias Geerinckx-Rice
  2019-03-11  0:13   ` mikadoZero
  0 siblings, 1 reply; 4+ messages in thread
From: Tobias Geerinckx-Rice @ 2019-03-10 17:50 UTC (permalink / raw)
  To: mikadoZero; +Cc: Guix-devel

Hullo once more,

mikadoZero wrote:
> When I first installed Guix SD I followed the instructions in 
> the
> manual.  I modeled my system off of the example system 
> configuration
> template 'for a "bare bones" setup, with no X11 display server' 
> from
> "8.1 Using the Configuration System" of the manual.
>
> In the home directories for both root and another user there 
> where
> configuration files that did not have a corresponding program 
> installed.
> The configuration files in question were:
>
> guile-wm - guile-wm
> gdbinit - gdb
> Xdefaults - xorg
> zprofile - zsh
>
> Is there a reason why does installing Guix SD leave these 
> configuration
> files in the home directories?

These files are created by DEFAULT-SKELETONS in (gnu system 
shadow) to make those programmes play well with Guix, because 
there's no way to tell when or if the user will use them.  So 
everything is fine.

Kind regards,

T G-R

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Config files without corresponding program
  2019-03-10 17:50 ` Tobias Geerinckx-Rice
@ 2019-03-11  0:13   ` mikadoZero
  2019-03-12 13:04     ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: mikadoZero @ 2019-03-11  0:13 UTC (permalink / raw)
  To: Guix-devel

Tobias Geerinckx-Rice writes:

> mikadoZero wrote:
>> When I first installed Guix SD I followed the instructions in the
>> manual.  I modeled my system off of the example system configuration
>> template 'for a "bare bones" setup, with no X11 display server' from
>> "8.1 Using the Configuration System" of the manual.
>>
>> In the home directories for both root and another user there where
>> configuration files that did not have a corresponding program
>> installed.
>> The configuration files in question were:
>>
>> guile-wm - guile-wm
>> gdbinit - gdb
>> Xdefaults - xorg
>> zprofile - zsh
>>
>> Is there a reason why does installing Guix SD leave these
>> configuration
>> files in the home directories?
>
> These files are created by DEFAULT-SKELETONS in (gnu system shadow) to
> make those programmes play well with Guix, because there's no way to
> tell when or if the user will use them.  So everything is fine.

What about the scenario where someone deletes these seemingly unneeded
configuration files because they are not using the program?  I have
done this and others might as well.  Normally there are no issues with
removing unused configuration files.  Would a user then run into
problems if they later install one of these programs having previously
deleted it's special Guix configuration file? 

If so then would having the installation of these configuration files
done by the package definitions of their respective programs instead of
DEFAULT-SKELETONS solve this potential user error? 

Installation of one of these program could serve as an indicator that
the user needs it's configuration files that make the program work with
Guix.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Config files without corresponding program
  2019-03-11  0:13   ` mikadoZero
@ 2019-03-12 13:04     ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2019-03-12 13:04 UTC (permalink / raw)
  To: mikadoZero; +Cc: Guix-devel

Hi mikadoZero,

mikadoZero <mikadozero@yandex.com> skribis:

> Tobias Geerinckx-Rice writes:
>
>> mikadoZero wrote:
>>> When I first installed Guix SD I followed the instructions in the
>>> manual.  I modeled my system off of the example system configuration
>>> template 'for a "bare bones" setup, with no X11 display server' from
>>> "8.1 Using the Configuration System" of the manual.
>>>
>>> In the home directories for both root and another user there where
>>> configuration files that did not have a corresponding program
>>> installed.
>>> The configuration files in question were:
>>>
>>> guile-wm - guile-wm
>>> gdbinit - gdb
>>> Xdefaults - xorg
>>> zprofile - zsh
>>>
>>> Is there a reason why does installing Guix SD leave these
>>> configuration
>>> files in the home directories?
>>
>> These files are created by DEFAULT-SKELETONS in (gnu system shadow) to
>> make those programmes play well with Guix, because there's no way to
>> tell when or if the user will use them.  So everything is fine.
>
> What about the scenario where someone deletes these seemingly unneeded
> configuration files because they are not using the program?

That’s fine, you can delete them or modify them at will.  There are
meant mostly to help people get started.  For instance, figuring out the
right line in ~/.gdbinit to have GDB find debugging symbols would take
some reading, while here you’ll just have it work out of the box.

HTH,
Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-03-12 13:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-10 17:38 Config files without corresponding program mikadoZero
2019-03-10 17:50 ` Tobias Geerinckx-Rice
2019-03-11  0:13   ` mikadoZero
2019-03-12 13:04     ` Ludovic Courtès

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.