Files
nixos-conf/hosts/desktop/home-manager/home.nix
T

126 lines
2.5 KiB
Nix

{
pkgs,
config,
zen-browser,
...
}:
{
imports = [
./mpd.nix
./programs.nix
../../../modules/fish.nix
zen-browser.homeModules.beta
];
home.username = "user";
home.homeDirectory = "/home/user";
xdg.userDirs = {
enable = true;
createDirectories = false;
extraConfig = {
SCREENSHOTS = "${config.home.homeDirectory}/Pictures/Screenshots";
};
};
xdg.mimeApps = {
enable = true;
defaultApplications = {
"application/zip" = [ "org.gnome.FileRoller.desktop" ];
"inode/directory" = [ "nemo.desktop" ];
"image/*" = [ "imv-dir.desktop" ];
"image/gif" = [ "imv-dir.desktop" ];
"image/jpeg" = [ "imv-dir.desktop" ];
"image/png" = [ "imv-dir.desktop" ];
"image/webp" = [ "imv-dir.desktop" ];
};
};
dconf = {
settings = {
"org/cinnamon/desktop/applications/terminal" = {
exec = "kitty";
};
};
};
home.pointerCursor = {
enable = true;
gtk.enable = true;
package = pkgs.adwaita-icon-theme;
name = "Adwaita";
size = 20;
};
programs.zen-browser = {
enable = true;
setAsDefaultBrowser = true;
};
programs.eza = {
enable = true;
enableFishIntegration = true;
git = true;
icons = "always";
extraOptions = [
"-1"
];
};
programs.rbw = {
enable = true;
settings = {
pinentry = pkgs.pinentry-curses;
email = "KeksNino@proton.me";
base_url = "https://vw.pizzasucht.net";
};
};
programs.qutebrowser = {
enable = true;
settings = {
colors.webpage.preferred_color_scheme = "dark";
auto_save.session = true;
scrolling.smooth = true;
content.autoplay = false;
content.blocking.method = "both";
url.default_page = "https://priv.au";
};
extraConfig = ''
c.qt.args = ["disable-features=AcceleratedVideoDecodeLinuxGL"]
'';
keyBindings = {
normal = {
"M" = "hint links spawn mpv {hint-url}";
};
};
searchEngines = {
DEFAULT = "https://priv.au/search?q={}";
};
};
home.sessionPath = [
"${config.home.homeDirectory}/.local/bin"
];
home.sessionVariables = {
EDITOR = "nvim";
};
home.file.".local/share/Steam/steam.cfg".text = ''
BootStrapperInhibitAll=enable
BootStrapperForceSelfUpdate=disable
'';
gtk = {
enable = true;
# theme = {
# name = "Materia-dark-compact";
# package = pkgs.materia-theme-transparent;
# };
colorScheme = "dark";
};
home.stateVersion = "26.05";
}