Home managed

This commit is contained in:
Daniel Flanagan 2023-08-02 21:36:47 -05:00
parent a9aa0f896b
commit 38b20421c0
3 changed files with 56 additions and 2 deletions

View file

@ -6,6 +6,11 @@ auto-format = true
name = "html"
auto-format = false
[[language]]
name = "nix"
auto-format = true
formatter = { command = "nixpkgs-fmt", args = [] }
[[language]]
name = "fish"
auto-format = true

View file

@ -5,9 +5,54 @@
programs.home-manager.enable = true;
# TODO: firefox with userchrome
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);
user_pref("full-screen-api.ignore-widgets", true);
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 = ''
# '';
};
};
};
# wayland.windowManager.sway = {
# enable = true;
# };
}
}

View file

@ -17,6 +17,8 @@ let
'';
};
# TODO: hibernation?
# TODO: fonts? right now, I'm just installing to ~/.local/share/fonts
configure-gtk = pkgs.writeTextFile {
@ -163,6 +165,8 @@ in {
mosh
nmap
nnn
nil
nixpkgs-fmt
noto-fonts
pamixer
(pass.withExtensions (exts: [ exts.pass-otp ]))