From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id oNckLELAf2ciMQAAqHPOHw:P1 (envelope-from ) for ; Thu, 09 Jan 2025 12:25:38 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id oNckLELAf2ciMQAAqHPOHw (envelope-from ) for ; Thu, 09 Jan 2025 13:25:38 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=BYwYSvhx; 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=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1736425538; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=B/cgCy7G+fGFfXAgXJJS5n4VhFRzUSubVkDd9T4txD4=; b=MEtQLTJ5w2qAkM9ls6vMYPs08IYI6sM/s+PJQGaVQu6u7kns5UPBUBnnW3p55pwi9+zLpy YAOSSh94IcuD86jdA85KMFkD6h3J9RQ0fkKoQxtMkjhV0evZxzKEmM+QPD2w11DTsV4Ukz mJLNf9HjkbO9oN1efMq0TLOqxez7s1kZ0kIOEfGxIZc8Cdwq720at8umWfmIwRN5nBZwFb ZO1ehto1PGYY0+mW3RQcVungAVYzitJdXxlJlUd6SIKUuwnNXjqjpLGW0gk1ZvN/lPztsm 4WrSW0GTWTBAGK8mLE8NLfXfIw153dos0wc+qQOTEwsW9EacwTE/8YgsvP25pQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=BYwYSvhx; 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=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736425538; a=rsa-sha256; cv=none; b=XspzrGuim748MamrBFGF2E7ByEvKoHMrj+Zr4hpX+8UlH93bTnSKvFj7flcExexvY9aQwc oaCIrwvGKXKfIN7R+Ka1hUsBUxw71vArUdaXWgAu/9VVdoePwHIt7hXGBLDA5rqS5BUqkn OtzMnaSutCWgYB+q7cjzWUFz/yaon4BcR7mgjWGkKq52oeH7TOTx5OOBl7XnZkn41CCCWq 01LVgoFmtNLh9ALd7tKONVED4sLnMZI3QeOemniAS6VHTZqbRChcw3VFbaVqzWpMJio0/B eaAPNs9cAdkLpAF7tAhkJW0S6kD9NkPKZ6AmLACiD7FvdOT0O35Rom7o9ObHkg== 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 9571A67A12 for ; Thu, 09 Jan 2025 13:25:38 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVray-0002xo-By; Thu, 09 Jan 2025 07:25:04 -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 <45mg.writes@gmail.com>) id 1tVrau-0002xR-7S for guix-devel@gnu.org; Thu, 09 Jan 2025 07:25:00 -0500 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <45mg.writes@gmail.com>) id 1tVras-0000bF-GL for guix-devel@gnu.org; Thu, 09 Jan 2025 07:24:59 -0500 Received: by mail-pl1-x644.google.com with SMTP id d9443c01a7336-218c8aca5f1so17066575ad.0 for ; Thu, 09 Jan 2025 04:24:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736425496; x=1737030296; darn=gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=B/cgCy7G+fGFfXAgXJJS5n4VhFRzUSubVkDd9T4txD4=; b=BYwYSvhxxExWpWoBQ1G9g8EifcWi6j18HzU2bju64jb/KhU/CEWitrNZwfUJuLPL4b Wyz5qNrZf9zpyFcqich2mxZNdNIsNZdSYWMZoCwSiBiDJiZnkARY/73eoCW1PYDmpUmL wVdlRppfHE0DK/mDMTTZxNfUEcYR1/NOwOUOU61agvnozYN7sl+UhQKUVZe4tJylNTMR JfVte8ncpvywCKzmIHB4sD258Ot68a7DuyrvJmMrljE1LAKcIdRS77BlTW5WhMSg3kdi Pr6K0UKHpk2oLhLpumMac/EuOtfBpO+UJtRdsQ5QSzLdnT90cVLuZXppf0f5MFHDLzLO skoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736425496; x=1737030296; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=B/cgCy7G+fGFfXAgXJJS5n4VhFRzUSubVkDd9T4txD4=; b=GE/ifVEEaaYctXCTaVHkVQM9ydUyXR8EnzDfYYtit1rDTyc+LVejHeGqgFPEA/Ac/n TImTN1Ok1xezGl1C1dPcveQBavWkIgRwSbZkwzICXTyesvSyubEYkb2us6lKHVFuMNk9 Ha5rlJ8wVmeirCYRYfKbenPqw7rikz3axZ7mhUXCNam2++58zNeoEZsrkzp37PJ8raaV OjuXdyHk9lxt0KmGkF8MlKz7K6ZeNu+3EoliW6AjBzfJ+v1y/pb/dqjQ63si1XFjVKxU B3t7APeFfPf3i6srSo3piO87buE5vn7WyuBld0VW7dpj3LFlneFeYx77OlozdrEgYXNP k67Q== X-Gm-Message-State: AOJu0Ywr5zpI2Xn8vaK04UH/XXLaPYlI54K6zlquSRfWF0Zrg9JMJ8p6 p2fubgoWVFG/3TUrhzWPIhz+GWyH8NloLLwkMMDcsxVmYXZv5mXo X-Gm-Gg: ASbGnctp6oRK8XwbnQ+XgdIkysqz/WanG3o/VwNZxOWTreZXEfckLSadfcRg3oB57bH Y+qWtZ4zSGhchIVpicVgb951+hELyfcsmYcPYkpYvQehVmrKZoUpxyhn85GnDr3ic+VEO6SGeSK yuZvY+UZFbiCJzey3AGHhlXPcCwwpIvcG8ILpNRuhlLH4WAOY6d2HQHcM/4VArF13jsS/JC8Mo5 JshnvWrscttXMyMdhVGweH0dE0miiTlSG1oSjoBB0T/Jb1R97IE1mwn42QSFG452i8fEzvzR2Gj kLY= X-Google-Smtp-Source: AGHT+IFA5/GQR1Fb4lZo608lm0Kn8BJQL759eCTkjrsi1sNLZk30SFW5oFygIZCcBUEVEQBvHw77NQ== X-Received: by 2002:a17:903:2452:b0:216:6f1e:5799 with SMTP id d9443c01a7336-21a83fe4f75mr86137445ad.35.1736425496244; Thu, 09 Jan 2025 04:24:56 -0800 (PST) Received: from localhost.localdomain (utm3.nitt.edu. [14.139.162.2]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21a91768814sm11496435ad.18.2025.01.09.04.24.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jan 2025 04:24:55 -0800 (PST) From: 45mg <45mg.writes@gmail.com> To: 75145@debbugs.gnu.org Cc: guix-devel@gnu.org, 45mg <45mg.writes@gmail.com> Subject: [PATCH v2 0/1] services: network-manager: Add extra-configuration-files field. Date: Thu, 9 Jan 2025 12:24:30 +0000 Message-ID: X-Mailer: git-send-email 2.47.1 In-Reply-To: <7743f403ebf1693fc386a397e9aed1975b43f900.1735323486.git.45mg.writes@gmail.com> References: <7743f403ebf1693fc386a397e9aed1975b43f900.1735323486.git.45mg.writes@gmail.com> MIME-Version: 1.0 X-Debbugs-Cc: Ludovic Courtès , Maxim Cournoyer Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::644; envelope-from=45mg.writes@gmail.com; helo=mail-pl1-x644.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 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-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -4.24 X-Spam-Score: -4.24 X-Migadu-Queue-Id: 9571A67A12 X-TUID: hvb/l3e3TiEX Hi Guix, As the first revision of this patch failed to get any attention in two weeks, I'm CC'ing guix-devel on this one, hoping it'll get reviewed this time. Let me know if I should have done anything differently; I'm still relatively new to contributing. This patch allows users to specify configuration files for NetworkManager. While perhaps it would be more Guix-y to instead have a field in `network-manager-configuration` for every configuration option, this would be a monumental undertaking (look at the number of options listed in NetworkManager.conf(5)!). At any rate, I think any means of configuring NetworkManager is better than none. The difference from the first revision is that instead of specifying a single directory (file-like object) containing the configuration files (which was then symlinked to /etc/NetworkManager/conf.d), you now specify an alist mapping file names to file-like objects, like with `etc-service-type`; and those are then added to /etc/NetworkManager/conf.d. The rationale behind this change is that it doesn't rule out putting our own stuff in /etc/NetworkManager/conf.d. For example, if we wanted a default set of files in there, we could modify the procedure `network-manager-configuration-directory` to add the files supplied via the field to our default set; in the first revision, this wouldn't be possible as the user specifies the entire directory. (I don't know whether we'd ever actually want to do this, but I thought it best to leave our options open.) 45mg (1): services: network-manager: Add extra-configuration-files field. doc/guix.texi | 21 +++++++++++++++++++++ gnu/services/networking.scm | 26 ++++++++++++++++++++++++-- 2 files changed, 45 insertions(+), 2 deletions(-) base-commit: 7f27dc47c52886b785359799b6dc67b61f638544 -- 2.47.1