Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

petrkozorezov/arkenfox-userjs-nix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

5 Commits

Repository files navigation

arkenfox/user.js nix

This is the daily auto updated nix version of arkenfox/user.js.

Usage with Home-manager

  1. follow the manual to set up home-manager with flakes
  2. add flake input
  3. pass flake input to extraSpecialArgs
  4. add settings to Firefox profile(s)

flake.nix

{
 inputs = {
 nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
 home-manager = {
 url = "github:nix-community/home-manager";
 inputs.nixpkgs.follows = "nixpkgs";
 };
 arkenfox-userjs.url = "github:petrkozorezov/arkenfox-userjs-nix";
 };
 outputs = inputs@{ nixpkgs, home-manager, ... }: {
 homeConfigurations.my-user = home-manager.lib.homeManagerConfiguration {
 pkgs = nixpkgs.legacyPackages.x86_64-linux;
 extraSpecialArgs = { inherit inputs; };
 modules = [
 { pkgs, inputs, ... }: {
 programs.firefox = {
 enable = true;
 profiles.myprofile.settings = inputs.arkenfox-userjs.lib.userjs // {
 # your overrides here, e.g.
 "browser.startup.page" = 3; # restore session
 };
 };
 }
 ];
 };
 };
}

About

The daily auto updated nix version of arkenfox/user.js.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Contributors 2

AltStyle によって変換されたページ (->オリジナル) /