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 = [
|
imports = [
|
||||||
./terminal.nix
|
./terminal.nix
|
||||||
|
../programs/git.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
./borg.nix
|
./borg.nix
|
||||||
./chrome.nix
|
./chrome.nix
|
||||||
./firefox.nix
|
./firefox.nix
|
||||||
./git.nix
|
|
||||||
./chezmoi.nix
|
./chezmoi.nix
|
||||||
./kitty.nix
|
./kitty.nix
|
||||||
./nvim.nix
|
./nvim.nix
|
||||||
|
@ -3,17 +3,13 @@
|
|||||||
let cfg = config.modules.programs.git;
|
let cfg = config.modules.programs.git;
|
||||||
in {
|
in {
|
||||||
options.modules.programs.git = with lib; {
|
options.modules.programs.git = with lib; {
|
||||||
enable = lib.mkOption {
|
|
||||||
type = with types; bool;
|
|
||||||
default = true;
|
|
||||||
};
|
|
||||||
keys = lib.mkOption {
|
keys = lib.mkOption {
|
||||||
type = with types; bool;
|
type = with types; bool;
|
||||||
default = true;
|
default = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
git # Version control system for tracking changes in source code during software development
|
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
|
git-annex # Manages files with git, without checking the file contents into git
|
||||||
|
Loading…
x
Reference in New Issue
Block a user