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