Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need help, NixOS-config doesn't build #42

Closed
theRoboxx opened this issue Dec 27, 2023 · 4 comments
Closed

Need help, NixOS-config doesn't build #42

theRoboxx opened this issue Dec 27, 2023 · 4 comments

Comments

@theRoboxx
Copy link

Hi, I'm new to nix and NixOS and would like to use this firefox option to add the user.js automatically.
Unfortunately, I think I missed something from your documentation because there is an error while building the config.

I added this part to my config and don't know what else I should do to fix the problem:

# firefox.nix 
{ pkgs, inputs,  ... }:
{
  programs.firefox = {
    enable = true;
    arkenfox = {
      enable = true;
      version = "119.0";
    };

    profiles.testing = {
    
      arkenfox = {
        enable = true;
      };
    };
  };
}

And this is the error:

error: The option `home-manager.users.tom.programs.firefox.arkenfox' does not exist. Definition values:
       - In `/home/tom/.dotfiles/nixos-config/firefox.nix':
           {
             enable = true;
             version = "119.0";
           }

How do I enable this option for home-manager?

@theRoboxx
Copy link
Author

theRoboxx commented Dec 27, 2023

Nethermind I'm blind, the answer was posted here: #38 (comment)

@dwarfmaster Could you please add this to the README.md?

@storopoli
Copy link

storopoli commented Dec 27, 2023

@theRoboxx
Copy link
Author

https://github.com/storopoli/flakes/blob/8f2be991a0a2b56d6bb4410aa5a985e69535cc29/flake.nix#L104

This line fixed the import error. Thank you very much 😃

@dwarfmaster
Copy link
Owner

I did not include in the documentation how to import the home-manager module because I assumed it actually depends on how precisely your configuration is setup, and is not specific to arkenfox-nixos. However, you are at least the third person I am aware of that had a problem with this step, so I'll try to add something to the documentation when I have the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants