nixos/home/modules/default.nix

36 lines
570 B
Nix
Raw Normal View History

{ inputs, lib, ... }:
{
imports =
(with inputs; [
sops-nix.homeManagerModules.sops
])
++ [
./nix.nix
./helix
2025-01-10 21:40:44 +08:00
./gpg
2025-01-10 23:35:56 +08:00
./git.nix
./shell
./ghostty.nix
2025-01-11 17:30:45 +08:00
./foot
./starship
2025-01-12 20:19:42 +08:00
./sops.nix
];
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;
};
};
}