nixos/home/modules/default.nix
2025-01-11 20:36:27 +08:00

34 lines
553 B
Nix

{ inputs, lib, ... }:
{
imports =
(with inputs; [
sops-nix.homeManagerModules.sops
])
++ [
./nix.nix
./helix
./gpg
./git.nix
./shell
./ghostty.nix
./foot
./starship
];
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;
};
};
}