From 69077e06382bbba20194302312702abedfc2fbc2 Mon Sep 17 00:00:00 2001 From: moons Date: Thu, 8 Oct 2026 03:07:42 +0900 Subject: [PATCH] firefox --- AGENTS.md | 2 ++ modules/applications/firefox/darwin.nix | 6 ++++++ modules/applications/firefox/home/nixos.nix | 3 +++ modules/profiles/README.md | 3 +++ modules/profiles/workload/personal/meta.nix | 1 + 5 files changed, 15 insertions(+) create mode 100644 modules/applications/firefox/darwin.nix create mode 100644 modules/applications/firefox/home/nixos.nix diff --git a/AGENTS.md b/AGENTS.md index 731349a..8a5b516 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -697,6 +697,8 @@ chooses CUDA support from the NVIDIA hardware unit's enable state and keeps the default CUDA targets, including RTX 3060 Ti support, to reuse binary caches. galleria and x1g13 select `workload.network-lab` for containerlab, Docker, and the NanoKVM-USB desktop client with serial-port access. +`workload.personal` selects Chrome and Firefox for x1g9, x1g13, galleria, and +m2. Firefox uses Home Manager on NixOS and a Homebrew cask on macOS. m2 is the daily-use macOS development and personal machine with the macOS interface defaults. Keep the desktop sessions independently selectable, and keep the development and personal profiles usable across NixOS and Darwin. diff --git a/modules/applications/firefox/darwin.nix b/modules/applications/firefox/darwin.nix new file mode 100644 index 0000000..72076b2 --- /dev/null +++ b/modules/applications/firefox/darwin.nix @@ -0,0 +1,6 @@ +{ + homebrew = { + enable = true; + casks = [ "firefox" ]; + }; +} diff --git a/modules/applications/firefox/home/nixos.nix b/modules/applications/firefox/home/nixos.nix new file mode 100644 index 0000000..6ff63b3 --- /dev/null +++ b/modules/applications/firefox/home/nixos.nix @@ -0,0 +1,3 @@ +_: { + programs.firefox.enable = true; +} diff --git a/modules/profiles/README.md b/modules/profiles/README.md index ca5e404..f28589d 100644 --- a/modules/profiles/README.md +++ b/modules/profiles/README.md @@ -89,6 +89,9 @@ galleria's RTX 3060 Ti. OpenCL drivers remain owned by hardware units. service account with the narrowly scoped passwordless commands required for deploy-rs activation and rollback confirmation. +`workload.personal` provides Chrome and Firefox on both NixOS and macOS. +Firefox uses Home Manager on NixOS and a Homebrew cask on macOS. + `workload.personal` provides Pear Desktop on both NixOS and macOS. Home Manager enables performance improvements, synced lyrics, tracker blocking, the album color theme, and custom output-device selection while preserving user-owned diff --git a/modules/profiles/workload/personal/meta.nix b/modules/profiles/workload/personal/meta.nix index 923eb05..47ac4e3 100644 --- a/modules/profiles/workload/personal/meta.nix +++ b/modules/profiles/workload/personal/meta.nix @@ -7,6 +7,7 @@ "applications.chrome" "applications.discord" "applications.ffmpeg" + "applications.firefox" "applications.gnome-text-editor" "applications.kde" "applications.moonlight"