Compare commits

...

2 Commits

Author SHA1 Message Date
da10975070 Update new physical orientation of Dell monitor. 2021-02-06 12:42:48 -08:00
3548e078ce Add nix and envrc setup. 2021-02-06 12:41:45 -08:00
3 changed files with 21 additions and 1 deletions

1
.envrc Normal file
View File

@ -0,0 +1 @@
use_nix

19
default.nix Normal file
View File

@ -0,0 +1,19 @@
let
unstableTarball = fetchTarball
"https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz";
pkgs = import <nixpkgs> { };
unstable = import unstableTarball { };
in with pkgs;
pkgs.mkShell {
name = "rust";
buildInputs = [
openssl
pkg-config
unstable.cargo
unstable.rustc
unstable.rustfmt
unstable.rust-analyzer
postgresql
];
}

View File

@ -11,7 +11,7 @@ fn main() -> Result<()> {
width: 1920,
height: 1200,
},
orientation: Orientation::Right,
orientation: Orientation::Left,
..Default::default()
},
Screen {