nix: move all home configurations to homeModules

export them
This commit is contained in:
Primrose 2024-10-30 19:24:48 +01:00
parent 2c5e75f3e7
commit ce26e04e9c
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
14 changed files with 8 additions and 3 deletions

View file

@ -0,0 +1,19 @@
{ pkgs, lib, ... }:
let
inherit (pkgs) myPkgs;
in
{
home = {
username = "ychiang";
homeDirectory = "/udd/ychiang";
};
home.packages = [ myPkgs.necrolib ];
home.file.".local/share/fonts/truetype".source = "${myPkgs.altiosevka-nerd-font-mono}/share/fonts/truetype";
# it gets turned off so I need to run it more frequently
nix.gc.frequency = lib.mkForce "3 hours";
}