Guix home - 'pinning' ?

2023-06-11 Thread jordila
Hi Guixers

when using guix-home, is there a way to pin a given package to its  current 
version, so that it stays as it is despite 'guix pull'     bringing new commits 
?

Thanks, thanks, thanks

F


herd service "conflicts / will not be respawned" issue ?

2022-12-15 Thread jordila
Hi guixers !

   I'm learning the guix (in general) and the herd  (in particular) sorcery... 
xDD .
Okey, i've setup Syncthing as a herd service, in my /etc/configuration.scm file 
. See below the relevant parts of the file :

;; Indicate which modules to import to access the variables
;; used in this configuration.
(use-modules (gnu) (nongnu packages linux))
(use-service-modules cups desktop networking ssh xorg syncthing)

(operating-system

 [ OMMITED .. there is MOREE STUFF HERE... ;-) ]

  ;; Below is the list of system services.  To search for available
  ;; services, run 'guix system search KEYWORD' in a terminal.
  (services
   (append (list
        
 ;; To configure OpenSSH, pass an 'openssh-configuration'
    ;; record as a second argument to 'service' below.
    (service openssh-service-type)
 (service xfce-desktop-service-type)
 (set-xorg-configuration
  (xorg-configuration (keyboard-layout keyboard-layout)))

      (service syncthing-service-type
  (syncthing-configuration (user "fenix"



Okey, Syncthing is running fine (as i can see it doing his job ! )... What now 
is confusing to me is the following reporting :

fenix@rigel ~/latj_hugo$ sudo herd status syncthing-fenix
Status of syncthing-fenix:
  It is started.
  Running value is 376.
  It is enabled.
  Provides (syncthing-fenix).
  Requires (loopback).
  Conflicts with ().
  Will not be respawned.
fenix@rigel ~/latj_hugo$

What am i missing ?

Thanks, Thanks, Thanks

F

 


Problem with 'guix system reconfigure ... ' ?

2022-11-14 Thread jordila
heya guixers ! i have a problem: while trying to 'guix system reconfigure 
/etc/config.scm' (see attached file)  in order to switch from Linux-libre to 
Linux Kernel.

Guix says : "guix system: error: failed to load
    '/etc/config.scm':  ice-9/boot-9.scm:3330:6: In procedure 
resolve-interface: no code formodule (nongnu packages linux)" .

NOTE : i have both guix and nonguix channels enabled

What am i missing ? Thanks, thanks, thanks !

Fenix
 
;; This is an operating system configuration generated
;; by the graphical installer.
;;
;; Once installation is complete, you can learn and modify
;; this file to tweak the system configuration, and pass it
;; to the 'guix system reconfigure' command to effect your
;; changes.


;; Indicate which modules to import to access the variables
;; used in this configuration.
(use-modules (gnu) (nongnu packages linux))
(use-service-modules cups desktop networking ssh xorg syncthing)

(operating-system
 (kernel linux)
 (firmware (list linux-firmware))
  (locale "en_US.utf8")
  (timezone "Europe/Andorra")
  (keyboard-layout (keyboard-layout "es" "cat"))
  (host-name "rigel")

;;(hosts-file (local-file (string-append %current-directory "my-hosts-file")))
  ;;  (hosts-file (local-file "/etc/my-hosts"))
  ;; hosts list - see .config/ssh/config 
  (hosts-file
  (plain-file "hosts"
   (string-append
"127.0.0.1 locahost rigel\n"

		;; T420 - YunoHost
"192.168.1.121	librebits.noho.st\n"

		;; DigitalOcean VPS
		"64.225.79.195 	sirio\n"

		;; Netcup VPS s
		;; ssh port 22->119 :
		"5.45.110.193	proximacentauri\n"
		"45.79.250.66	gaminedes\n"

		;; Linode VPS
		"188.68.35.39	jupiter\n"

		;; Gandi
		"185.26.126.77	asterix\n"

;;"127.0.0.1 guile.web.server.com guile.web.com www.date.com date.com\n"
;;%other-hosts-file-lines
"::1 localhost rigel"
)))
  

  ;; The list of user accounts ('root' is implicit).
  (users (cons* (user-account
  (name "fenix")
  (comment "Fenix")
  (group "users")
  (home-directory "/home/fenix")
  (supplementary-groups '("wheel" "netdev" "audio" "video")))
%base-user-accounts))

  (sudoers-file (plain-file "sudoers" "\
root ALL=(ALL) ALL
%wheel ALL=NOPASSWD: ALL\n"))

  
  (packages (append (list (specification->package "i3-wm")
  (specification->package "i3status")
  (specification->package "dmenu")
  (specification->package "st")
  (specification->package "emacs")
  (specification->package "emacs-exwm")
  (specification->package
   "emacs-desktop-environment")
  (specification->package "nss-certs"))
%base-packages))

  ;; Below is the list of system services.  To search for available
  ;; services, run 'guix system search KEYWORD' in a terminal.
  (services
   (append (list 
		 
 ;; To configure OpenSSH, pass an 'openssh-configuration'
	;; record as a second argument to 'service' below.
	(service openssh-service-type)
 (service xfce-desktop-service-type)
 (set-xorg-configuration
  (xorg-configuration (keyboard-layout keyboard-layout)))

	  (service syncthing-service-type
  (syncthing-configuration (user "fenix"

  

   ;; This is the default list of services we
   ;; are appending to.
   %desktop-services))
  (bootloader (bootloader-configuration
(bootloader grub-efi-bootloader)
(targets (list "/boot/efi"))
(keyboard-layout keyboard-layout)))
  (swap-devices (list (swap-space
(target (uuid
 "576eb296-39c9-4cea-aa10-0674ff281382")

  ;; The list of file systems that get "mounted".  The unique
  ;; file system identifiers there ("UUIDs") can be obtained
  ;; by running 'blkid' in a terminal.
  (file-systems (cons* (file-system
 (mount-point "/boot/efi")
 (device (uuid "DAE3-ED7E"
   'fat32))
 (type "vfat"))
   (file-system
 (mount-point "/")
 (device (uuid
  "dce12d68-4bb7-453e-82ad-0dc8e8c079e0"
  'ext4))
 (type "ext4")) %base-file-systems)))


Installation failed : "cannot build derivation" error and "Guix system: error: build of [..]"

2022-10-12 Thread jordila
Hello Guixers !

My installation process is failing at very last stage of the graphical 
installer, see the error message shown below :



What am i missing ?

Thanks, thanks, thanks

Fenix