Move home config into modules

This commit is contained in:
Paul-Henri Froidmont 2023-03-21 10:37:27 +01:00
parent b08fc5a41e
commit d5cbf61286
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE
299 changed files with 850 additions and 698 deletions

18
lib/options.nix Normal file
View file

@ -0,0 +1,18 @@
{ lib, ... }:
let
inherit (lib) mkOption types;
in
rec {
mkOpt = type: default:
mkOption { inherit type default; };
mkOpt' = type: default: description:
mkOption { inherit type default description; };
mkBoolOpt = default: mkOption {
inherit default;
type = types.bool;
example = true;
};
}