lean
htran 2023-07-04 01:43:44 -07:00
parent a2619bf71a
commit b8abf4e3dd
4 changed files with 28 additions and 6 deletions

4
.envrc
View File

@ -3,11 +3,9 @@
# first time # first time
if [[ ! -d $(nix store add-path --name source --dry-run .) ]]; then if [[ ! -d $(nix store add-path --name source --dry-run .) ]]; then
nix store add-path --name source . nix store add-path --name source .
(cd ./src/local && nix flake lock --update-input std)
(cd ./src/tests && nix flake lock --update-input std)
fi fi
# shellcheck disable=SC1090 # shellcheck disable=SC1090
. "$(fetchurl "https://raw.githubusercontent.com/paisano-nix/direnv/main/lib" "sha256-R3K8Flvbovj4IOvdlWNtQKLMMSQV464WjG9eU29ixHk=")" . "$(fetchurl "https://raw.githubusercontent.com/paisano-nix/direnv/bd36f51b9d566d8a36e230dab638abf3074625c3/lib" "sha256-IgQhKK7UHL1AfCUntJO2KCaIDJQotRnK2qC4Daxk+wI=")"
use envreload "//repo/userShells/${USER}" //repo/userShells/default //repo/userShells use envreload "//repo/userShells/${USER}" //repo/userShells/default //repo/userShells

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
result result
.direnv .direnv
.data

View File

@ -158,11 +158,11 @@
"systems": "systems_8" "systems": "systems_8"
}, },
"locked": { "locked": {
"lastModified": 1687173957, "lastModified": 1688380630,
"narHash": "sha256-GOds2bAQcZ94fb9/Nl/aM+r+0wGSi4EKYuZYR8Dw4R8=", "narHash": "sha256-8ilApWVb1mAi4439zS3iFeIT0ODlbrifm/fegWwgHjA=",
"owner": "numtide", "owner": "numtide",
"repo": "devshell", "repo": "devshell",
"rev": "2cf83bb31720fcc29a999aee28d6da101173e66a", "rev": "f9238ec3d75cefbb2b42a44948c4e8fb1ae9a205",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -52,4 +52,27 @@ in {
]; ];
}; };
}; };
homeConfigurations.hungtran = home-config {
supported_systems = ["aarch64-darwin" "x86_64-darwin"];
tested_systems = ["aarch64-darwin"];
hm = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules =
base-modules
++ [
home-profiles.nerd_font_module
home-profiles.git-htran
home-profiles.dev-packages
home-profiles.zk
home-modules.darwin-spotlight
{
home.username = "hungtran";
home.homeDirectory = "/Users/hungtran";
home.stateVersion = "23.11";
}
];
};
};
} }