This commit is contained in:
Michael Thomas 2021-06-15 15:54:51 -04:00
commit ba01dde75f
9 changed files with 46 additions and 5 deletions

1
nixpkgs/config.nix Symbolic link
View File

@ -0,0 +1 @@
/Users/administrator/Projects/nix-dots/nixpkgs/machines/mac/config.nix

1
nixpkgs/home.nix Symbolic link
View File

@ -0,0 +1 @@
/Users/administrator/Projects/nix-dots/nixpkgs/machines/mac/home.nix

View File

@ -1,4 +1,4 @@
# Where first arg is directory under machines, can be one of macos, fedora, nixos # Where first arg is directory under machines
mkdir -p $HOME/.config mkdir -p $HOME/.config
ln -s $(pwd) $HOME/.config/nixpkgs ln -s $(pwd) $HOME/.config/nixpkgs
ln -s $(pwd)/machines/$1/home.nix $HOME/.config/nixpkgs/home.nix ln -s $(pwd)/machines/$1/home.nix $HOME/.config/nixpkgs/home.nix

View File

@ -0,0 +1,3 @@
{
allowUnfree = true;
}

View File

@ -0,0 +1,13 @@
{ config, pkgs, ... }:
{
imports = [
../../modules/home-manager.nix
../../modules/zsh.nix
../../modules/dev.nix
../../modules/fonts.nix
];
home.packages = with pkgs; [
neofetch
];
}

View File

@ -0,0 +1,3 @@
{
allowUnfree = true;
}

View File

@ -0,0 +1,20 @@
{ config, pkgs, ... }:
{
imports = [
../../modules/home-manager.nix
../../modules/git.nix
../../modules/zsh.nix
];
home.packages = with pkgs; [
neofetch
pfetch
fortune
];
programs.zsh.shellAliases = {
code = "/mnt/c/Program\\ Files/Microsoft\\ VS\\ Code/Code.exe";
};
}

View File

@ -1,6 +1,6 @@
{ config, pkgs, libs, ... }: { config, pkgs, libs, ... }:
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
docker-compose nodePackages.yarn
]; ];
} }

View File

@ -40,8 +40,8 @@
enable = true; enable = true;
enableZshIntegration = true; enableZshIntegration = true;
settings = { settings = {
character.symbol = ""; character.symbol = " ";
character.success_symbol = "[](bold green)"; character.success_symbol = "[](green)";
}; };
}; };
} }