Skip to content

Commit

Permalink
[nixos] firefox with PWAs
Browse files Browse the repository at this point in the history
  • Loading branch information
pSub committed Jun 9, 2024
1 parent 451c8a7 commit d9f6b9d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
1 change: 0 additions & 1 deletion nix/.config/nixpkgs/config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ in
exercism
feh
filezilla
firefox
gimp
thunderbird
k3b
Expand Down
8 changes: 8 additions & 0 deletions nixos/x220/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,13 @@ in
thunar-archive-plugin
];

# Firefox with PWAs
programs.firefox = {
enable = true;
package = pkgs.firefox;
nativeMessagingHosts.packages = [ pkgs.firefoxpwa ];
};

# Firewall
networking.firewall.enable = true;

Expand All @@ -241,6 +248,7 @@ in
exfat
dconf
bashInteractive
firefoxpwa
lsof
zile
];
Expand Down
2 changes: 1 addition & 1 deletion scripts/bin/telegram
Original file line number Diff line number Diff line change
@@ -1 +1 @@
brave -app=https://web.telegram.org/k
firefoxpwa site launch 01HZZDRGJ9MS83HN6YA8K68FMG
2 changes: 1 addition & 1 deletion x11/.xmonad/xmonad.hs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ myManageHook = composeAll
[ isFullscreen --> doFullFloat
, isDialog --> doCenterFloat
, className =? "superProductivity" --> doShift (myWorkspaces !! 0)
, appName =? "web.telegram.org__k" --> doShift (myWorkspaces !! 5)
, className =? "FFPWA-01HZZDRGJ9MS83HN6YA8K68FMG" --> doShift (myWorkspaces !! 5)
, className =? "Signal" --> doShift (myWorkspaces !! 5)
, className =? "thunderbird" --> doShift (myWorkspaces !! 6)
, className =? "firefox" --> doShift (myWorkspaces !! 1)
Expand Down

0 comments on commit d9f6b9d

Please sign in to comment.