update niri

This commit is contained in:
EdenQwQ 2026-06-01 12:58:09 +08:00
parent b1ce87fbf9
commit f0ba537f6f
5 changed files with 38 additions and 11 deletions

28
flake.lock generated
View file

@ -997,6 +997,21 @@
"type": "github"
}
},
"nixpkgs-mozilla": {
"locked": {
"lastModified": 1774550046,
"narHash": "sha256-sgbaoy4molgqDLS24CmycN5v4b9FKt0YtALkfVhCWps=",
"owner": "mozilla",
"repo": "nixpkgs-mozilla",
"rev": "58356aa021c5d2f53958c3405e0ce4b8ea3dca44",
"type": "github"
},
"original": {
"owner": "mozilla",
"repo": "nixpkgs-mozilla",
"type": "github"
}
},
"nixpkgs-r": {
"locked": {
"lastModified": 1773964973,
@ -1362,11 +1377,11 @@
"treefmt-nix": "treefmt-nix_2"
},
"locked": {
"lastModified": 1777773024,
"narHash": "sha256-pLU+KB84A0Jei/vTD6pOS4Ovkmq3QDfPQHg1MlKsRqM=",
"lastModified": 1778377995,
"narHash": "sha256-uUzHDHqQF1rdVNiTa05L0mML3/d7fpbAShjCRWxbrBQ=",
"owner": "noctalia-dev",
"repo": "noctalia-qs",
"rev": "d3e26ccd9eecde9139be00caf5dc2d4260fb31ee",
"rev": "d8327a723eed6dd9aebe8e0b162126f390e827df",
"type": "github"
},
"original": {
@ -1383,11 +1398,11 @@
"noctalia-qs": "noctalia-qs"
},
"locked": {
"lastModified": 1778104114,
"narHash": "sha256-+tbqLv7IW5Aem8kGF6cp4n3MtNBcwqmuGlMt6S1kQjs=",
"lastModified": 1778830602,
"narHash": "sha256-5HKL37GkJNRHsU8GS38UshBY7UyvTOQim2L4quSYGfE=",
"owner": "noctalia-dev",
"repo": "noctalia-shell",
"rev": "eb2b53ddaa7564f5c93031cbe65cd5b6ef3c12a9",
"rev": "13964255121d100a7306e76a28010f19e8b33a1a",
"type": "github"
},
"original": {
@ -1685,6 +1700,7 @@
"nixGL": "nixGL",
"nixd": "nixd",
"nixpkgs": "nixpkgs_13",
"nixpkgs-mozilla": "nixpkgs-mozilla",
"nixpkgs-r": "nixpkgs-r",
"nixpkgs-stable": "nixpkgs-stable_2",
"nixpkgs-wayland": "nixpkgs-wayland",

View file

@ -107,5 +107,6 @@
awww.url = "git+https://codeberg.org/LGFae/awww";
waydeeper.url = "github:EdenQwQ/waydeeper";
hermes-agent.url = "github:NousResearch/hermes-agent";
nixpkgs-mozilla.url = "github:mozilla/nixpkgs-mozilla";
};
}

View file

@ -2,19 +2,20 @@
{
programs.firefox = {
enable = true;
# package = pkgs.latest.firefox-nightly-bin;
configPath = ".mozilla/firefox";
profiles.default = {
isDefault = true;
settings = {
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
"browser.tabs.drawInTitlebar" = true;
"browser.tabs.groups.enabled" = true;
"browser.tabs.groups.smart.enabled" = true;
"svg.context-properties.content.enabled" = true;
};
};
};
stylix.targets.firefox.enable = true;
stylix.targets.firefox.firefoxGnomeTheme.enable = true;
stylix.targets.firefox.profileNames = [ "default" ];
stylix.targets.firefox = {
enable = true;
firefoxGnomeTheme.enable = true;
profileNames = [ "default" ];
};
}

View file

@ -15,6 +15,14 @@ let
xray true
blur true
}
popups {
opacity 0.75
geometry-corner-radius 15
background-effect {
xray false
blur true
}
}
}
window-rule {
match is-floating=true

View file

@ -43,4 +43,5 @@
inherit (inputs.niri.overlays) niri;
nur = inputs.nur.overlays.default;
nix-matlab = inputs.nix-matlab.overlay;
inherit (inputs.nixpkgs-mozilla.overlays) firefox;
}