feat(nixos): add home-manager to flake

This commit is contained in:
rafiq 2025-02-27 03:44:34 +08:00
parent a417314404
commit fdeb289590
4 changed files with 63 additions and 6 deletions

18
users/rafiq/default.nix Normal file
View file

@ -0,0 +1,18 @@
{ config, pkgs, inputs, ... }:
{
home.username = "rafiq";
home.homeDirectory = "/home/rafiq";
programs.git = {
enable = true;
userName = "rafiq";
userEmail = "mohammadrafiq567@gmail.com";
extraConfig = {
init.defaultBranch = "prime";
};
};
home.stateVersion = "25.05";
programs.home-manager.enable = true;
}