Merge branch 'main' of https://git.thomasfamily.duckdns.org/michael/nix-dots into main
This commit is contained in:
commit
ba01dde75f
1
nixpkgs/config.nix
Symbolic link
1
nixpkgs/config.nix
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/Users/administrator/Projects/nix-dots/nixpkgs/machines/mac/config.nix
|
1
nixpkgs/home.nix
Symbolic link
1
nixpkgs/home.nix
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/Users/administrator/Projects/nix-dots/nixpkgs/machines/mac/home.nix
|
@ -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
|
||||||
|
3
nixpkgs/machines/mac/config.nix
Normal file
3
nixpkgs/machines/mac/config.nix
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
allowUnfree = true;
|
||||||
|
}
|
13
nixpkgs/machines/mac/home.nix
Normal file
13
nixpkgs/machines/mac/home.nix
Normal 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
|
||||||
|
];
|
||||||
|
}
|
3
nixpkgs/machines/wsl/config.nix
Normal file
3
nixpkgs/machines/wsl/config.nix
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
allowUnfree = true;
|
||||||
|
}
|
20
nixpkgs/machines/wsl/home.nix
Normal file
20
nixpkgs/machines/wsl/home.nix
Normal 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";
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -1,6 +1,6 @@
|
|||||||
{ config, pkgs, libs, ... }:
|
{ config, pkgs, libs, ... }:
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
docker-compose
|
nodePackages.yarn
|
||||||
];
|
];
|
||||||
}
|
}
|
@ -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)";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user