Commit Graph

9 Commits

Author SHA1 Message Date
5c8c7aabef fix(hm-module,spaces): missing columns when Zen is opened before the spaces table is created
Appearently, opening Zen before the spaces service runs could cause the
table not having the theme columns. Because of this, the CREATE TABLE IF
NOT EXISTS query would not run, but the columns would still not be
present. This commit adds the column via a bash script plus an ALTER
TABLE query, mimicking more what Zen does in it JavaScript code.
2025-08-21 11:51:27 -03:00
Guz
012a0d2a0b feat(hm-module): [work]spaces declaration (#95) 2025-08-18 19:32:29 -05:00
isabel
dd212be919 refactor: package & config cleanup (#88)
* refactor(package): use package fetchers

builtin fetchers are blocking, therefore also slow. for packaging we
should use the package fetchers

* refactor: build the desktop file as a part of the package

* refactor(default.nix): remove redundant args

* refactor(flake.nix): remove duplicated code & rec

* fix(hm-module)!: typo in mkFireFoxmodule

* fix(hm-module): work with nixpkgs config `allowAliases = false;`

* fix: partial revert of 805c8f56e8

the `lib.mkDefault` was being ignored and the policies would never be
set. perhaps a better thing to do here would be to remove them
completly. otherwise this is the next best thing

* refactor(package): use `hash` over `sha256`

Co-authored-by: Seth Flynn <getchoo@tuta.io>
2025-08-17 13:53:45 -05:00
Dmitry Chermnykh
b5b7136bb6 Fix nativeMessagingHosts (#83)
* Fix nativeMessagingHosts

Something has changed in home-manager, so the nativeMessagingHosts option was broken

* re-format code
2025-08-09 16:34:36 +05:00
Dmitry Chermnykh
8c6b498af3 fix: policies handling (#50)
Changes:
- Fixes typo in libName for policies.json (used to be zen-$version instead of zen-bin-$version for a single file)
- Remove unneeded wrapFirefox arguments (the current defaults for wrapFirefox are good for us)
2025-04-18 16:40:51 -05:00
Luis Quiñones
805c8f56e8 feat: allow policies.json management via unwrapped package override (#49)
In previous iterations the browser were forced to have disabled updates but this
might create an undesirable behavior in tools like 1Password as you can see here:
https://github.com/0xc000022070/zen-browser-flake/issues/48

So I'm allowing to override the browser policies. This will only work for unwrapped packages.
2025-04-18 11:11:14 -05:00
Luis Quiñones
e356572091 style: nix code with alejandra format 2025-04-03 18:15:09 -05:00
Dmitry Chermnykh
8f64cd437e hm module: set policy properties with lib.mkDefault 2025-04-02 21:06:56 +05:00
Dmitry Chermnykh
ffb45b18bf rewrite 2025-04-02 20:18:24 +05:00