nix-config/hosts/common/home.nix
smayzy 092579af98
All checks were successful
nix flake show / show-flake (push) Successful in 27s
format with nixfmt to nixpkgs standarts
2025-07-24 19:19:46 +02:00

86 lines
1.6 KiB
Nix

{ pkgs, ... }:
{
imports = [
../../modules/home-manager/default.nix
];
smayzy.webapps.enable = true;
smayzy.lf.enable = true;
smayzy.kitty.enable = true;
home.username = "smayzy";
home.homeDirectory = "/home/smayzy";
home.stateVersion = "25.05";
home.packages = with pkgs; [
sl
];
home.file = {
".config/fastfetch" = {
source = builtins.toPath ../../dotfiles/fastfetch;
recursive = true;
force = true;
};
"wallpaper" = {
source = builtins.toPath ../../wallpapers;
recursive = true;
force = true;
};
};
home.sessionVariables = {
EDITOR = "vim";
GTK_THEME = "Adwaita:dark";
MANPAGER = "nvim +Man!";
};
dconf.settings = {
"org/virt-manager/virt-manager/connections" = {
autoconnect = [ "qemu:///system" ];
uris = [ "qemu:///system" ];
};
};
programs.zsh = {
enable = true;
enableCompletion = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
history.size = 100000;
shellAliases = {
grep = "grep --color=auto";
cp = "cp -r";
cd = "sl";
};
};
programs.git = {
enable = true;
userName = "smayzy";
userEmail = "smayzy@smayzy.ovh";
extraConfig = {
core.editor = "vim";
core.autocrlf = "input";
credential.helper = "store";
pull.rebase = "true";
};
};
programs.firefox = {
enable = true;
policies = {
OverridePostfix = "no-gtk-theme";
};
};
stylix.autoEnable = false;
programs.zoxide.enable = true;
programs.home-manager.enable = true;
}