Hi Noé,

thanks very much for the hint,

now I managed to run: sudo guix system reconfigure /etc/config.scm


in my config.scm I changed the folder:
into:  path = /home/gfp/public


(service samba-service-type (samba-configuration
                             (enable-smbd? #t)
                             (config-file (plain-file "smb.conf" "\
        [global]
        map to guest = Bad User
        logging = syslog@1

        [public]
        browsable = yes
        path = /home/gfp/public
        read only = no
        guest ok = yes
        guest only = yes\n")))))

I don´t know if that is ok.

In opening my virtual machine, and looking for the shared folder in Trisquel it can´t find a shared folder.

network
smb:tuxedo.local
Tuxedo                  Tuxedo: that is the name of my laptop
no shared folders found

My question: what else do I have to do in Guix?
Or do I have to do something in the VM, in Trisquel ?

thanks

Gottfried




Am 23.03.25 um 00:46 schrieb Noé Lopez:
Hi,

This error means that the module containing “samba-service-type” is not
included in your configuration file (in use-modules or
use-service-modules).

The samba-service-type variable is declared in “gnu/services/samba.scm”,
you can know this in the output of “guix system search samba” for
example.

It would look like either (at the top of your file):
(use-modules ...
              (gnu services samba))
Or:
(use-service-modules ... samba)

Have a nice day,
Noé



Attachment: OpenPGP_0xD9E413C6C4BB32CE.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to