47 lines
1.3 KiB
Nix
Executable File
47 lines
1.3 KiB
Nix
Executable File
{ config, pkgs, ... }:
|
|
|
|
{
|
|
nixpkgs.config.allowUnfree = true;
|
|
home.packages = with pkgs; [ nixfmt-classic ];
|
|
|
|
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
|
|
];
|
|
|
|
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";
|
|
# "https://github.com/ful1e5/fuchsia-cursor/releases/download/v2.0.1/Fuchsia.tar.xz"
|
|
# "sha256-TuhU8UFo0hbVShqsWy9rTKnMV8/WHqsxmpqWg1d9f84=" "Fuchsia";
|
|
|
|
# TODO: make it universal
|
|
home.username = "krosh";
|
|
home.homeDirectory = "/home/krosh";
|
|
home.stateVersion = "25.05";
|
|
programs.home-manager.enable = true;
|
|
|
|
home.enableNixpkgsReleaseCheck = false;
|
|
}
|