Re: Wheel group as polkit admins

2019-11-30 Thread Ludovic Courtès
Hi Leo, Leo Prikler skribis: > From fae10039a5c875e48ca2ae8087bab702b69ac0b0 Mon Sep 17 00:00:00 2001 > From: Leo Prikler > Date: Sat, 23 Nov 2019 19:51:15 +0100 > Subject: [PATCH 1/2] services: Add polkit-wheel-service. > > * gnu/services/desktop.scm: (polkit-wheel): New variable. >

Re: Wheel group as polkit admins

2019-11-26 Thread Leo Prikler
Hi Ludo, Am Dienstag, den 26.11.2019, 11:17 +0100 schrieb Ludovic Courtès: > Hi Leo, > > Leo Prikler skribis: > > > From 42eedd4d9d64a8432f787e68d64476c59200c1b6 Mon Sep 17 00:00:00 > > 2001 > > From: Leo Prikler > > Date: Sat, 23 Nov 2019 19:51:15 +0100 > > Subject: [PATCH 1/2] services: Add

Re: Wheel group as polkit admins

2019-11-26 Thread Ludovic Courtès
Hi Leo, Leo Prikler skribis: > From 42eedd4d9d64a8432f787e68d64476c59200c1b6 Mon Sep 17 00:00:00 2001 > From: Leo Prikler > Date: Sat, 23 Nov 2019 19:51:15 +0100 > Subject: [PATCH 1/2] services: Add polkit-wheel-service. > > * gnu/services/desktop.scm: (polkit-wheel): New variable. >

Re: Wheel group as polkit admins

2019-11-23 Thread Leo Prikler
Hi Ludo, Am Samstag, den 23.11.2019, 18:17 +0100 schrieb Ludovic Courtès: > Hi Leo, > > Leo Prikler skribis: > > > Thanks for the hint. Since it's all just static text, I don't > > really > > need the whole Guile power of computed-file, so I've shortened it > > to: > > > > (define

Re: Wheel group as polkit admins

2019-11-23 Thread Ludovic Courtès
Hi Leo, Leo Prikler skribis: > Thanks for the hint. Since it's all just static text, I don't really > need the whole Guile power of computed-file, so I've shortened it to: > > (define polkit-wheel > (file-union >"polkit-wheel" >`(("share/polkit-1/rules.d/wheel.rules" >

Re: Wheel group as polkit admins

2019-11-17 Thread Marius Bakke
Ludovic Courtès writes: > Leo Prikler skribis: >> (with-output-to-file (string-append rules.d "/wheel.rules") >> (lambda () >> (display "polkit.addAdminRule(function(action, subject) { >> return [\"unix-group:wheel\"]; >> }); [...] > Should we make that

Re: Wheel group as polkit admins

2019-11-17 Thread Leo Prikler
Hi Ludo, Am Sonntag, den 17.11.2019, 17:46 +0100 schrieb Ludovic Courtès: > Hi Leo, > > Leo Prikler skribis: > > > Since our polkit service expects a list of packages as extension, I > > currently use the following in my /etc/config.scm: > > > > (define polkit-wheel > > (package > >

Re: Wheel group as polkit admins

2019-11-17 Thread Ludovic Courtès
Hi Leo, Leo Prikler skribis: > Since our polkit service expects a list of packages as extension, I > currently use the following in my /etc/config.scm: > > (define polkit-wheel > (package >(name "polkit-wheel") >(version "0") >(source #f) >(build-system trivial-build-system) >

Wheel group as polkit admins

2019-11-09 Thread Leo Prikler
Hello, some other distros use a Polkit rule, that makes the local admin group ("wheel" on Guix) Polkit admins. Yet others easily allow writing your own files to /etc, so that such a rule can be added. Guix lacks such a rule by default and adding it in the way you're supposed to in oth