diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-05-01 16:37:38 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-05-01 16:37:38 +0200 |
commit | 4277ed0f32c31db5267c173ccb45435fe8ae1667 (patch) | |
tree | 7d73974c971056b596a147cd8f9b13e8f8e2b359 /modules/wayland/default.nix | |
parent | 27b2750a12eba62a9e1e48081421ea585c05954b (diff) | |
parent | 052b9c4404a2678729712092dfdbb3e2ae25997b (diff) | |
download | dots-4277ed0f32c31db5267c173ccb45435fe8ae1667.tar.gz dots-4277ed0f32c31db5267c173ccb45435fe8ae1667.zip |
Merge branch 'master' of https://github.com/pniedzwiedzinski/dots
Diffstat (limited to 'modules/wayland/default.nix')
-rw-r--r-- | modules/wayland/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/modules/wayland/default.nix b/modules/wayland/default.nix new file mode 100644 index 0000000..62a72a1 --- /dev/null +++ b/modules/wayland/default.nix @@ -0,0 +1,35 @@ +{pkgs, ...}: +let + terminal = symlinkJoin { + name = "alacritty"; + paths = [ pkgs.alacritty ]; + buildInputs = [ pkgs.makeWrapper ]; + postBuild = '' + wrapProgram $out/bin/alacritty \ + --add-flags "--config-file ${./alacritty.yml}" + '' + }; + dwl = (pkgs.dwl.overrideDerivation (old: { + src = pkgs.fetchFromGitHub { + owner = "djpohly"; + repo = "dwl"; + rev = "v0.2.1"; + sha256 = "sha256:0js8xjc2rx1ml6s58s90jrak5n7vh3kj5na2j4yy3qy0cb501xcm"; + }; + patches = []; + })).override { + conf = ./dwl.config.h; + }; +in + { + environment.systemPackages = [ + pkgs.firefox-wayland + terminal + dwl + pkgs.bemenu + pkgs.wl_clipboard + pkgs.grim + pkgs.slurp + pkgs.wf-recorder + ]; + } |