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 = { gc = {
automatic = true; automatic = true;
options = "--delete-older-than 7d"; options = "--delete-older-than 7d";
dates = "15:00"; dates = "22:00";
}; };
extraOptions = '' extraOptions = ''
keep-outputs = true keep-outputs = true

View File

@ -38,13 +38,15 @@ in {
]; ];
extraSessionCommands = '' extraSessionCommands = ''
export MOZ_ENABLE_WAYLAND=1 export MOZ_ENABLE_WAYLAND=1
export MOZ_DBUS_REMOTE=1 export MOZ_USE_XINPUT2=1
export GRIM_DEFAULT_DIR=/home/coolneng/Photos/Screenshots export GRIM_DEFAULT_DIR=/home/coolneng/Photos/Screenshots
export _JAVA_AWT_WM_NONREPARENTING=1 export _JAVA_AWT_WM_NONREPARENTING=1
export QT_QPA_PLATFORM=wayland export QT_QPA_PLATFORM=wayland
export QT_WAYLAND_DISABLE_WINDOWDECORATION="1" export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
export SDL_VIDEODRIVER=wayland export SDL_VIDEODRIVER=wayland
export GTK_THEME=Adapta-Eta 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 # Integrate pass with the browser
programs.browserpass.enable = true; 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 gitAndTools.pass-git-helper
pinentry-gtk2 pinentry-gtk2
# Browsers # Browsers
firefox firefox-wayland
ungoogled-chromium ungoogled-chromium
# LaTeX # LaTeX
texlive.combined.scheme-full texlive.combined.scheme-full
@ -81,6 +81,8 @@
## Python ## Python
nodePackages.pyright nodePackages.pyright
black black
# C/C++
clang-tools
]; ];
# Fonts declaration # Fonts declaration