This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/os/linux/nix/daniel.nix

69 lines
1.6 KiB
Nix
Raw Normal View History

2023-08-02 13:34:14 -05:00
{ pkgs, ... }: {
home.username = "daniel";
home.homeDirectory = "/home/daniel/.home";
home.stateVersion = "23.05";
2023-08-02 23:28:25 -05:00
programs.nix-index = {
enable = true;
enableFishIntegration = true;
};
home.pointerCursor = {
name = "Catppuccin-Mocha-Sapphire-Cursors";
package = pkgs.catppuccin-cursors.mochaSapphire;
};
2023-08-02 13:34:14 -05:00
programs.home-manager.enable = true;
2023-08-02 21:36:47 -05:00
programs.firefox = {
enable = true;
package = (pkgs.firefox.override { extraNativeMessagingHosts = [ pkgs.passff-host ]; });
# extensions = with pkgs.nur.repos.rycee.firefox-addons; [
# ublock-origin
# ];
profiles = {
daniel = {
id = 0;
settings = {
"general.smoothScroll" = true;
};
extraConfig = ''
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
2023-08-02 22:39:03 -05:00
// user_pref("full-screen-api.ignore-widgets", true);
2023-08-02 21:36:47 -05:00
user_pref("media.ffmpeg.vaapi.enabled", true);
user_pref("media.rdd-vpx.enabled", true);
'';
userChrome = ''
/* Remove close button*/ .titlebar-buttonbox-container{ display:none }
#webrtcIndicator {
display: none;
}
#main-window[tabsintitlebar="true"]:not([extradragspace="true"]) #TabsToolbar>.toolbar-items {
opacity: 0;
pointer-events: none;
}
#main-window:not([tabsintitlebar="true"]) #TabsToolbar {
visibility: collapse !important;
}
'';
# userContent = ''
# '';
};
};
};
2023-08-02 15:06:18 -05:00
2023-08-02 14:10:42 -05:00
# wayland.windowManager.sway = {
# enable = true;
# };
2023-08-02 21:36:47 -05:00
}