- slack as wayland native application
- google chrome is a wayland native application now
- Emacs
  - `aggressive-indent`
  - `symex`
  - disabled `org-superstar-mode`
  - default `hunspell` dictionary is `en_US` now
- glances
- translate-shell
- `qutebrowser` is the default browser now
This commit is contained in:
Andrea Ciceri 2022-05-03 12:32:04 +02:00
parent 6791cb51a2
commit f80edaffdb
No known key found for this signature in database
GPG key ID: A1FC89532D1C5654
12 changed files with 66 additions and 6 deletions

View file

@ -28,5 +28,7 @@ in
umoria = nixpkgsDev.umoria;
droidcam = prev.callPackage (import ./droidcam) { };
v4l2loopback-dc = prev.callPackage (import ./v4l2loopback-dc) { kernel = prev.linux; };
slack = import ./slack { pkgs = prev; };
google-chrome = import ./google-chrome { pkgs = prev; };
# then, call packages with `final.callPackage`
}

View file

@ -9,6 +9,7 @@ emacsWithPackages (
) ++ (
with epkgs.melpaPackages; [
# dirvish
aggressive-indent
all-the-icons
company
dap-mode
@ -17,8 +18,8 @@ emacsWithPackages (
evil
evil-collection
fira-code-mode
good-scroll
go-translate
good-scroll
haskell-mode
helm
helm-ag
@ -45,6 +46,7 @@ emacsWithPackages (
rainbow-identifiers
scad-mode
sudo-utils
symex
treemacs
treemacs-evil
treemacs-icons-dired

View file

@ -0,0 +1,8 @@
{ pkgs }:
pkgs.google-chrome.override {
commandLineArgs = [
"--enable-features=UseOzonePlatform"
"--ozone-platform=wayland"
];
}

12
pkgs/slack/default.nix Normal file
View file

@ -0,0 +1,12 @@
{ pkgs }:
pkgs.slack.overrideAttrs (old: {
buildInputs = old.buildInputs ++ [ pkgs.makeWrapper ];
postInstall = old.postInstall or "" + ''
rm $out/bin/slack
makeWrapper $out/lib/slack/slack $out/bin/slack \
--prefix XDG_DATA_DIRS : $GSETTINGS_SCHEMAS_PATH \
--prefix PATH : ${pkgs.lib.makeBinPath [pkgs.xdg-utils]} \
--add-flags "--ozone-platform=wayland --enable-features=UseOzonePlatform,WebRTCPipeWireCapturer"
'';
})

View file

@ -1,5 +1,8 @@
{ stdenv, fetchzip, kernel }:
# if "Built-in-audio" (virtual device) is not shown in pavucontrol try the following
# pacmd load-module module-alsa-source device=hw:Loopback,1,0
stdenv.mkDerivation rec {
pname = "v4l2loopback-dc";
version = "0";