mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 18:53:54 -05:00
defaultApps: fuse finalpackage from firefox as default
Some checks are pending
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-build / slateport-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
Some checks are pending
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-build / slateport-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
This commit is contained in:
parent
42d42b10e3
commit
580bb60f8c
|
@ -7,6 +7,7 @@
|
|||
config = lib.mkIf config.ar.home.apps.firefox.enable {
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
|
||||
nativeMessagingHosts =
|
||||
lib.optionals (config.ar.home.desktop.gnome.enable) [pkgs.gnome-browser-connector]
|
||||
++ lib.optional (config.ar.home.apps.keepassxc.enable) pkgs.keepassxc;
|
||||
|
|
|
@ -25,7 +25,7 @@ in {
|
|||
terminal
|
||||
terminalEditor
|
||||
videoPlayer
|
||||
# webBrowser
|
||||
webBrowser
|
||||
];
|
||||
|
||||
sessionVariables = {
|
||||
|
|
|
@ -85,7 +85,12 @@ in {
|
|||
terminal = lib.mkPackageOption pkgs "terminal emulator" {default = ["kitty"];};
|
||||
terminalEditor = lib.mkPackageOption pkgs "terminal text editor" {default = ["vim"];};
|
||||
videoPlayer = lib.mkPackageOption pkgs "video player" {default = ["celluloid"];};
|
||||
webBrowser = lib.mkPackageOption pkgs "web browser" {default = ["firefox"];};
|
||||
|
||||
webBrowser = lib.mkOption {
|
||||
description = "web browser";
|
||||
default = config.programs.firefox.finalPackage;
|
||||
type = lib.types.package;
|
||||
};
|
||||
};
|
||||
|
||||
desktop = {
|
||||
|
|
Loading…
Reference in a new issue