From 69cfb61b0bd85a41756ba798f8cdb18ef89cceef Mon Sep 17 00:00:00 2001 From: jay Date: Sun, 29 Jun 2025 01:17:41 -0400 Subject: [PATCH] Add Firefox configuration to common. --- nodes/hosts/common/configuration.nix | 5 +++++ nodes/hosts/common/firefox.nix | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 nodes/hosts/common/firefox.nix diff --git a/nodes/hosts/common/configuration.nix b/nodes/hosts/common/configuration.nix index 28cef33..864910e 100644 --- a/nodes/hosts/common/configuration.nix +++ b/nodes/hosts/common/configuration.nix @@ -1,8 +1,13 @@ { pkgs, ... }: { + imports = [ + ./firefox.nix + ]; + nixpkgs = { config.allowUnfree = true; }; + nix = { gc.options = "--delete-older-than 30d"; optimise.automatic = true; diff --git a/nodes/hosts/common/firefox.nix b/nodes/hosts/common/firefox.nix new file mode 100644 index 0000000..a4e5e16 --- /dev/null +++ b/nodes/hosts/common/firefox.nix @@ -0,0 +1,4 @@ +{ pkgs, ... }: { + programs.firefox.enable = true; +} +