add restruct2

This commit is contained in:
cnst
2024-06-27 18:18:19 +02:00
parent 81e269fade
commit 82a4545886
20 changed files with 81 additions and 15 deletions

View File

@@ -0,0 +1,27 @@
{
pkgs,
lib,
config,
inputs,
...
}:
let
firefoxFlake = inputs.firefox-nightly.packages.${pkgs.stdenv.hostPlatform.system};
_firefoxNightly = firefoxFlake.firefox-nightly-bin;
_chrome = pkgs.google-chrome.override { commandLineArgs = [ "--force-dark-mode" ]; };
in
{
home.packages = lib.mkMerge [
(lib.mkIf (pkgs.hostPlatform.system == "x86_64-linux") (
with pkgs;
[
# browsers
_firefoxNightly
pkgs.firefox-bin
_chrome
]
))
];
}