some flake refactor

This commit is contained in:
2025-12-13 16:24:04 +03:00
parent eb4ff0dfdf
commit bc24923780
3 changed files with 8 additions and 14 deletions
+3 -10
View File
@@ -5,22 +5,15 @@
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
./modules/tmux.nix
];
] ++ lib.optional (builtins.getEnv "DISABLE_HYPR" != "1")
./modules/hypr/hypr.nix
++ lib.optional (builtins.pathExists ./modules/my.nix) ./modules/my.nix;
home.pointerCursor = let
getFrom = url: hash: name: {