This commit is contained in:
thek4n 2026-08-11 11:24:20 +03:00
parent 0b66f1d1ae
commit cbf1c647aa

View File

@ -1,62 +1,56 @@
{ config, pkgs, inputs, ... }: { config, pkgs, inputs, ... }:
{ {
imports = [ useGlobalPkgs = true;
inputs.home-manager.nixosModules.home-manager useUserPackages = true;
];
home-manager = { users.thek4n = { pkgs, ... }: {
useGlobalPkgs = true; home.homeDirectory = "/home/thek4n";
useUserPackages = true; home.username = "thek4n";
users.thek4n = { pkgs, ... }: { home.stateVersion = "24.11";
home.homeDirectory = "/home/thek4n";
home.username = "thek4n";
home.stateVersion = "24.11"; home.packages = with pkgs; [ ];
home.packages = with pkgs; [ ]; programs.git = {
enable = true;
programs.git = { userName = "thek4n";
enable = true; userEmail = "thek4n@yandex.ru";
userName = "thek4n"; extraConfig = {
userEmail = "thek4n@yandex.ru"; init.defaultBranch = "main";
extraConfig = { pull.rebase = false;
init.defaultBranch = "main"; core.editor = "nvim";
pull.rebase = false;
core.editor = "nvim";
};
}; };
};
programs.zsh = { programs.zsh = {
enable = true; enable = true;
enableCompletion = true; enableCompletion = true;
autosuggestion.enable = true; autosuggestion.enable = true;
syntaxHighlighting.enable = true; syntaxHighlighting.enable = true;
}; };
programs.neovim = { programs.neovim = {
enable = true; enable = true;
viAlias = true; viAlias = true;
defaultEditor = true; defaultEditor = true;
}; };
home.file = { home.file = {
".config/sway".source = ../../configs/.config/sway; ".config/sway".source = ../../configs/.config/sway;
".config/swaylock".source = ../../configs/.config/swaylock; ".config/swaylock".source = ../../configs/.config/swaylock;
".config/waybar".source = ../../configs/.config/waybar; ".config/waybar".source = ../../configs/.config/waybar;
".config/mako".source = ../../configs/.config/mako; ".config/mako".source = ../../configs/.config/mako;
".config/kanshi".source = ../../configs/.config/kanshi; ".config/kanshi".source = ../../configs/.config/kanshi;
".config/rofi".source = ../../configs/.config/rofi; ".config/rofi".source = ../../configs/.config/rofi;
".config/yazi".source = ../../configs/.config/yazi; ".config/yazi".source = ../../configs/.config/yazi;
".config/tmux".source = ../../configs/.config/tmux; ".config/tmux".source = ../../configs/.config/tmux;
".config/alacritty".source = ../../configs/.config/alacritty; ".config/alacritty".source = ../../configs/.config/alacritty;
".config/nvim".source = ../../configs/.config/nvim; ".config/nvim".source = ../../configs/.config/nvim;
".config/zsh".source = ../../configs/.config/zsh; ".config/zsh".source = ../../configs/.config/zsh;
".config/git".source = ../../configs/.config/git; ".config/git".source = ../../configs/.config/git;
".zshenv".source = ../../configs/.zshenv; ".zshenv".source = ../../configs/.zshenv;
".editorconfig".source = ../../configs/.editorconfig; ".editorconfig".source = ../../configs/.editorconfig;
};
}; };
}; };
} }