From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gKgcKVpVzWQhdAEASxT56A (envelope-from ) for ; Fri, 04 Aug 2023 21:45:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id UFwwKFpVzWS3/wAAG6o9tA (envelope-from ) for ; Fri, 04 Aug 2023 21:45:30 +0200 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 40EC8476D3 for ; Fri, 4 Aug 2023 21:45:30 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=l3HhlXIU; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=disroot.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691178330; a=rsa-sha256; cv=none; b=JDhqtSodCBLx5kst6tFinF1zBS2WFlTQ8+w7t60lUQI1UKb5V/jQSYrk60VTBJpCVzLR2H 0VeGaw6cpyU7WNQEu8shA5/qtWv9DEoT+nCQNL0fTaaM5h2RNFaTWWVBEdH/Qg703i7EQ5 fzB3zC5oLoEAzA/EGBMU92DJTkbfqxlDUDHMKAP12ptCVwXjXI6RjoWzW+VvCXQ3PZ9VsZ w1L0r85nZTPgGdv+AQuRs1NwK/r/kq2sw3UrMsyXCYoplMxHNlE3b+5d7McASmrOhmfhpN KfGK5YnOwCg9jfM4AN37cvQcONvfmoDjINXJ63ewHjXgUbht0dDQERmeOvtjiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691178330; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=hioPyZCcnwNlwC/LfHGpb1w1x/JG+teQubw4pyjn3JM=; b=jepmNGyqDdAJS/7IsPrVCH+9KPfyS406c2zMILUj3TlThRnFqUuVpNzjVeO8+lNlF0boh2 x2sKPLEl6+1+PVQEVP3SYVw3iDBoYBAifw+bNt1IL4vI5o0jDaCFdveYRIwL4230Cdb5wp 3fCGaDpVGRy+Si8szp58lb61S3GTN1gasr+uBMElNH8M5yHD+GmdIaCuusGCOlVq9EWm+6 /z52ZaEsR5dxT8XZEk6KkFdUn7qr9YYWQi4f105LZHrrL40EQfT2VWra5Z2zl8uW5E7pqs j5Img4RJYfHj6xVlGR+EBppp4QDoj/C93BSDiy1DduXLlOGQtqoqolH8d0ziOg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=l3HhlXIU; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=disroot.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qS0jQ-0006fE-Ez; Fri, 04 Aug 2023 15:45:04 -0400 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 1qS0jO-0006eg-1P for guix-devel@gnu.org; Fri, 04 Aug 2023 15:45:02 -0400 Received: from knopi.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qS0jM-00073y-6y for guix-devel@gnu.org; Fri, 04 Aug 2023 15:45:01 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 4ED2A41574; Fri, 4 Aug 2023 21:44:56 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Pf18MgWheIJe; Fri, 4 Aug 2023 21:44:55 +0200 (CEST) References: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1691178295; bh=iPbDlcuNIQU70ZtEPY15nzs5zuh53xgf2zaGERrvqNg=; h=References:From:To:Cc:Subject:Date:In-reply-to; b=l3HhlXIUyNuWkV/LcoaeRjK0Ys3TXblweF+U2+aRaKFdOEFvwYC2S3gcm2VfaC+Zd 6XTFydxZ4eiQMk8MQ6W1vzkgRhmoIQ5UB6EQ7JQfel0IRUjMac9JCMuUQeYQqoyCUg 3xXR9WYpTeXxqBE1c7aHURnRKnkzgCMCJ2FOZ6H5w3W4dL/UXqP+P5qwRCfP7ZRcxb OtGaO+QVWP42p4O9WWtVzs2nO451plg0r5aLjzVEMYEJcN3JCl2DJT4b4wxfGH4Pgg vnPKtsJrSkOSLd49WVukuMwszEk9j2TO8h2qltCbtTCCz9QRpVvB/cndy/sUwRbWfg Aq6BneXPJsCLQ== From: "(" To: Christian Miller Cc: guix-devel@gnu.org Subject: Re: Guix system init but for guix home Date: Fri, 04 Aug 2023 20:40:53 +0100 In-reply-to: Message-ID: <87pm42oamr.fsf@disroot.org> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=178.21.23.139; envelope-from=paren@disroot.org; helo=knopi.disroot.org 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.44 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: 40EC8476D3 X-Spam-Score: -9.44 X-TUID: HGGkCH48q8Kt Christian Miller writes: > Basically my idea would be, that I am on the live ISO and run guix system init > [...] and after that I would run guix home init home.scm /mnt or something like > that. Now if I reboot in to the actual system, I have my complete setup with > EXWM and Emacs completely configured and ready to go. Something that would cover this use case be a HOME-ENVIRONMENT field for user-accounts in /etc/config.scm: (user-account (name "paren") ... (home-environment ...)) which could either be a file-like that evaluates to a Scheme file that returns a HOME-ENVIRONMENT object, or a HOME-ENVIRONMENT by itself: ;; with local-file (home-environment (local-file (string-append (dirname (get-current-filename)) "/home-paren.scm"))) ;; with home-environment (home-environment (home-environment (services (cons* ...)) (packages (list ...)))) -- (