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
ln -s $(pwd) $HOME/.config/nixpkgs
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, ... }:
{
home.packages = with pkgs; [
docker-compose
nodePackages.yarn
];
}

View File

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