mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-05-18 18:36:05 -07:00
try importing programs from base
This commit is contained in:
parent
3aa7ea67d6
commit
dd2872287a
@ -2,5 +2,6 @@
|
||||
{
|
||||
imports = [
|
||||
./terminal.nix
|
||||
../programs/git.nix
|
||||
];
|
||||
}
|
||||
|
@ -6,7 +6,6 @@
|
||||
./borg.nix
|
||||
./chrome.nix
|
||||
./firefox.nix
|
||||
./git.nix
|
||||
./chezmoi.nix
|
||||
./kitty.nix
|
||||
./nvim.nix
|
||||
|
@ -3,17 +3,13 @@
|
||||
let cfg = config.modules.programs.git;
|
||||
in {
|
||||
options.modules.programs.git = with lib; {
|
||||
enable = lib.mkOption {
|
||||
type = with types; bool;
|
||||
default = true;
|
||||
};
|
||||
keys = lib.mkOption {
|
||||
type = with types; bool;
|
||||
default = true;
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
config = {
|
||||
environment.systemPackages = with pkgs; [
|
||||
git # Version control system for tracking changes in source code during software development
|
||||
git-annex # Manages files with git, without checking the file contents into git
|
||||
|
Loading…
x
Reference in New Issue
Block a user