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