Skip to content

Commit

Permalink
misc(nix): cleanup folders
Browse files Browse the repository at this point in the history
  • Loading branch information
himkt committed Dec 6, 2024
1 parent 8885f7a commit b03d1d2
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 118 deletions.
21 changes: 0 additions & 21 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,24 +72,3 @@ zsh_clean:

nix_apply:
darwin-rebuild switch --flake $(PWD)/nix/config.d

docs:
@echo ""
@echo "### Finish installing dotfiles!"
@echo "Please run $(RED)source $$HOME/.zshrc$(NOCOLOR) on zsh to enable configures."
@echo "- If you want to use nvim with extensions, please run $(RED)make nvim$(NOCOLOR) (which needs pyenv)."
@echo "- If you want to install pyenv using brew, please read the Python section below."
@echo ""
@echo "---"
@echo ""
@echo "### Packages"
@echo "- If you want to use linuxbrew/homebrew, please run $(RED)make brew-cui$(NOCOLOR)."
@echo "- Please run $(RED)make brew$(NOCOLOR) before if you have not installed brew yet"
@echo "- Additionally, $(RED)make brew-optional$(NOCOLOR) installs optional packages"
@echo ""
@echo "---"
@echo ""
@echo "### Python"
@echo "- After $(RED)make brew, make brew-cui, source $$HOME/.zshrc$(NOCOLOR),"
@echo " you can run $(RED)make nvim$(NOCOLOR) to install Python and the nvim library"
@echo ""
26 changes: 0 additions & 26 deletions brew/bin/setup.sh

This file was deleted.

12 changes: 0 additions & 12 deletions brew/config.d/base/Brewfile

This file was deleted.

10 changes: 0 additions & 10 deletions brew/config.d/gui/Brewfile

This file was deleted.

18 changes: 0 additions & 18 deletions brew/config.d/optional/Brewfile

This file was deleted.

12 changes: 2 additions & 10 deletions nix/config.d/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,9 @@
uranus = darwin.lib.darwinSystem {
system = "aarch64-darwin";
modules = [
./darwin.nix
home-manager.darwinModules.home-manager
{
users.users.himkt.home = "/Users/himkt";
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.himkt = import ./home.nix ;

# Optionally, use home-manager.extraSpecialArgs to pass
# arguments to home.nix
}
./home-manager.nix
./darwin.nix
];
};
};
Expand Down
27 changes: 27 additions & 0 deletions nix/config.d/home-manager.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ ... }:

{
users.users.himkt.home = "/Users/himkt";

home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.himkt = {
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards
# incompatible changes.
#
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
home.stateVersion = "24.11";
home.username = "himkt";

imports = [
./home/programs/zsh.nix
./home/packages.nix
];

programs.home-manager.enable = true;
};
}
21 changes: 0 additions & 21 deletions nix/config.d/home.nix

This file was deleted.

File renamed without changes.

0 comments on commit b03d1d2

Please sign in to comment.