diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index 22b1de7..f83ef00 100755 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -36,6 +36,7 @@ ../../modules/nixos/development.nix ../../modules/nixos/user.nix ../../hostsModules/laptop/nixos/user.nix ../../modules/nixos/notifications.nix + ../../modules/nixos/browser.nix ]; qt.enable = true; @@ -74,7 +75,6 @@ pkgs-unstable.vimPluginsUpdater # used for building plugins hyprcursor vial # Open-source GUI and QMK fork for configuring your keyboard in real time - chromium # used only to flash the firmware on my framework laptop 16 (keyboard.frame.work) as only chromium based browser support webHID. capitaine-cursors-themed # cursor theme usbutils # used for lsusb # used for the framework 16 laptop @@ -92,7 +92,6 @@ # this is more up to date #(callPackage ../../modules/packages/vivify.nix {}) #(callPackage ../../modules/packages/sbb-tui.nix {}) - pkgs-unstable.tor-browser pkgs-unstable.bitwarden-desktop ]; diff --git a/hosts/laptop/home.nix b/hosts/laptop/home.nix index f4f78ca..dbd685f 100755 --- a/hosts/laptop/home.nix +++ b/hosts/laptop/home.nix @@ -72,7 +72,6 @@ (pkgs.callPackage ../../modules/scripts/colorpicker.nix {}) (pkgs.callPackage ../../modules/scripts/killall.nix {}) # kill all windows except focused window (pkgs.callPackage ../../modules/scripts/tomato.nix {}) - (pkgs.callPackage ../../modules/scripts/librewolfprofiles.nix {}) (pkgs.callPackage ../../modules/scripts/btm.nix {}) (pkgs.callPackage ../../modules/scripts/trimmer.nix {}) (pkgs.callPackage ../../modules/scripts/syllabes.nix {}) # python script to get number of syllabes in french diff --git a/modules/nixos/browser.nix b/modules/nixos/browser.nix new file mode 100644 index 0000000..63ad142 --- /dev/null +++ b/modules/nixos/browser.nix @@ -0,0 +1,14 @@ +# configuration for main browser is in ../home-manager/librewolf.nix +# configuration for qutebrowser is in ../home-manager/vivify.nix +{ + pkgs, + pkgs-unstable, + ... +}: +{ + environment.systemPackages = with pkgs; [ + chromium # used only to flash the firmware on my framework laptop 16 (keyboard.frame.work) as only chromium based browser support webHID. + pkgs-unstable.tor-browser + (pkgs.callPackage ../../modules/scripts/librewolfprofiles.nix {}) # fzf librewolf profile selector + ]; +}