Various:
- 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:
parent
6791cb51a2
commit
f80edaffdb
12 changed files with 66 additions and 6 deletions
|
@ -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`
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
8
pkgs/google-chrome/default.nix
Normal file
8
pkgs/google-chrome/default.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ pkgs }:
|
||||
|
||||
pkgs.google-chrome.override {
|
||||
commandLineArgs = [
|
||||
"--enable-features=UseOzonePlatform"
|
||||
"--ozone-platform=wayland"
|
||||
];
|
||||
}
|
12
pkgs/slack/default.nix
Normal file
12
pkgs/slack/default.nix
Normal 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"
|
||||
'';
|
||||
})
|
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue