some flake refactor
This commit is contained in:
+3
-10
@@ -5,22 +5,15 @@
|
|||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
home.packages = with pkgs; [ nixfmt-classic ];
|
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 = [
|
imports = [
|
||||||
./modules/zsh/zsh.nix
|
./modules/zsh/zsh.nix
|
||||||
./modules/kitty.nix
|
./modules/kitty.nix
|
||||||
./modules/git.nix
|
./modules/git.nix
|
||||||
./modules/programs.nix
|
./modules/programs.nix
|
||||||
./modules/custom/config.nix
|
|
||||||
./modules/hypr/hypr.nix
|
|
||||||
./modules/tmux.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
|
home.pointerCursor = let
|
||||||
getFrom = url: hash: name: {
|
getFrom = url: hash: name: {
|
||||||
|
|||||||
@@ -5,7 +5,9 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
extraConfig.pull.rebase = true;
|
extraConfig.pull.rebase = true;
|
||||||
|
|
||||||
userEmail = "your email";
|
settings.user = {
|
||||||
userName = "your name";
|
email = "gudovdo@my.msu.ru";
|
||||||
|
name = "Dmitrii Gudov";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,10 +12,9 @@
|
|||||||
# ./hyprland/colors.nix
|
# ./hyprland/colors.nix
|
||||||
# ./hyprland/active.nix
|
# ./hyprland/active.nix
|
||||||
./hyprland/keybinds.nix # done
|
./hyprland/keybinds.nix # done
|
||||||
./hyprland/my.nix
|
|
||||||
./hyprlock.nix # done
|
./hyprlock.nix # done
|
||||||
./hypridle.nix # done
|
./hypridle.nix # done
|
||||||
];
|
] ++ lib.optional (builtins.pathExists ./hyprland/my.nix) ./hyprland/my.nix;
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
(pkgs.writeScriptBin "wallpaper" (''
|
(pkgs.writeScriptBin "wallpaper" (''
|
||||||
#!${pkgs.python311}/bin/python3
|
#!${pkgs.python311}/bin/python3
|
||||||
|
|||||||
Reference in New Issue
Block a user