Compare commits

...

3 Commits

Author SHA1 Message Date
0f0659c9f4
Add clang-tools to packages 2020-11-14 16:12:46 +01:00
f46aee72b4
Schedule Nix garbage collection at 22:00 2020-11-14 16:11:38 +01:00
56f4729941
Enable WebRTC screensharing 2020-11-14 16:11:00 +01:00
3 changed files with 16 additions and 4 deletions

View File

@ -37,7 +37,7 @@
gc = {
automatic = true;
options = "--delete-older-than 7d";
dates = "15:00";
dates = "22:00";
};
extraOptions = ''
keep-outputs = true

View File

@ -38,13 +38,15 @@ in {
];
extraSessionCommands = ''
export MOZ_ENABLE_WAYLAND=1
export MOZ_DBUS_REMOTE=1
export MOZ_USE_XINPUT2=1
export GRIM_DEFAULT_DIR=/home/coolneng/Photos/Screenshots
export _JAVA_AWT_WM_NONREPARENTING=1
export QT_QPA_PLATFORM=wayland
export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
export SDL_VIDEODRIVER=wayland
export GTK_THEME=Adapta-Eta
export XDG_SESSION_TYPE=wayland
export XDG_CURRENT_DESKTOP=sway
'';
};
@ -120,4 +122,12 @@ in {
# Integrate pass with the browser
programs.browserpass.enable = true;
# Enable WebRTC screensharing
services.pipewire.enable = true;
xdg.portal = {
enable = true;
gtkUsePortal = true;
extraPortals = with pkgs; [ xdg-desktop-portal-wlr xdg-desktop-portal-gtk ];
};
}

View File

@ -12,7 +12,7 @@
gitAndTools.pass-git-helper
pinentry-gtk2
# Browsers
firefox
firefox-wayland
ungoogled-chromium
# LaTeX
texlive.combined.scheme-full
@ -81,6 +81,8 @@
## Python
nodePackages.pyright
black
# C/C++
clang-tools
];
# Fonts declaration