|
@ -481,6 +481,7 @@ nixos = nixpkgs.lib.nixosSystem { |
|
|
<<module-hugo>> |
|
|
<<module-hugo>> |
|
|
<<module-flakes>> |
|
|
<<module-flakes>> |
|
|
<<module-cachix>> |
|
|
<<module-cachix>> |
|
|
|
|
|
<<module-firefox>> |
|
|
<<module-home-manager>> |
|
|
<<module-home-manager>> |
|
|
]; |
|
|
]; |
|
|
}; |
|
|
}; |
|
@ -795,12 +796,17 @@ in { |
|
|
|
|
|
|
|
|
#+BEGIN_SRC nix :noweb yes :tangle modules/firefox.nix |
|
|
#+BEGIN_SRC nix :noweb yes :tangle modules/firefox.nix |
|
|
# <<file-warning>> |
|
|
# <<file-warning>> |
|
|
{ pkgs, ... }: |
|
|
|
|
|
|
|
|
{ config, pkgs, ... }: |
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
|
let |
|
|
|
|
|
myFirefox = pkgs.writeShellScriptBin "firefox" '' |
|
|
|
|
|
HOME=~/.local/share/mozilla ${pkgs.firefox-bin}/bin/firefox |
|
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
|
|
in { |
|
|
# NOTE: Use the binary until module is developed. |
|
|
# NOTE: Use the binary until module is developed. |
|
|
environment.systemPackages = [ |
|
|
environment.systemPackages = [ |
|
|
pkgs.firefox-bin |
|
|
|
|
|
|
|
|
myFirefox |
|
|
]; |
|
|
]; |
|
|
} |
|
|
} |
|
|
#+END_SRC |
|
|
#+END_SRC |
|
|