;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2020 Mathieu Othacehe ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; GNU Guix is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with GNU Guix. If not, see . (define-module (gnu image) #:use-module (guix records) #:export (partition partition? partition-device partition-size partition-file-system partition-label partition-uuid partition-flags partition-initializer image image-name image-format image-size image-operating-system image-partitions image-compression? image-volatile-root? image-substitutable?)) ;;; ;;; Partition record. ;;; (define-record-type* partition make-partition partition? (device partition-device (default #f)) (size partition-size) (file-system partition-file-system (default "ext4")) (label partition-label (default #f)) (uuid partition-uuid (default #f)) (flags partition-flags (default '())) (initializer partition-initializer (default #f))) ;;; ;;; Image record. ;;; (define-record-type* image make-image image? (format image-format) ;symbol (size image-size ;size in bytes as integer (default 'guess)) (operating-system image-operating-system ; (default #f)) (partitions image-partitions ;list of (default '())) (compression? image-compression? ;boolean (default #t)) (volatile-root? image-volatile-root? ;boolean (default #t)) (substitutable? image-substitutable? ;boolean (default #t))) c572a5cf4ac383c951ee&showmsg=1'>Expand)Author 2024-02-19services: activation: Ensure /var/run existence....Nicolas Graves 2023-12-02gnu: Use ‘libc-utf8-locales-for-target’....Janneke Nieuwenhuizen 2023-08-31gnu: services: Revert to deleting and updating all matching services...Brian Cully 2023-08-20services: Define 'for-home'....Ludovic Courtès 2023-06-06services: Check if service is #f before applying clause....Josselin Poiret 2023-06-06services: 'modify-services' preserves service ordering....Ludovic Courtès 2023-06-02services: Error in MODIFY-SERVICES when services don't exist...Brian Cully 2023-05-16services: Add default values....Andrew Tropin 2023-03-16services: etc-service: Deprecate etc-service procedure....Bruno Victal 2022-08-30services: provenance: Use 'current-channels' to obtain provenance data....Ludovic Courtès 2022-05-29gnu: services: Update setuid service description....Tobias Geerinckx-Rice 2022-05-18services: Make <service-type> 'description' field mandatory....Ludovic Courtès 2022-05-18services: Add more description fields....Ludovic Courtès