pinwheel: Extract git to module
This commit is contained in:
@@ -12,6 +12,7 @@
|
|||||||
./modules/sound
|
./modules/sound
|
||||||
./modules/age
|
./modules/age
|
||||||
./modules/ssh
|
./modules/ssh
|
||||||
|
./modules/git
|
||||||
./modules/syncthing
|
./modules/syncthing
|
||||||
./modules/firefox
|
./modules/firefox
|
||||||
./modules/calibre
|
./modules/calibre
|
||||||
|
|||||||
@@ -13,13 +13,6 @@
|
|||||||
bemenu
|
bemenu
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.git = {
|
|
||||||
enable = true;
|
|
||||||
includes = [
|
|
||||||
{ path = ./configs/.gitconfig; }
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.foot = {
|
programs.foot = {
|
||||||
enable = true;
|
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