1
1
Fork 0

Compare commits

..

5 commits

Author SHA1 Message Date
49d76e02bd
firefox: disable smooth scroll physics and always load pinned tabs
Signed-off-by: Myned <dev@bjork.tech>
2025-02-20 19:49:58 -06:00
0f669447b1
firefox: update config
Signed-off-by: Myned <dev@bjork.tech>
2025-02-20 19:49:30 -06:00
0331d90480
nautilus: use ghostty integration
Signed-off-by: Myned <dev@bjork.tech>
2025-02-20 19:49:02 -06:00
e313a98997
programs: disable wezterm
Signed-off-by: Myned <dev@bjork.tech>
2025-02-20 19:48:32 -06:00
97bfde2edb
hm: remove extraneous nixpkgs config
Signed-off-by: Myned <dev@bjork.tech>
2025-02-20 19:48:09 -06:00
4 changed files with 10 additions and 10 deletions

View file

@ -181,7 +181,6 @@
# Inherit from user # Inherit from user
programs.home-manager.enable = config.home-manager.users.${config.custom.username}.programs.home-manager.enable; programs.home-manager.enable = config.home-manager.users.${config.custom.username}.programs.home-manager.enable;
systemd.user.startServices = config.home-manager.users.${config.custom.username}.systemd.user.startServices; systemd.user.startServices = config.home-manager.users.${config.custom.username}.systemd.user.startServices;
nixpkgs.config = config.home-manager.users.${config.custom.username}.nixpkgs.config;
nix.gc = config.home-manager.users.${config.custom.username}.nix.gc; nix.gc = config.home-manager.users.${config.custom.username}.nix.gc;
home = { home = {
@ -195,9 +194,6 @@
programs.home-manager.enable = true; programs.home-manager.enable = true;
systemd.user.startServices = "sd-switch"; # Start/stop user services immediately systemd.user.startServices = "sd-switch"; # Start/stop user services immediately
# Inherit configuration.nix
nixpkgs.config = config.nixpkgs.config;
nix.gc = { nix.gc = {
automatic = config.nix.gc.automatic; automatic = config.nix.gc.automatic;
frequency = config.nix.gc.dates; frequency = config.nix.gc.dates;

View file

@ -42,7 +42,7 @@ with lib; {
#// librewolf.enable = true; #// librewolf.enable = true;
nautilus.enable = true; nautilus.enable = true;
nvtop.enable = true; nvtop.enable = true;
wezterm.enable = true; #// wezterm.enable = true;
zen-browser.enable = true; zen-browser.enable = true;
}) })

View file

@ -20,7 +20,7 @@ with lib; {
#?? about:profiles #?? about:profiles
profiles.default = { profiles.default = {
# https://nur.nix-community.org/repos/rycee/ # https://nur.nix-community.org/repos/rycee/
extensions = with pkgs.nur.repos.rycee.firefox-addons; extensions.packages = with pkgs.nur.repos.rycee.firefox-addons;
optionals config.custom.minimal [ optionals config.custom.minimal [
ublock-origin ublock-origin
] ]
@ -139,6 +139,10 @@ with lib; {
"browser.search.separatePrivateDefault" = false; "browser.search.separatePrivateDefault" = false;
"browser.search.suggest.enabled" = true; "browser.search.suggest.enabled" = true;
"browser.search.widget.inNavBar" = false; "browser.search.widget.inNavBar" = false;
"browser.sessionstore.restore_hidden_tabs" = false;
"browser.sessionstore.restore_on_demand" = true;
"browser.sessionstore.restore_pinned_tabs_on_demand" = false;
"browser.sessionstore.restore_tabs_lazily" = true;
"browser.shell.checkDefaultBrowser" = false; "browser.shell.checkDefaultBrowser" = false;
"browser.startup.homepage" = "about:home"; "browser.startup.homepage" = "about:home";
"browser.startup.page" = 3; # Previous session "browser.startup.page" = 3; # Previous session
@ -203,7 +207,7 @@ with lib; {
"full-screen-api.warning.timeout" = 0; "full-screen-api.warning.timeout" = 0;
"general.autoScroll" = false; "general.autoScroll" = false;
"general.smoothScroll" = true; "general.smoothScroll" = true;
"general.smoothScroll.msdPhysics.enabled" = true; "general.smoothScroll.msdPhysics.enabled" = false;
"gfx.webrender.software" = false; "gfx.webrender.software" = false;
"identity.fxaccounts.enabled" = true; "identity.fxaccounts.enabled" = true;
"layers.acceleration.force-enabled" = true; "layers.acceleration.force-enabled" = true;

View file

@ -12,7 +12,7 @@ in {
git = mkOption {default = false;}; git = mkOption {default = false;};
index = mkOption {default = true;}; index = mkOption {default = true;};
service = mkOption {default = false;}; service = mkOption {default = false;};
terminal = mkOption {default = "ghostty";}; terminal = mkOption {default = null;};
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
@ -38,8 +38,8 @@ in {
# https://github.com/NixOS/nixpkgs/pull/240780 # https://github.com/NixOS/nixpkgs/pull/240780
#?? echo $NAUTILUS_4_EXTENSION_DIR #?? echo $NAUTILUS_4_EXTENSION_DIR
programs.nautilus-open-any-terminal = { programs.nautilus-open-any-terminal = {
enable = true; enable = isString cfg.terminal;
terminal = cfg.terminal; terminal = mkIf (isString cfg.terminal) cfg.terminal;
}; };
home-manager.users.${config.custom.username} = { home-manager.users.${config.custom.username} = {