diff options
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 + ]; + } |