home: refactor common files

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2025-06-29 19:15:33 +05:30
parent 43660ff173
commit 87a6c1a862
8 changed files with 7 additions and 32 deletions

View File

@@ -1,8 +1,9 @@
{ self, inputs, globalArgs, ... }:
let
common = [
./common/zsh.nix
./common/programs.nix
{ programs.home-manager.enable = true; }
./common/zsh
./common/direnv
];
mkPkgs = system: import inputs.nixpkgs {
@@ -23,7 +24,8 @@ in
nattoModules = [
./natto
./modules/fonts
./common/fonts
./common/emacs
./common/laptop.nix
inputs.agenix.homeManagerModules.default
] ++ common;