summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Streit <simon@netpanic.org>2023-05-23 22:36:01 +0200
committerSimon Streit <simon@netpanic.org>2023-06-19 21:36:36 +0200
commit5b3630d57b768178c2c05b10bbb4becce86c0f4a (patch)
tree0226aeac8f7c7105d8a462fb673d9b10ae7ad9c3
parent2b2ec2d79aafd710ba44e22a3b2947acee28cc40 (diff)
siguix: Add swaylock-no-pam.
* siguix/packages/swaylock-no-pam.scm (swaylock-no-pam): New file.
-rw-r--r--siguix/packages/swaylock-no-pam.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/siguix/packages/swaylock-no-pam.scm b/siguix/packages/swaylock-no-pam.scm
new file mode 100644
index 0000000..999954e
--- /dev/null
+++ b/siguix/packages/swaylock-no-pam.scm
@@ -0,0 +1,34 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2023 Simon Streit <simon@netpanic.org>
+;;;
+;;; This file is NOT part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (siguix packages swaylock-no-pam)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix packages)
+ #:use-module (guix download)
+ #:use-module (guix git-download)
+ #:use-module (guix build-system gnu)
+ #:use-module (guix build-system glib-or-gtk)
+ #:use-module (guix gexp)
+ #:use-module (gnu packages)
+ #:use-module (gnu packages wm))
+
+(define-public swaylock-no-pam
+ (package/inherit swaylock
+ (name "swaylock-no-pam")
+ (arguments
+ (list #:configure-flags #~'("-Dpam=disabled")))))