fix homeConfiguration errors and add recipe for home-manager

This commit is contained in:
ulic-youthlic 2025-02-17 01:33:30 +08:00
parent b79c00310c
commit 66b740a123
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
7 changed files with 89 additions and 76 deletions

View file

@ -1,6 +1,5 @@
{
inputs,
lib,
...
}:
{
@ -9,21 +8,10 @@
sops-nix.homeManagerModules.sops
])
++ [
./nix.nix
./programs
./xdg-dirs.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;