32 lines
470 B
Nix
32 lines
470 B
Nix
{
|
|
inputs,
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
imports =
|
|
(with inputs; [
|
|
sops-nix.homeManagerModules.sops
|
|
])
|
|
++ [
|
|
./nix.nix
|
|
./programs
|
|
];
|
|
|
|
options = {
|
|
youthlic.nixos.enable = lib.mkOption {
|
|
type = lib.types.bool;
|
|
default = false;
|
|
example = true;
|
|
description = ''
|
|
whether the os is nixos
|
|
'';
|
|
};
|
|
};
|
|
config = {
|
|
programs.direnv = {
|
|
enable = true;
|
|
nix-direnv.enable = true;
|
|
};
|
|
};
|
|
}
|