nixconf/home-manager/home.nix
Gabriella Bere a48763c70d set monitor refresh rate to 120Hz
cant set it to 144 because either the dGPU in this laptop or the MST hub
its connected through doesn't have the bandwidth, and i get weird
artifacting, just like i did on hyprland.

it was at 60Hz before btw, so this should make animations look nicer

in doing this niri decided it needed to rewrite the mimeapps file, so i
added the imperative entries that had appeared in there to home.nix and
now its all done properly :3
2025-11-07 18:48:06 +00:00

94 lines
2.2 KiB
Nix

{
pkgs,
lib,
...
}:
{
home.username = "blue";
home.homeDirectory = "/home/blue";
imports = [
./hyprland.nix
./waybar.nix
./swaync.nix
./hyprlock.nix
./fish.nix
./eza.nix
./nvf.nix
./git.nix
./stylix.nix
./direnv.nix
./librewolf.nix
./zellij.nix
./obs-studio.nix
./packages.nix
./plasma.nix
./thunderbird.nix
./niri.nix
];
home.stateVersion = "24.05";
nix.package = pkgs.nix;
services.gnome-keyring.enable = true; # used for nextcloud-client
home.sessionVariables = {
DEFAULT_BROWSER = "${lib.getExe pkgs.librewolf}";
# Allow XWayland apps to not be weird after turning off xwayland scaling in hyprland.conf
GDK_SCALE = 1;
XCURSOR_SIZE = 24;
# Set default editor
EDITOR = "nvim";
NIXOS_OZONE_WL = 1;
LD_LIBRARY_PATH = "${pkgs.libGL}/lib:${pkgs.gtk3}/lib:${pkgs.glib.out}/lib:${pkgs.xorg.libXtst}/lib";
scripts = "/home/blue/nixconf/scripts";
};
xdg.mimeApps = {
enable = true;
defaultApplications = {
"text/html" = "librewolf.desktop";
"x-scheme-handler/http" = "librewolf.desktop";
"x-scheme-handler/https" = "librewolf.desktop";
"x-scheme-handler/about" = "librewolf.desktop";
"x-scheme-handler/unknown" = "librewolf.desktop";
"x-scheme-handler/tg" = "org.telegram.desktop.desktop";
"x-scheme-handler/tonsite" = "org.telegram.desktop.desktop";
"x-scheme-handler/sgnl" = "org.signal.desktop";
"x-scheme-handler/signalcaptcha" = "org.signal.desktop";
"x-scheme-handler/discord" = "vesktop.desktop";
};
};
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
programs.tmux.enable = true;
programs.zoxide = {
enable = true;
enableZshIntegration = true;
};
programs.btop.enable = true;
programs.btop.package = pkgs.stable.btop-rocm;
services.kdeconnect = {
enable = true;
indicator = true;
};
# Add support for bluetooth headset media controls
services.mpris-proxy.enable = true;
programs.kitty = {
enable = true;
settings = {
cursor_trail = 1; # lovely cursor trail effect
};
};
programs.fuzzel.enable = true; # launcher
}