home: add 'nix-gl'
This commit is contained in:
parent
b4f9db9a67
commit
84c49405b6
2 changed files with 18 additions and 0 deletions
|
|
@ -28,6 +28,7 @@
|
||||||
./mail
|
./mail
|
||||||
./mpv
|
./mpv
|
||||||
./nix
|
./nix
|
||||||
|
./nix-gl
|
||||||
./nix-index
|
./nix-index
|
||||||
./nixpkgs
|
./nixpkgs
|
||||||
./nm-applet
|
./nm-applet
|
||||||
|
|
|
||||||
17
modules/home/nix-gl/default.nix
Normal file
17
modules/home/nix-gl/default.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
{ config, inputs, lib, ... }:
|
||||||
|
let
|
||||||
|
cfg = config.my.home.nix-gl;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.my.home.nix-gl = with lib; {
|
||||||
|
enable = mkEnableOption "nixGL configuration";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable (lib.mkMerge [
|
||||||
|
{
|
||||||
|
nixGL = {
|
||||||
|
inherit (inputs.nixgl) packages;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue