mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 18:59:07 +01:00
home-manager: Use minimal module set and import everything else manually
This commit is contained in:
parent
0b87addc97
commit
0c25e7fd34
18 changed files with 98 additions and 6 deletions
|
|
@ -1,5 +1,22 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
config,
|
||||
modulesPath,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
"${modulesPath}/programs/git.nix"
|
||||
"${modulesPath}/programs/lazygit.nix"
|
||||
"${modulesPath}/programs/delta.nix"
|
||||
"${modulesPath}/programs/jujutsu.nix"
|
||||
"${modulesPath}/programs/diff-highlight.nix"
|
||||
"${modulesPath}/programs/diff-so-fancy.nix"
|
||||
"${modulesPath}/programs/difftastic.nix"
|
||||
"${modulesPath}/programs/patdiff.nix"
|
||||
"${modulesPath}/programs/riff.nix"
|
||||
];
|
||||
|
||||
options.custom.programs.git.enable = lib.mkEnableOption "";
|
||||
|
||||
config = lib.mkIf config.custom.programs.git.enable {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue