Execute nixfmt
This commit is contained in:
parent
853a1c4aaa
commit
de980184c1
2 changed files with 16 additions and 12 deletions
|
@ -36,7 +36,10 @@
|
|||
office-dock.outputs = [
|
||||
(mkScreen "Dell Inc. DELL P2720DC BRKPK53" // { position = "0,0"; })
|
||||
(mkScreen "Dell Inc. DELL P2720DC 6JRRK53" // { position = "2560,0"; })
|
||||
(mkScreen "Unknown 0x08CE 0x00000000" // { position = "5120,0"; scale = 2.0; })
|
||||
(mkScreen "Unknown 0x08CE 0x00000000" // {
|
||||
position = "5120,0";
|
||||
scale = 2.0;
|
||||
})
|
||||
];
|
||||
home-pc.outputs = [
|
||||
(mkScreen "Dell Inc. DELL P2720DC 22JPK53" // { position = "4480,0"; })
|
||||
|
|
|
@ -60,17 +60,18 @@ let
|
|||
${pkgs.nix}/bin/nix-shell ''${ENV_FILE} --run "$COMMAND"
|
||||
'';
|
||||
|
||||
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
|
||||
'';
|
||||
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-manager.users.fhauser.home.packages =
|
||||
[ passbemenu threema-vpn threema-env wsudo ];
|
||||
|
|
Loading…
Add table
Reference in a new issue