v0.1.1
This commit is contained in:
parent
8b9d3c114d
commit
bcbd699c4c
11 changed files with 786 additions and 124 deletions
20
modules/home/rsydn/devtools/default.nix
Normal file
20
modules/home/rsydn/devtools/default.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
inherit (lib) mkOption types mkIf;
|
||||
cfg = config.rsydn.devTools;
|
||||
in {
|
||||
options.rsydn.devTools = {
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "Enable per-user development tooling packages.";
|
||||
};
|
||||
packages = mkOption {
|
||||
type = types.listOf types.package;
|
||||
default = [ ];
|
||||
description = "Extra user-scoped packages to install.";
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable { home.packages = cfg.packages; };
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue