Execute nixfmt

This commit is contained in:
Fabian Hauser 2021-10-07 13:30:17 +02:00
parent 853a1c4aaa
commit de980184c1
2 changed files with 16 additions and 12 deletions

View file

@ -36,7 +36,10 @@
office-dock.outputs = [ office-dock.outputs = [
(mkScreen "Dell Inc. DELL P2720DC BRKPK53" // { position = "0,0"; }) (mkScreen "Dell Inc. DELL P2720DC BRKPK53" // { position = "0,0"; })
(mkScreen "Dell Inc. DELL P2720DC 6JRRK53" // { position = "2560,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 = [ home-pc.outputs = [
(mkScreen "Dell Inc. DELL P2720DC 22JPK53" // { position = "4480,0"; }) (mkScreen "Dell Inc. DELL P2720DC 22JPK53" // { position = "4480,0"; })

View file

@ -60,7 +60,8 @@ let
${pkgs.nix}/bin/nix-shell ''${ENV_FILE} --run "$COMMAND" ${pkgs.nix}/bin/nix-shell ''${ENV_FILE} --run "$COMMAND"
''; '';
wsudo = with pkgs.xorg; pkgs.writeScriptBin "wsudo" '' wsudo = with pkgs.xorg;
pkgs.writeScriptBin "wsudo" ''
#!/usr/bin/env bash #!/usr/bin/env bash
#small script to enable root access to x-windows system #small script to enable root access to x-windows system
${xhost}/bin/xhost +SI:localuser:root ${xhost}/bin/xhost +SI:localuser:root