Browse Source

element

master
parent
commit
6db7493112
Signed by: govanify <gauvain@govanify.com> GPG Key ID: DE62E1E2A6145556
4 changed files with 11 additions and 8 deletions
  1. +5
    -5
      common/graphical.nix
  2. +3
    -0
      common/security.nix
  3. +1
    -1
      dotfiles/graphical/sway-laptop/config
  4. +2
    -2
      dotfiles/graphical/sway/config

+ 5
- 5
common/graphical.nix View File

@@ -33,7 +33,7 @@
# art
blender krita kdenlive ardour
# stem
freecad kicad wireshark
freecad kicad wireshark sourcetrail
# recording/streaming
obs-studio obs-wlrobs

@@ -78,18 +78,18 @@
}
)
# matrix
riot-desktop
element-desktop
(
pkgs.writeTextFile {
name = "riot-x11";
destination = "/bin/riot-x11";
name = "element-x11";
destination = "/bin/element-x11";
executable = true;
text = ''
#! ${pkgs.bash}/bin/bash
# Electron sucks
GDK_BACKEND=x11
# then start the launcher
exec riot-desktop
exec element-desktop
'';
}
)


+ 3
- 0
common/security.nix View File

@@ -21,6 +21,9 @@ in {

security.allowUserNamespaces = true;

# temporary to debug wifi
#security.lockKernelModules = false;

# it seems that linux nowadays won't allow you to disable the jit
boot.kernel.sysctl."net.core.bpf_jit_enable" = true;


+ 1
- 1
dotfiles/graphical/sway-laptop/config View File

@@ -19,7 +19,7 @@ output eDP-1 scale 2.0
# all you need to have a good day
exec swaymsg "workspace 1; exec ibus-daemon -dr"
exec swaymsg "workspace 1; exec firefox"
exec swaymsg "workspace 3; exec riot-x11"
exec swaymsg "workspace 3; exec element-x11"
exec swaymsg "workspace 2; exec termite -e tmux"

# ui chrome


+ 2
- 2
dotfiles/graphical/sway/config View File

@@ -22,7 +22,7 @@ output HDMI-A-2 pos 0 0 res 1920x1080
# all you need to have a good day
exec swaymsg "workspace 1; exec ibus-daemon -dr"
exec swaymsg "workspace 1; exec firefox"
exec swaymsg "workspace 3; exec riot-x11"
exec swaymsg "workspace 3; exec element-x11"
exec swaymsg "workspace 2; exec termite -e tmux"

# ui chrome
@@ -40,7 +40,7 @@ input "2:14:ETPS/2_Elantech_Touchpad" {
}

input "5426:515:Razer_Razer_BlackWidow_Chroma" {
xkb_layout "fr"
xkb_layout "fr(nodeadkeys)"
}

#


Loading…
Cancel
Save