removed firefox from nix, changed sway config

Turns out the firefox nix package had no HW accel due to a limitation in
Nix user packages. Using the flatpak for the time being until I can
figure out why xdg-portals doesn't work for the official package.
Works fine with flatpak, but im not happy i lose that package
declaration
This commit is contained in:
Ryan 2023-05-30 23:27:30 -04:00
parent 83c40b768b
commit 8d6b94c5bb
Signed by: ryan77627
GPG key ID: 81B0E222A3E2308E
3 changed files with 9 additions and 11 deletions

View file

@ -27,13 +27,6 @@
# # Adds the 'hello' command to your environment. It prints a friendly # # Adds the 'hello' command to your environment. It prints a friendly
# # "Hello, world!" when run. # # "Hello, world!" when run.
# pkgs.hello # pkgs.hello
firefox
dejavu_fonts
cantarell-fonts
liberation_ttf
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
yt-dlp yt-dlp
# # It is sometimes useful to fine-tune packages, for example, by applying # # It is sometimes useful to fine-tune packages, for example, by applying

View file

@ -314,10 +314,10 @@ exec syncthing serve --no-browser
# Force various windows to be floating # Force various windows to be floating
# Firefox PIP YT Player # Firefox PIP YT Player
for_window [app_id="firefox-default" title="^Picture-in-Picture$"] floating enable, resize set 578 326, border none, sticky enable for_window [app_id="firefox" title="^Picture-in-Picture$"] floating enable, resize set 578 326, border none, sticky enable
# Duo 2FA # Duo 2FA
for_window [app_id="firefox-default" title="^Activate Security Key — Mozilla Firefox$"] floating enable for_window [app_id="firefox" title="^Activate Security Key — Mozilla Firefox$"] floating enable
for_window [app_id="firefox-default" title="^Nightly — Sharing Indicator$"] floating enable, resize set 18 52, border none, move position center, move y 0px for_window [app_id="firefox" title="^Firefox — Sharing Indicator$"] floating enable, resize set 18 52, border none, move position center, move y 0px
# Qjackctl # Qjackctl
for_window [app_id="qjackctl"] floating enable for_window [app_id="qjackctl"] floating enable
# Weather Window # Weather Window

View file

@ -134,6 +134,7 @@
"libvirt" "libvirt"
"virt-manager" "virt-manager"
"wireplumber" "wireplumber"
"wireshark"
"zsh")) "zsh"))
(list my-ca-certs xdg-desktop-portal-wlr-new swaylock-effects-new) (list my-ca-certs xdg-desktop-portal-wlr-new swaylock-effects-new)
%my-base-packages )) %my-base-packages ))
@ -187,6 +188,10 @@
;(specification->package "swaylock-effects") ;(specification->package "swaylock-effects")
swaylock-effects-new swaylock-effects-new
"/bin/swaylock")) "/bin/swaylock"))
(file-like->setuid-program
(file-append
(specification->package "wireshark")
"/bin/dumpcap"))
(file-like->setuid-program (file-like->setuid-program
(file-append (file-append
(specification->package "opendoas") (specification->package "opendoas")