Hi,
I'm testing guix system image with the attachend config, and I get
this error:
/mnt/root/man.config.scm:35:14: warning: the 'target' field is
deprecated, please use 'targets' instead
guix system: warning: Consider running 'guix pull' followed by
'guix system reconfigure' to get up-to-date packages and security updates.
guix system: error: service 'swap-/swapfile' requires 'file-system-/',
which is not provided by any service
I can't find anything regarding a file-system-/ service. I do have a
rootpartition in 'file-systems'. Why is that not sufficient?
If I remove the dependency in swap-devices, it builds, though the system
gets stuck on boot shortly after generating ssh keys. Picture is
attached. Any hints for that problem?
Martin
(use-modules (gnu))
(use-service-modules desktop networking ssh xorg)
(operating-system
(locale "de_DE.utf8")
(timezone "Europe/Berlin")
(keyboard-layout (keyboard-layout "de" "neo"))
(host-name "minswap")
(issue "minimal system with swap, swap dependencies")
(users (cons* (user-account
(name "mcd")
(comment "Martin")
(group "users")
(home-directory "/home/mcd")
(supplementary-groups
'("wheel" "netdev" "audio" "video")))
%base-user-accounts))
(packages
(append
(list (specification->package "nss-certs"))
%base-packages))
(services
(append
(list (service dhcp-client-service-type)
(service openssh-service-type)
)
%base-services))
(bootloader
(bootloader-configuration
(bootloader grub-efi-bootloader)
(target "/efi") ; deprecated
(keyboard-layout keyboard-layout)))
(mapped-devices
(list (mapped-device
(source (uuid "e35658c9-6e31-431a-9397-2e988e32fe63"))
(target "lukspart")
(type luks-device-mapping))
(mapped-device
(source "lvmSystem")
(target "lvmSystem-volRoot")
(type lvm-device-mapping))))
(file-systems
(cons* (file-system
(mount-point "/efi")
(device (uuid "845E-533F" 'fat32))
(type "vfat"))
(file-system
(mount-point "/")
(device ; mapped device name: lvmSystem-volRoot, FS-label
is guixsd-root
(uuid "0584a348-341b-475d-b19f-93b5567ee02b"
'ext4))
(type "ext4")
(needed-for-boot? #t)
(dependencies mapped-devices))
%base-file-systems))
(swap-devices
(list
(swap-space
(target "/swapfile")
(dependencies (filter
(file-system-mount-point-predicate "/")
file-systems)))))
(kernel-arguments
(cons* "resume=/swapfile"
%default-kernel-arguments