create base module
This commit is contained in:
parent
aacb703044
commit
40a7288a5a
13
modules/nix/base/base.nix
Normal file
13
modules/nix/base/base.nix
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{ lib, config, pkgs, ... }:
|
||||||
|
let
|
||||||
|
inherit (lib) mkIf mkOption types;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.smayzy.base = mkOption {
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf config.smayzy.base {
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
6
modules/nix/base/default.nix
Normal file
6
modules/nix/base/default.nix
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{ lib, config, pkgs, ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./base.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user