about summary refs log tree commit diff
path: root/modules/slock.nix
diff options
context:
space:
mode:
authorPatryk Niedzwiedzinski <patryk@niedzwiedzinski.cyou>2024-09-29 16:28:22 +0200
committerPatryk Niedzwiedzinski <patryk@niedzwiedzinski.cyou>2024-09-29 16:28:22 +0200
commitd66515907f2902edecfc42cd2c387de75b6dcfc4 (patch)
treead3c57104c94f500c4149a7f5be493fa1ccfe0e0 /modules/slock.nix
parent4f591cc9c9663c413e8eb5cd8401a34a3251e30c (diff)
downloaddots-d66515907f2902edecfc42cd2c387de75b6dcfc4.tar.gz
dots-d66515907f2902edecfc42cd2c387de75b6dcfc4.zip
Remove unused software
Diffstat (limited to 'modules/slock.nix')
-rw-r--r--modules/slock.nix33
1 files changed, 0 insertions, 33 deletions
diff --git a/modules/slock.nix b/modules/slock.nix
deleted file mode 100644
index d98e898..0000000
--- a/modules/slock.nix
+++ /dev/null
@@ -1,33 +0,0 @@
-{ config, pkgs, ... }:
-
-let
-  slock = pkgs.slock.overrideAttrs(oldAttrs: {
-    buildInputs = oldAttrs.buildInputs ++ [
-      # pkgs.imlib2
-      # pkgs.linux-pam
-      pkgs.xlibs.libXinerama
-    ];
-    patches = [
-      # ../platforms/linux/xorg/slock/slock-pam_auth-20190207-35633d4.diff
-      ../platforms/linux/xorg/slock/slock-capscolor-20170106-2d2a21a.diff
-      ../platforms/linux/xorg/slock/slock-dpms-1.4.diff
-      ../platforms/linux/xorg/slock/slock-mediakeys.diff
-    ];
-  });
-in {
-  environment.systemPackages = [ slock ];
-  security.wrappers.slock.source = "${slock.out}/bin/slock";
-  # services.xserver.xautolock = {
-  #   enable = true;
-  #   locker = "${config.security.wrapperDir}/slock";
-  #   enableNotifier = true;
-  #   notifier = "${pkgs.libnotify}/bin/notify-send \"Locking in 10 seconds\"";
-  #   killer = "/run/current-system/systemd/bin/systemctl suspend-then-hibernate";
-  #   killtime = 30;
-  #   extraOptions = [ "-detectsleep" ];
-  # };
-  programs.xss-lock = {
-    enable = true;
-    lockerCommand = "${config.security.wrapperDir}/slock";
-  };
-}