aboutsummaryrefslogtreecommitdiff
path: root/packages.nix
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2024-10-31 01:09:39 +0530
committerAkshay Nair <phenax5@gmail.com>2024-10-31 01:09:39 +0530
commitb4ca5c14f6ac3d408035a00bd43bb0fd87e8814e (patch)
tree0b5e315d6e70e1492bda446b0bfdfba163cea925 /packages.nix
parent1c40b3e9f976a5c098778793a862107f5963ba5f (diff)
downloadnixos-config-b4ca5c14f6ac3d408035a00bd43bb0fd87e8814e.tar.gz
nixos-config-b4ca5c14f6ac3d408035a00bd43bb0fd87e8814e.zip
Enable bslock
Diffstat (limited to '')
-rw-r--r--packages.nix18
1 files changed, 10 insertions, 8 deletions
diff --git a/packages.nix b/packages.nix
index 2cc83d8..67827a4 100644
--- a/packages.nix
+++ b/packages.nix
@@ -11,7 +11,7 @@ let
st
dmenu
anypinentry
- # bslock
+ bslock
# sidekick
];
@@ -196,11 +196,13 @@ in
};
# Security wrappers
- # security.wrappers = {
- # bslock = {
- # owner = config.users.users.imsohexy.name;
- # group = "users";
- # source = "${localPkgs.bslock}/bin/bslock";
- # };
- # };
+ security.wrappers = {
+ bslock = {
+ # owner = config.users.users.imsohexy.name;
+ owner = "root";
+ setuid = true;
+ group = "root";
+ source = "${localPkgs.bslock}/bin/bslock";
+ };
+ };
}