This commit is contained in:
parent
d74f67e4fb
commit
953c238a47
1 changed files with 2 additions and 6 deletions
|
|
@ -1,15 +1,11 @@
|
||||||
{ pkgs, lib, namespace, config, ... }:
|
{ pkgs, lib, namespace, config, ... }:
|
||||||
let
|
let
|
||||||
inherit (lib) mkIf mkEnableOption;
|
|
||||||
|
|
||||||
cfg = config.${namespace}.nix;
|
cfg = config.${namespace}.nix;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.${namespace}.nix = {
|
options.${namespace}.nix = {};
|
||||||
enable = mkEnableOption "Enable nix command";
|
|
||||||
};
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = {
|
||||||
programs.git.enable = true;
|
programs.git.enable = true;
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue