Compare commits
3 Commits
3d6b1cdd84
...
3cabb1a700
Author | SHA1 | Date | |
---|---|---|---|
3cabb1a700 | |||
6bdd7be056 | |||
9e9d70785b |
@ -74,6 +74,7 @@
|
||||
vulkan-validation-layers
|
||||
wget
|
||||
wirelesstools
|
||||
wol
|
||||
xdg-utils
|
||||
zip
|
||||
z-lua
|
||||
|
@ -5,6 +5,11 @@
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
qutebrowser_firejail = pkgs.writeShellScriptBin "qutebrowser" ''
|
||||
firejail -- ${pkgs.qutebrowser}/bin/qutebrowser "$@"
|
||||
'';
|
||||
in
|
||||
with lib; {
|
||||
imports = [./zsh.nix ./i3status-rust.nix ./sway.nix ./i3.nix ./home_packages.nix ./whatsapp-for-linux.nix];
|
||||
|
||||
@ -28,7 +33,7 @@ with lib; {
|
||||
fonts.fontconfig.enable = true;
|
||||
|
||||
home.sessionVariables = rec {
|
||||
BROWSER = "${pkgs.qutebrowser}/bin/qutebrowser";
|
||||
BROWSER = "${qutebrowser_firejail}/bin/qutebrowser";
|
||||
DEFAULT_BROWSER = "${BROWSER}";
|
||||
EDITOR = "nvim";
|
||||
_JAVA_AWT_WM_NONREPARENTING = "1";
|
||||
@ -140,7 +145,7 @@ with lib; {
|
||||
|
||||
qutebrowser = {
|
||||
enable = true;
|
||||
package = pkgs.qutebrowser.override {enableVulkan = false;};
|
||||
package = qutebrowser_firejail;
|
||||
keyBindings = {
|
||||
normal = {
|
||||
"j" = "scroll-px 0 25";
|
||||
|
@ -11,6 +11,14 @@
|
||||
chromium_discord = pkgs.writeShellScriptBin "chromium_discord" ''
|
||||
${pkgs.chromium}/bin/chromium --socket=wayland org.chromium.Chromium --app=https://discordapp.com/channels/@me
|
||||
'';
|
||||
ssh_proxy = pkgs.writeShellScriptBin "ssh_proxy" ''
|
||||
if ${pkgs.coreutils}/bin/test $# -ne 1; then
|
||||
echo "Usage: $0 <user>@<ssh_host>"
|
||||
exit
|
||||
fi
|
||||
PROXY_PORT="1337"
|
||||
${pkgs.openssh}/bin/ssh -D "$PROXY_PORT" -q -N "$@"
|
||||
'';
|
||||
in {
|
||||
home.packages = with pkgs;
|
||||
[
|
||||
@ -25,8 +33,6 @@ in {
|
||||
caddy
|
||||
cargo
|
||||
chromium
|
||||
chromium_discord
|
||||
chromium_teams
|
||||
cmake
|
||||
compsize
|
||||
cura
|
||||
@ -106,6 +112,11 @@ in {
|
||||
zeal-qt6
|
||||
zig
|
||||
]
|
||||
++ [
|
||||
chromium_discord
|
||||
chromium_teams
|
||||
ssh_proxy
|
||||
]
|
||||
++ [
|
||||
inputs.swaysw.packages.${system}.swaysw
|
||||
(pkgs.callPackage ../packages/viber/default.nix {})
|
||||
|
Loading…
Reference in New Issue
Block a user