Remove obsolete packages
This commit is contained in:
parent
5fd7f09d00
commit
d10ee2aeac
6 changed files with 6 additions and 51 deletions
|
@ -25,16 +25,4 @@ let
|
|||
|
||||
${pkgs.pass-wayland}/bin/pass show -c "$password" 2>/dev/null
|
||||
'';
|
||||
wsudo = with pkgs.xorg;
|
||||
pkgs.writeScriptBin "wsudo" ''
|
||||
#!/usr/bin/env bash
|
||||
#small script to enable root access to x-windows system
|
||||
${xhost}/bin/xhost +SI:localuser:root
|
||||
sudo $1
|
||||
#disable root access after application terminates
|
||||
${xhost}/bin/xhost -SI:localuser:root
|
||||
#print access status to allow verification that root access was remov
|
||||
ed
|
||||
${xhost}/bin/xhost
|
||||
'';
|
||||
in { home.packages = [ passbemenu wsudo ]; }
|
||||
in { home.packages = [ passbemenu ]; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue