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

How did you get the firefox sidebar "Full configuration of Neovim on NixOS (Treesitter, native lsp, and more!)" video? #4

Open
thepenguinthatwants opened this issue Mar 14, 2022 · 4 comments

Comments

@thepenguinthatwants
Copy link

Hi, I was wondering if the sidebar u were using in ur video a firefox plugin or tiling window manager gadget?

@thepenguinthatwants
Copy link
Author

I was actually also wondering about
configuration.nix and flake.nix.

I haven't grasped how to use flake.nix to build or even using it.

How did you use
sudo nixos-rebuild switch -I nixos-config=/home/user/.config/nixos/configuration.nix
to rebuilt something that was defined by home.nix? When configuration.nix doesn't have anything pointed to home.nix?

I thought to use or rebuild home.nix pointed nvim one would need to use home-manager build or such commands?

I guess compared to your setup right now the old video is outdated.

sudo nixos-rebuild switch --flakes .#laptop
Is this new way of rebuilding everytime you do changes?.

@notusknot
Copy link
Owner

Hi, I used the tree style tab FireFox addon for the sidebar, with [FlyingFox](https://github.com/akshat46/FlyingFox] userChrome.css (it includes css for tree style tab).

Since the video, I've switched to Nix Flakes. This means building the config is now done with sudo nixos-rebuild switch --flake .#laptop. This builds a configuration with my laptop's hardware in mind from the flake.nix. Also to rebuild make sure you are in the directory of the config, since the . in that command just indicates to build from the current working directory. Hope this helps1

@thepenguinthatwants
Copy link
Author

Thanks very much I'll try to play with it.

Noticed the

    extensions = with pkgs.nur.repos.rycee.firefox-addons; [
        decentraleyes
        ublock-origin
        clearurls
        sponsorblock
        darkreader
        h264ify
        df-youtube
    ];

Never knew it would be possible to download firefox addons using nixos. This is cool AF.

@thepenguinthatwants
Copy link
Author

But everytime after rebuild it asks permissions to enable the firefox plugins.

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

2 participants