rycee changed the topic of #home-manager to: Support and discussion around the Home Manager project (https://github.com/rycee/home-manager) | Logs: https://logs.nix.samueldr.com/home-manager
<Gopal-M> <inquisitiv3 "Gopal: I've already done that an"> Yeah, you have to enable it in `~/.config/nixpkgs/config.nix` too.
<Gopal-M> If you read the error message, it says that some nix utils read the global configuration while some read `~/.config/nixpkgs/config.nix`.
pie__ has quit [Ping timeout: 250 seconds]
Synthetica has joined #home-manager
<inquisitiv3> Gopal-M: I feels like we're talking past each other.
<inquisitiv3> I've `allowUnfree = true;` in my ~/.config/nixpkgs/config.nix AND `nixpkgs.config.allowUnfree = true;` in a file that I import in /etc/nixos/configuration.nix.
<Gopal-M> oh, alright
<Gopal-M> my bad
<inquisitiv3> Do you have any idea what could be the problem?
<Gopal-M> Can you send me a screenshot of the exact error?
<inquisitiv3> I can send you a paste if that's good with you?
<Gopal-M> Can you try putting `nixpkgs.config.allowUnfree = true;` directly inside your configuration.nix instead of importing a file that has it?
<inquisitiv3> Still get the error message
<Gopal-M> huh
<Gopal-M> I guess your last option is do: `NIXPKGS_ALLOW_UNFREE=1 nixos-rebuild switch` until someone more experienced in nix replies
<inquisitiv3> That doesn't seem to work either :/
<inquisitiv3> Thanks for your help!
pie__ has joined #home-manager
<Gopal-M> That's ridiculous. We've exhausted all three options suggested by the manual.
<inquisitiv3> That's the reason I added `home-manager.users.[user].nixpkgs.allowUnfree = true;` to my config.
<inquisitiv3> But the post by rycee was sent about a year and half ago, when the module was actively developed.
<inquisitiv3> ¯\_(ツ)_/¯
<Gopal-M> Perhaps you'll find something helpful if you look at my config
<Gopal-M> I'm also importing files and it works
<Gopal-M> Okay so when I create a firefox profile using home.programs.firefox.profiles, Firefox fails to find it and asks me to create a new one
<Gopal-M> When I make a new one, it is unable to save that info because profiles.ini is read only
ardumont has quit [Ping timeout: 252 seconds]
ardumont has joined #home-manager
<Synthetica> I'm trying to add home-manager to my config, but I can't get it to load: https://gist.github.com/Synthetica9/624c6fe484247ad9954b42cfb1ba3be6 fails with 'The option `programs.home-manager' defined in '...' does not exist.'
<inquisitiv3> Synthetica: Shouldn't the `{ ... }` part be before the let expression?
<Synthetica> inquisitiv3: Shouldn't matter if you're not using any of the arguments, but that doesn't work either
<inquisitiv3> Is the `imports` expression evaluated if you don't have any `home-manager.*` option set?
<Synthetica> It should be, I think?
<Synthetica> (This is imported from my system configuration.nix btw, if that matters)
<inquisitiv3> I'm doing something similar, but I use `builtints.fetchGit`.
<Synthetica> Hmm, weird
<Synthetica> (Re: my question from last night btw: here's how you can use SCSS to define colours to your heart's content and import them into Nix: https://gist.github.com/Synthetica9/385537a29c52479be85c4e764e05bfbf )
inquisitiv3 has quit [Ping timeout: 258 seconds]
<pie__> w-why
<Synthetica> To have consistent (and easily configurable) colors, and a DSL like SCSS is a lot more suited for that than Nix
<Synthetica> (And because I can :P)
pie__ has quit [Ping timeout: 272 seconds]
inquisitiv3 has joined #home-manager
pie__ has joined #home-manager
<pie__> on one hand, hmmm on the other hand, what even takes scss?
pie__ has quit [Remote host closed the connection]
pie__ has joined #home-manager