Files
nixos-config/home-manager/home.nix
T
2025-11-27 18:09:51 +03:00

55 lines
1.4 KiB
Nix
Executable File

{ config, pkgs, lib, ... }:
# TODO: add OCR keybind on gnome
{
nixpkgs.config.allowUnfree = true;
home.packages = with pkgs; [ nixfmt-classic ];
# my.enableHypr = lib.mkDefault true;
# options.my.enableHypr = lib.mkOption {
# type = lib.types.bool;
# default = true;
# description = "Enable Hyprland configuration.";
# };
imports = [
./modules/zsh/zsh.nix
./modules/kitty.nix
./modules/git.nix
./modules/programs.nix
./modules/custom/config.nix
./modules/hypr/hypr.nix # TODO: make file with var for enable/disable hyprland
./modules/tmux.nix
];
# programs.bash.bashrcExtra = ''echo "entering zsh" && zsh'';
home.pointerCursor = let
getFrom = url: hash: name: {
gtk.enable = true;
x11.enable = true;
name = name;
size = 48;
package = pkgs.runCommand "moveUp" { } ''
mkdir -p $out/share/icons
ln -s ${
pkgs.fetchzip {
url = url;
hash = hash;
}
} $out/share/icons/${name}
'';
};
in getFrom
"https://github.com/catppuccin/cursors/releases/download/v2.0.0/catppuccin-mocha-dark-cursors.zip"
"sha256-EbBzbSBalFx6oo85I7at/wYyoGZuJxIbOWBNrfqHey0=" "Catppuccin-Mocha-Dark";
# TODO: make it universal
home.username = "krosh";
home.homeDirectory = "/home/krosh";
home.stateVersion = "25.05";
programs.home-manager.enable = true;
home.enableNixpkgsReleaseCheck = false;
}