diff --git a/modules/programs/firefox.nix b/modules/programs/firefox.nix index d84d3b2..7dc882a 100644 --- a/modules/programs/firefox.nix +++ b/modules/programs/firefox.nix @@ -1,7 +1,7 @@ # Reference https://discourse.nixos.org/t/declare-firefox-extensions-and-settings/36265 { lib, config, ... }: -{ - programs.firefox = lib.mkIf config.programs.firefox.enable { +lib.mkIf config.programs.firefox.enable { + programs.firefox = { preferencesStatus = "locked"; preferences = { "browser.bookmarks.restore_default_bookmarks" = false; diff --git a/modules/programs/steam.nix b/modules/programs/steam.nix index 78124dc..280c7ff 100644 --- a/modules/programs/steam.nix +++ b/modules/programs/steam.nix @@ -4,8 +4,8 @@ config, ... }: -{ - programs.steam = lib.mkIf config.programs.steam.enable { +lib.mkIf config.programs.steam.enable { + programs.steam = { gamescopeSession.enable = true; extest.enable = true; localNetworkGameTransfers.openFirewall = true; diff --git a/modules/programs/thunderbird.nix b/modules/programs/thunderbird.nix index 4917a76..2606f5a 100644 --- a/modules/programs/thunderbird.nix +++ b/modules/programs/thunderbird.nix @@ -1,6 +1,6 @@ { lib, config, ... }: -{ - programs.thunderbird = lib.mkIf config.programs.thunderbird.enable { +lib.mkIf config.programs.thunderbird.enable { + programs.thunderbird = { preferencesStatus = "locked"; preferences = { "mail.biff.play_sound" = false;