mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-28 14:50:55 +01:00
Start of new hmgr module
This commit is contained in:
parent
d2844e4385
commit
ce905cacf2
1 changed files with 14 additions and 0 deletions
14
modules/hmgr/default.nix
Normal file
14
modules/hmgr/default.nix
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{ config, pkgs, lib, ... }:
|
||||||
|
let
|
||||||
|
cfg = options.luj.hmgr;
|
||||||
|
in with lib;
|
||||||
|
{
|
||||||
|
options.luj.hmgr = mkOption {
|
||||||
|
description = "";
|
||||||
|
type = with types; attrsOf (submodule {
|
||||||
|
enable = mkEnableOption "enable hmngr for some user";
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mapAttrs (name: value: test) cfg;
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue