nix: Use separate module for librewolf

This commit is contained in:
Donovan Glover 2023-05-16 18:04:04 -04:00
parent 47da22c951
commit c71949f46e
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
3 changed files with 14 additions and 9 deletions

View File

@ -7,6 +7,7 @@
./git
./gtk
./kitty
./librewolf
./mpv
./ncmpcpp
./qutebrowser

View File

@ -0,0 +1,13 @@
{
home-manager.sharedModules = [{
programs.librewolf = {
enable = true;
settings = {
"middlemouse.paste" = false;
"browser.download.useDownloadDir" = true;
"ui.use_activity_cursor" = true;
"browser.tabs.insertAfterCurrent" = true;
};
};
}];
}

View File

@ -2,15 +2,6 @@
imports = [ home-manager.nixosModule ];
home-manager.useGlobalPkgs = true;
home-manager.sharedModules = [{
programs.librewolf = {
enable = true;
settings = {
"middlemouse.paste" = false;
"browser.download.useDownloadDir" = true;
"ui.use_activity_cursor" = true;
"browser.tabs.insertAfterCurrent" = true;
};
};
xdg.configFile."hypr/hyprland.conf".text = ''
env=XCURSOR_SIZE,24
env=BROWSER,librewolf