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: {
+4 -2
View File
@@ -5,7 +5,9 @@
enable = true;
extraConfig.pull.rebase = true;
userEmail = "your email";
userName = "your name";
settings.user = {
email = "gudovdo@my.msu.ru";
name = "Dmitrii Gudov";
};
};
}
+1 -2
View File
@@ -12,10 +12,9 @@
# ./hyprland/colors.nix
# ./hyprland/active.nix
./hyprland/keybinds.nix # done
./hyprland/my.nix
./hyprlock.nix # done
./hypridle.nix # done
];
] ++ lib.optional (builtins.pathExists ./hyprland/my.nix) ./hyprland/my.nix;
home.packages = with pkgs; [
(pkgs.writeScriptBin "wallpaper" (''
#!${pkgs.python311}/bin/python3