aboutsummaryrefslogtreecommitdiffstats
path: root/openspec/changes
diff options
context:
space:
mode:
Diffstat (limited to 'openspec/changes')
-rw-r--r--openspec/changes/archive/2026-09-21-add-firefox-bitwarden/.openspec.yaml2
-rw-r--r--openspec/changes/archive/2026-09-21-add-firefox-bitwarden/proposal.md29
-rw-r--r--openspec/changes/archive/2026-09-21-add-firefox-bitwarden/specs/desktop-applications/spec.md8
-rw-r--r--openspec/changes/archive/2026-09-21-add-firefox-bitwarden/tasks.md14
4 files changed, 53 insertions, 0 deletions
diff --git a/openspec/changes/archive/2026-09-21-add-firefox-bitwarden/.openspec.yaml b/openspec/changes/archive/2026-09-21-add-firefox-bitwarden/.openspec.yaml
new file mode 100644
index 0000000..563fab5
--- /dev/null
+++ b/openspec/changes/archive/2026-09-21-add-firefox-bitwarden/.openspec.yaml
@@ -0,0 +1,2 @@
1schema: spec-driven
2created: 2026-09-21
diff --git a/openspec/changes/archive/2026-09-21-add-firefox-bitwarden/proposal.md b/openspec/changes/archive/2026-09-21-add-firefox-bitwarden/proposal.md
new file mode 100644
index 0000000..c67dd12
--- /dev/null
+++ b/openspec/changes/archive/2026-09-21-add-firefox-bitwarden/proposal.md
@@ -0,0 +1,29 @@
1## Why
2
3The shared home-manager profile provisions chat/communication/music GUI apps (`desktop-applications`) and CLI tooling (`developer-environment`), but has no web browser and no password manager. Tom wants Firefox and Bitwarden (desktop app + CLI) available on any machine built from this flake without installing them by hand.
4
5## What Changes
6
7- Add `pkgs.firefox` and nixpkgs' current Bitwarden desktop client package (`pkgs.bitwarden-desktop` — the old `bitwarden` attribute was renamed upstream) to `modules/home/desktop-apps.nix`'s cross-platform app list, following the existing `lib.meta.availableOn` filtering pattern.
8- Add `pkgs.bitwarden-cli` to `modules/home/dev-tools.nix`'s CLI tool list, following the same pattern already used for `claude-code`.
9- No `lib/unfree-allowlist.nix` change: verified via `nix eval` against the flake's pinned `nixos-unstable` nixpkgs that `firefox` (MPL-2.0), `bitwarden-desktop` (GPL-3.0), and `bitwarden-cli` (GPL-3.0) are all free-licensed today, so `nixpkgs.config.allowUnfreePredicate` needs no new entries.
10- Explicitly **not** in scope (per user decision): no OS/XDG default-browser association (`xdg.mimeApps`) and no `programs.firefox` extension/policy management — Firefox extensions, including Bitwarden's, are expected to sync in via Firefox Sync login.
11- **BREAKING**: none — additive only.
12
13## Capabilities
14
15### New Capabilities
16(none)
17
18### Modified Capabilities
19- `desktop-applications`: add a requirement that Firefox and the Bitwarden desktop client are provisioned via the shared home profile alongside the existing Slack/Discord/Spotify/teams-for-linux apps.
20
21(`developer-environment` is unaffected at the requirement level: adding `bitwarden-cli` is already covered by its existing requirement that the shared profile "SHALL include the user's evidenced most-used CLI and client tools," the same reasoning used previously for `claude-code` — no requirement text changes needed.)
22
23## Impact
24
25- **Affected code**: `modules/home/desktop-apps.nix` (add firefox + bitwarden-desktop to `crossPlatformApps`), `modules/home/dev-tools.nix` (add bitwarden-cli to the CLI package list).
26- **Not affected**: `lib/unfree-allowlist.nix`, `lib/mkHome.nix`, `lib/mkNixos.nix` — all three new packages are free-licensed, so the existing `allowUnfreePredicate` wiring needs no changes.
27- **Dependencies**: nixpkgs' `firefox`, `bitwarden-desktop`, and `bitwarden-cli` packages (all already present in the pinned `nixos-unstable` input; no new flake inputs).
28- **Platforms**: all three packages have `aarch64-darwin` and `x86_64-linux`/`aarch64-linux` builds in nixpkgs today, so they're expected to be included on every currently-relevant target (`tom@linux`, `tom@darwin`) via the existing `lib.meta.availableOn` filter — no platform-specific gating (like teams-for-linux's Linux-only restriction) is needed for this change.
29- **Known limitation, out of scope**: no default-browser (XDG mime) or Firefox extension/policy management, by explicit user decision — see "What Changes".
diff --git a/openspec/changes/archive/2026-09-21-add-firefox-bitwarden/specs/desktop-applications/spec.md b/openspec/changes/archive/2026-09-21-add-firefox-bitwarden/specs/desktop-applications/spec.md
new file mode 100644
index 0000000..f20659d
--- /dev/null
+++ b/openspec/changes/archive/2026-09-21-add-firefox-bitwarden/specs/desktop-applications/spec.md
@@ -0,0 +1,8 @@
1## MODIFIED Requirements
2
3### Requirement: Desktop GUI applications are provisioned via the shared home profile
4The shared home-manager profile SHALL include Slack, Discord, Spotify, teams-for-linux, Firefox, and the Bitwarden desktop client as GUI application packages, available wherever that profile is activated and the underlying package supports the current system.
5
6#### Scenario: GUI app available after activation
7- **WHEN** the shared home profile is activated on a system for which a given desktop application's package is supported
8- **THEN** that application is available without any additional manual installation step
diff --git a/openspec/changes/archive/2026-09-21-add-firefox-bitwarden/tasks.md b/openspec/changes/archive/2026-09-21-add-firefox-bitwarden/tasks.md
new file mode 100644
index 0000000..fd8c418
--- /dev/null
+++ b/openspec/changes/archive/2026-09-21-add-firefox-bitwarden/tasks.md
@@ -0,0 +1,14 @@
1## 1. Add Firefox and Bitwarden desktop app to the shared home profile
2
3- [x] 1.1 In `modules/home/desktop-apps.nix`, add `pkgs.firefox` and `pkgs.bitwarden-desktop` to `crossPlatformApps` and verify `nix eval --impure --expr 'let pkgs = import <nixpkgs> {}; in [ pkgs.firefox pkgs.bitwarden-desktop ]'` resolves both packages without error.
4- [x] 1.2 Verify no `lib/unfree-allowlist.nix` change is needed by confirming `pkgs.firefox.meta.unfree` and `pkgs.bitwarden-desktop.meta.unfree` are both `false` against the flake's pinned nixpkgs (already confirmed during proposal against `nixos-unstable`; re-check if the flake lock has moved since).
5
6## 2. Add Bitwarden CLI to the shared developer tooling
7
8- [x] 2.1 In `modules/home/dev-tools.nix`, add `pkgs.bitwarden-cli` to the `home.packages` list (plain list entry, consistent with `gh`/`tmux`/etc. — no `lib.meta.availableOn` guard needed since `claude-code` is the only currently-gated entry and `bitwarden-cli` has broad platform support).
9
10## 3. Validate
11
12- [x] 3.1 Run `openspec validate add-firefox-bitwarden --strict` and confirm it passes.
13- [x] 3.2 Run `home-manager build --flake .#tom@linux` (or the equivalent for the platform available) and confirm the build succeeds with firefox, bitwarden-desktop, and bitwarden-cli present in the resulting profile's `home.packages`.
14- [x] 3.3 Run `nix flake check` and confirm it passes with no new evaluation errors.