From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id aALOF5BgqmU5DQEAqHPOHw:P1 (envelope-from ) for ; Fri, 19 Jan 2024 12:44:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id aALOF5BgqmU5DQEAqHPOHw (envelope-from ) for ; Fri, 19 Jan 2024 12:44:16 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=YjKLecWw; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705664656; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=z0A1Rkv/Ldf6of07Vw2j1dQ6zBMmD1nkTRYKOqSU1Ko=; b=TnRoyMvKlHjpl5+eVPre9pGp+2g1ehiCI3JXNM781F6D68fcnE2Zfyw6IbBGKonsW15eTP VEozneSWpCegVeNgp6kiYrCTru5suis2YMJcQKq8vPiuyXlCb9F3NWzpRoFKsqW4cYZiSW cIYFm2uH3NtFbm3wnDV0yqOB2U+cbIosvPUbiB3/57+V2wSBGzKYvOgqEiW5PWoaLtc425 FS6A3Bc9B4G8Br16PY/+UEzcTQtyUDQlcAybuOCU8Sa+7Jwrlsq8EvDlEf5uHAaOLQsyFG jneC/HNr8eg964asgTmv0Xh813BSG1NR8esLC3xLP0TqbXOFHujYNoonE5quSA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=YjKLecWw; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705664656; a=rsa-sha256; cv=none; b=UQ9fBRVvRpX7QYI5jr9lUEW0rl/M2UCWhs6v8ZUWk5Q8GkCufdUd+t4aLNaFzKGS70TlMB Fpgi4JL4CzcRQ9Ff8E/RY4qPoKEuvfSQreqvcEZH5pK0rxfoQwDBPVwdykGyldCUO8Bwuy AfkFbBlGF1HFcXHNF/QigggbD6V7wIGk77yhGYEDfiNf0DdC3J0oDXukoSCDfC4NNWJLJ1 QSuTLV3xc+8Xux94GDMxq4b7PfrZI7W+83Y7RD6LbDvGvkhioAK80ClWN4HMNa8MYjqiP1 q0y+zFrf5HjMUOHT9feSERDe+hz+QIwj30fgdh9SOo7ujSLxL7VC1OvCFkX+3Q== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4A05453EA3 for ; Fri, 19 Jan 2024 12:44:15 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rQnFg-0004rh-2u; Fri, 19 Jan 2024 06:41:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rQnFb-0004Z6-Ki for help-guix@gnu.org; Fri, 19 Jan 2024 06:41:32 -0500 Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rQnFZ-0005Tz-AW for help-guix@gnu.org; Fri, 19 Jan 2024 06:41:30 -0500 Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-50e78f1f41fso700086e87.2 for ; Fri, 19 Jan 2024 03:41:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705664486; x=1706269286; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:in-reply-to:date :subject:cc:to:from:user-agent:references:from:to:cc:subject:date :message-id:reply-to; bh=z0A1Rkv/Ldf6of07Vw2j1dQ6zBMmD1nkTRYKOqSU1Ko=; b=YjKLecWw5gXnFHmLKPjSnW6QimvvHiasX6IhMtzXjIBDR+DQ6j3IMlnAlksglrmqBX Hc6akNKpH3cwB7usUkHin/8uPfYDuv8ACkO0b9fjhZkc5mQFC83EYZkBaf5IqEYjyVuc Yq8NsEI5n8g0uxBpGusQY7CKYQVhqKLI9bJWx/cppjrLYyCuv+J5HaDy3B54S3Jy8tMk TZIma2VyCuMu5sWpj3fpYOcIkiToffKr+XYkri4Nw59kIuFTWm23IpPQsPbDo/7N68P5 J52lRZojkk3JFdTLJ0BsSRk9NVPJBC3ZURnwTaFNFb5nVS7epPiWZgAQjXnOQTBLqB2Y w+0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705664486; x=1706269286; h=content-transfer-encoding:mime-version:message-id:in-reply-to:date :subject:cc:to:from:user-agent:references:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=z0A1Rkv/Ldf6of07Vw2j1dQ6zBMmD1nkTRYKOqSU1Ko=; b=EjLi1qISINGHYPtXk7T6ANhtu6MS1bsVFLxPxM8ak7D76fy5qcMHnIwnm1smn0w+s2 5cex4QMc+waMBlKYLtlYg/qcLHOBt3Dt+V7L4FO3nmmO2NB+rMtVkJXDiy5PsK18WBU8 LiQjHLoxBPN+VOK59QgwOwUy8zauBJAjUhqV+WfB074zUmO1gvBYHPJ8Ahb0Wg+nokC7 kBcB3gJJaiel3hx6Fr3rSFnGdA4Fss9YZZmr8q9J0/iDWBH5O9gaXyErpPSFoK+2EdOT 4WNpdkCOtUStO84aCj4YJrkhHjh8Xj+J3e+ZeQVT8dxnWWqSfZD5N31MVKHWIyx2jEZh A8Vw== X-Gm-Message-State: AOJu0Yy8+sdqALqIqEe7zLuTsdAF4UXr3k/HHvav2PkBUcz7DQM8ZbJf w28yzzoJebpnCdj8XzVLm5JmJvjflRrar1qFG37nO2OnN6JUb85OJappkV2Z03o= X-Google-Smtp-Source: AGHT+IG4xcAn9urSjB0MMKj3ZXlYPVcSpgKYSz5VMtSQTFv+0k7rSMRvWf/FJ7cximwhvqJiC7/x6g== X-Received: by 2002:a05:6512:3b98:b0:50f:72f:cf8a with SMTP id g24-20020a0565123b9800b0050f072fcf8amr674831lfv.137.1705664486047; Fri, 19 Jan 2024 03:41:26 -0800 (PST) Received: from localhost (78.79-160-60.customer.lyse.net. [79.160.60.78]) by smtp.gmail.com with ESMTPSA id h18-20020a0565123c9200b0050e80fe2ed0sm946022lfv.8.2024.01.19.03.41.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jan 2024 03:41:25 -0800 (PST) References: <87mstwjbcu.fsf@yoga.mail-host-address-is-not-set> <87y1daq8eg.fsf@rymdkoloni.se> User-agent: mu4e 1.10.8; emacs 30.0.50 From: Lars Rustand To: help-guix@gnu.org Cc: Kristoffer =?utf-8?Q?Str=C3=B6m?= Subject: Re: Include home environment in image Date: Fri, 19 Jan 2024 12:31:25 +0100 In-reply-to: <87y1daq8eg.fsf@rymdkoloni.se> Message-ID: <87a5p1ft3x.fsf@yoga.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::12c; envelope-from=rustand.lars@gmail.com; helo=mail-lf1-x12c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.29 X-Migadu-Scanner: mx13.migadu.com X-Spam-Score: -7.29 X-Migadu-Queue-Id: 4A05453EA3 X-TUID: RDSg7pnRXdH4 Kristoffer Str=C3=B6m writes: > I would love to know this as well. I've not found any examples in the > wild that are not tied into other distributions (RDE). Thanks for pointing me in the right direction! After doing some digging in RDE sources I found the `guix-home-service-type` which does exactly what I want. Using it is as simple as adding RDE as a channel and adding the following to your system config: (use-modules (gnu services home)) ... (service guix-home-service-type `(,(cons "my-user" %my-home-environment))) The service definition even seems to be fully self-contained and not dependent on any other RDE code, so it should be possible to simply copy the service definition into your own config without needing to add RDE at all (although I have not tried this myself). Maybe this could even be upstreamed into Guix proper? I think this would be a very valuable addition.