pinwheel: Extract git to module
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
./modules/sound
|
||||
./modules/age
|
||||
./modules/ssh
|
||||
./modules/git
|
||||
./modules/syncthing
|
||||
./modules/firefox
|
||||
./modules/calibre
|
||||
|
||||
@@ -13,13 +13,6 @@
|
||||
bemenu
|
||||
];
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
includes = [
|
||||
{ path = ./configs/.gitconfig; }
|
||||
];
|
||||
};
|
||||
|
||||
programs.foot = {
|
||||
enable = true;
|
||||
|
||||
|
||||
12
hosts/pinwheel/modules/git/default.nix
Normal file
12
hosts/pinwheel/modules/git/default.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ home-manager, ... }:
|
||||
{
|
||||
home-manager.users.alex = {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
|
||||
includes = [
|
||||
{ path = ./gitconfig; }
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user