- flake.nix:
- Close braces formatting for `allowUnfree`
- Remove per-user `custom.sessionType` modules
- home-manager:
- home.nix: remove unused apps (bambu-studio, hydralauncher, keymapp, etc.)
- drop librespot service
- add waydroid
- fix kitty font_family spacing
- gnome: add gnome-tweaks and appindicator extension
- vim: update nixvim module import path
- zsh: drop sessionType option and conditional aliases
- hardcode wl-copy/wl-paste as pbcopy/pbpaste
- hyprland: style fixes in braces, spacing, keybind comments
- hosts/Nixstation:
- remove gnome-session and redundant tweaks
- remove env vars NIXOS_HOST / NIXOS_DE
- enable virtualization (libvirtd, spiceUSBRedirection, vmware.host=false)
- hardware-configuration: reformat fileSystems definitions
- common/nvidia:
- remove explicit kernelPackages override
- ensure xserver.enable=true and GNOME/GDM config intact
- users/thiago: reorder and regroup extraGroups list
116 lines
2.3 KiB
Nix
116 lines
2.3 KiB
Nix
{ pkgs
|
|
, ...
|
|
}:
|
|
{
|
|
imports = [
|
|
./gnome
|
|
./vim.nix
|
|
./zsh.nix
|
|
];
|
|
|
|
nixpkgs = {
|
|
config = {
|
|
allowUnfree = true;
|
|
# Workaround for https://github.com/nix-community/home-manager/issues/2942
|
|
# nixpkgs.config.allowUnfreePredicate =
|
|
# pkg:
|
|
# builtins.elem (lib.getName pkg) [
|
|
# "steam"
|
|
# "steam-original"
|
|
# "steam-run"
|
|
# "steamtinkerlaunch"
|
|
# ];
|
|
};
|
|
};
|
|
|
|
home = {
|
|
homeDirectory = "/home/thiago";
|
|
packages = with pkgs; [
|
|
direnv
|
|
fira-code
|
|
firefox
|
|
heroic
|
|
hwinfo
|
|
inkscape
|
|
lazygit
|
|
libinput
|
|
nerd-fonts.fira-code
|
|
nil
|
|
nixpkgs-fmt
|
|
nordic
|
|
obsidian
|
|
python3
|
|
ripgrep
|
|
statix
|
|
uget
|
|
unzip
|
|
waydroid
|
|
wl-clipboard
|
|
];
|
|
username = "thiago";
|
|
};
|
|
|
|
programs = {
|
|
git = {
|
|
aliases = {
|
|
br = "branch";
|
|
ca = "commit --amend";
|
|
can = "commit --amend --no-edit";
|
|
ci = "commit";
|
|
co = "checkout";
|
|
lg = "log --oneline --graph --decorate --all";
|
|
st = "status";
|
|
};
|
|
enable = true;
|
|
extraConfig = {
|
|
color.ui = "auto";
|
|
core = {
|
|
editor = "nvim";
|
|
autocrlf = "input";
|
|
};
|
|
init.defaultBranch = "main";
|
|
pull.rebase = true;
|
|
};
|
|
lfs.enable = true;
|
|
signing = {
|
|
key = "3065EA73A976D430";
|
|
signByDefault = true;
|
|
};
|
|
userEmail = "th.spo@pm.me";
|
|
userName = "Thiago Sposito";
|
|
};
|
|
|
|
home-manager.enable = true;
|
|
|
|
kitty = {
|
|
enable = true;
|
|
keybindings = {
|
|
# splitting
|
|
"ctrl+shift+enter" = "new_window";
|
|
"ctrl+shift+\\" = "new_window --location=hsplit";
|
|
# resizing
|
|
"ctrl+alt+left" = "resize_window narrower";
|
|
"ctrl+alt+right" = "resize_window wider";
|
|
"ctrl+alt+up" = "resize_window taller";
|
|
"ctrl+alt+down" = "resize_window shorter";
|
|
|
|
};
|
|
|
|
settings = {
|
|
hide_window_decorations = "titlebar-only";
|
|
font_size = 18;
|
|
font_family = "GohuFont 14 Nerd Font Mono";
|
|
inactive_text_alpha = "0.6";
|
|
# background_blur = 32;
|
|
background_opacity = 1.0;
|
|
};
|
|
};
|
|
|
|
vscode = {
|
|
enable = true;
|
|
};
|
|
};
|
|
|
|
systemd.user.startServices = "sd-switch";
|
|
home.stateVersion = "25.11";
|
|
}
|