some flake refactor
This commit is contained in:
+3
-10
@@ -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: {
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user