From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <help-guix-bounces+larch=yhetil.org@gnu.org> Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 0AMKNn+hv2WUJAAAqHPOHw:P1 (envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Sun, 04 Feb 2024 15:38:56 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 0AMKNn+hv2WUJAAAqHPOHw (envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Sun, 04 Feb 2024 15:38:55 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=DQjyN9T9; 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=1707057535; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Z5LJixB1ZSyobkV9gl43k19bifQ/RKw0YRvx6dI9gsI=; b=bLcvjC9qPiii33+1+lWlPxV1fObVA5FykcGWjJAHJg13Q88p1ez90WKCMM1NyLx/vIIMd1 zsXryWl/3qlZPL0ypfSMC1OgY1xvUHb1q9aogVJjTYr+Q2WAo625RoVY8FXtf1RGRg7SEK l0eri17kAawb/E6HyR9WMkq3b4dF9LEGJDt7PQH/LLPKRqKeSs7iwA3dW3aQmVZk2dIn4o cKtYFcTpYjzQZQ0F6EzLHQ4OsTooohRnK2mZpdHRs4Plwh7gqHiIDZhZMdzPRCHrKcJn31 C7bDi/xiLqS0+ZySx9N0csMOrByKUu6aHlFZ81zFDFetKP9O3S2uF595/TFTIg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=DQjyN9T9; 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=1707057535; a=rsa-sha256; cv=none; b=Jr+AGp3FityFI453R/nTIVCBHJkdk5H8vSWCs1s/JAI8g38Pc7wO8+TjGhizSS3KHQGInu t8qHPLccihXE5pEOz4Gnty9mG3FBg5VsnhW5f9866JTDzSo6P/QIPxb0HRG6X7yMN/LaFF nlefD28W4Nej3QSjA41ZM1fml0oYs17A4sYmFBFV1aO8sK/8AeDY36RXoc30Z9Qt7ORrT5 VCxQ9vIcW4HPzzHh83nKrskjTKUJPhP2iHtUH1YyxPqPnD/ewQMzRIcw95RNJZdy8rA+cJ WEsRzsBPs3Ocae2TqcNbnwqCktJa2uaC4mrzKfACWvAaHEEzJqIy6qA+6V/Geg== 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 7562959441 for <larch@yhetil.org>; Sun, 4 Feb 2024 15:38:55 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <help-guix-bounces@gnu.org>) id 1rWddw-0005xH-Pe; Sun, 04 Feb 2024 09:38:48 -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 <andrew.stubbs@gmail.com>) id 1rVWfk-0005Ns-ND for help-guix@gnu.org; Thu, 01 Feb 2024 08:00:04 -0500 Received: from mail-vs1-xe2c.google.com ([2607:f8b0:4864:20::e2c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <andrew.stubbs@gmail.com>) id 1rVWfi-0008Rx-8n for help-guix@gnu.org; Thu, 01 Feb 2024 08:00:04 -0500 Received: by mail-vs1-xe2c.google.com with SMTP id ada2fe7eead31-46b2aaa36d5so359046137.1 for <help-guix@gnu.org>; Thu, 01 Feb 2024 05:00:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706792399; x=1707397199; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Z5LJixB1ZSyobkV9gl43k19bifQ/RKw0YRvx6dI9gsI=; b=DQjyN9T9Smly4oYl2+PQ59EVppbvA4Ios4+Jkgsqf1baxV1qSIHny9wvYoXgExYZwe HyiIsdrFJiz4m/sDxIL26KaB+7neWZSdt51vRCKXAzNCu619bSeW/2n/dkQ7zYZFZJ8z WiGZea/XYT5WlRrC4TyZr2cSfp3EiHF0gZ9EpFpsWlgEQ+AmkX2fKTugvFo5VNONHIHc abpsGIte5P7LdiVBn1zrpgj0MV+9uE+TIxYV00fWJ6iM8FeBqw3aJo3HbEbZ1IXbZHkO ltUPi+F/J1yijUgqP4pmmbSeBzm5k7l3yFnWoC25ajUxL9dk91vcDMYPKFWI78g+D7Pm am9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706792399; x=1707397199; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Z5LJixB1ZSyobkV9gl43k19bifQ/RKw0YRvx6dI9gsI=; b=f2hnm0Qlo8tMzf/9whtzY48I20IblfX+/YvbLYDQjm6TvxzGdIwlSF4FZ+u0uHFS8A fUrYv1BtCl3S66czGYAwhISNMB0g0+25MxebwfMf5cE173MX0y2qZM35pKTzX8akHrPn z96J0qSpJPv3F9hSKx85p0EIoROr4nVCWwimJd5L4ojrLMxBCvtBDYbgC4y+sgmMb/wW 9AdDCwBhF0pcXC0IPPyLnBrzt7OEEaAmOstwYJzhqFD7LKw+42pbhtZ+kKqn6EnsYLEr NWP5lMv6fpg7zXW6bmiFnvpurteu+gUx5eB9Ae6Mn3a9u5KKREj4XS2cFfXCXna62tQA WtYw== X-Gm-Message-State: AOJu0YxC0khfcz3Uh/Oowp//oRYxOZfK7Ly+sdbHwgN86mCoQPou1+am 1R6Od/rMsmmXjoNbKddB4ETGdXb7v5vgTHkBiEhOQmtXhh235jdJt1qjfJBLm7NZPe6JNlfFInU IMxH8s0P3Xt9MbXx3txNy8sBTqdS3eGZ+ygWsVA== X-Google-Smtp-Source: AGHT+IH8Ohzhob1Z8GpHDBq/ZWfnlR0nHsw4bcBlz6i1LxGkMg2ws4S2GDnox6SF2ukZDanc8vzGdHXhpRXp8sAprlY= X-Received: by 2002:a05:6102:21a6:b0:46c:f39d:ab36 with SMTP id i6-20020a05610221a600b0046cf39dab36mr872427vsb.35.1706792399603; Thu, 01 Feb 2024 04:59:59 -0800 (PST) MIME-Version: 1.0 From: Andrew Stubbs <andrew.stubbs@gmail.com> Date: Thu, 1 Feb 2024 12:59:49 +0000 Message-ID: <CAC1cuBQPahJF2mFxJouVSdoRURNaxUC=koPweccBmWo35oO3Lg@mail.gmail.com> Subject: Adding shell commands the .profile with guix home To: help-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::e2c; envelope-from=andrew.stubbs@gmail.com; helo=mail-vs1-xe2c.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-Mailman-Approved-At: Sun, 04 Feb 2024 09:38:36 -0500 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <help-guix.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-guix>, <mailto:help-guix-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/help-guix> List-Post: <mailto:help-guix@gnu.org> List-Help: <mailto:help-guix-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-guix>, <mailto:help-guix-request@gnu.org?subject=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: -8.33 X-Migadu-Queue-Id: 7562959441 X-Spam-Score: -8.33 X-Migadu-Scanner: mx11.migadu.com X-TUID: COk4ojoU0uLH Hi, I'm trying to figure out how to run a shell command once on SSH login, but not in nested shells. Traditionally I've simply appended it to .profile, but I want to switch to use guix home and I can't figure out how. (I got my environment variables and arbitrary dot-files done.) The manual suggests that "home-shell-profile-configuration" is the way to go, but there's no example given. I found this example from an old mailing list post: (service home-shell-profile-service-type (home-shell-profile-configuration (profile '("echo hi" "source ~/.xprofile")))) But that fails: error: (service home-shell-profile-service-type (home-shell-profile-configuration (profile (quote ("echo hi" "source ~/.xprofile"))))): invalid field specifier What's the correct way to do this, please? Thanks Andrew