chore: update flake & niri blur

This commit is contained in:
danny 2026-03-06 17:06:53 +08:00
parent 601dfb9217
commit 98b4f598f8
36 changed files with 516 additions and 317 deletions

View file

@ -1,12 +1,10 @@
{
inputs,
pkgs,
lib,
...
}:
let
inherit (pkgs.stdenv.hostPlatform) system;
inherit (lib) mkDefault;
ghosttyShaders = pkgs.fetchFromGitHub {
owner = "sahaj-b";
@ -28,9 +26,9 @@ in
"${ghosttyShaders}/ripple_cursor.glsl"
];
unfocused-split-opacity = 0.85;
unfocused-split-opacity = 0.65;
desktop-notifications = true;
background-opacity = mkDefault 0.6;
background-opacity = 0.5;
background-blur = 20;
wait-after-command = false;

View file

@ -3,12 +3,10 @@
config,
helper,
pkgs,
lib,
...
}:
let
inherit (osConfig.systemConf) username;
inherit (lib) mkForce;
inherit (helper) capitalize;
inherit (pkgs) runCommand;
@ -39,6 +37,7 @@ let
in
{
programs.zen-browser = {
suppressXdgMigrationWarning = true;
enable = true;
languagePacks = [
"en-US"
@ -137,15 +136,19 @@ in
};
};
home.file.".zen/${profileName}/zen-keyboard-shortcuts.json".source =
xdg.configFile."zen/${profileName}/zen-keyboard-shortcuts.json".source =
../config/zen/zen-keyboard-shortcuts.json;
home.file.".zen/${profileName}/chrome" = {
xdg.configFile."zen/${profileName}/chrome" = {
source = patchedNebula;
recursive = true;
};
home.file.".zen/${profileName}/search.json.mozlz4".force = mkForce true;
systemd.user.tmpfiles.rules = [
''
L+ ${config.home.homeDirectory}/.zen - - - - ${config.home.homeDirectory}/.config/zen
''
];
xdg.mimeApps =
let