nix: tucked away home configurations

This commit is contained in:
Primrose 2024-07-12 23:26:05 +02:00
parent 6d1844ebf0
commit 5b7839dde9
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
17 changed files with 3 additions and 3 deletions

View file

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