Merge branch 'main' of http://git.thomasfamily.duckdns.org/michael/nix-dots into main
This commit is contained in:
commit
480c70856d
@ -5,6 +5,7 @@
|
|||||||
../../modules/home-manager.nix
|
../../modules/home-manager.nix
|
||||||
../../modules/fonts.nix
|
../../modules/fonts.nix
|
||||||
../../modules/git.nix
|
../../modules/git.nix
|
||||||
|
../../modules/git_nixos.nix
|
||||||
../../modules/gnome.nix
|
../../modules/gnome.nix
|
||||||
../../modules/vscode.nix
|
../../modules/vscode.nix
|
||||||
../../modules/zsh.nix
|
../../modules/zsh.nix
|
||||||
|
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";
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -7,11 +7,7 @@
|
|||||||
# Use pkgs.gitAndTools.gitFull in order to get libsecret support
|
# Use pkgs.gitAndTools.gitFull in order to get libsecret support
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.gitAndTools.gitFull;
|
|
||||||
userEmail = "michaelhthomas@outlook.com";
|
userEmail = "michaelhthomas@outlook.com";
|
||||||
userName = "Michael Thomas";
|
userName = "Michael Thomas";
|
||||||
extraConfig = {
|
|
||||||
credential.helper = "libsecret";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
10
nixpkgs/modules/git_nixos.nix
Normal file
10
nixpkgs/modules/git_nixos.nix
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{ config, pkgs, libs, ... }:
|
||||||
|
{
|
||||||
|
# Use pkgs.gitAndTools.gitFull in order to get libsecret support
|
||||||
|
programs.git = {
|
||||||
|
package = pkgs.gitAndTools.gitFull;
|
||||||
|
extraConfig = {
|
||||||
|
credential.helper = "libsecret";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@ -2,6 +2,18 @@
|
|||||||
{
|
{
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
plugins = [
|
||||||
|
{
|
||||||
|
name = "zsh-nix-shell";
|
||||||
|
file = "nix-shell.plugin.zsh";
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "chisui";
|
||||||
|
repo = "zsh-nix-shell";
|
||||||
|
rev = "v0.1.0";
|
||||||
|
sha256 = "0snhch9hfy83d4amkyxx33izvkhbwmindy0zjjk28hih1a9l2jmx";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
prezto = {
|
prezto = {
|
||||||
enable = true;
|
enable = true;
|
||||||
pmodules = [
|
pmodules = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user