docs: add README.md

This commit is contained in:
dachxy 2025-01-03 13:59:16 +08:00
parent fe1d9adfa8
commit 1c2b263904
19 changed files with 241 additions and 73 deletions

View file

@ -1,7 +1,18 @@
{ lib, inputs, system, nix-version, ... }:
{
lib,
inputs,
system,
nix-version,
...
}:
let
cursor-size = "32";
username = "danny";
git-config = {
username = "DACHXY";
email = "danny10132024@gmail.com";
};
in
{
imports = [
@ -23,8 +34,18 @@ in
backupFileExtension = "hm-backup";
useUserPackages = true;
useGlobalPkgs = true;
extraSpecialArgs = { inherit inputs system nix-version cursor-size; };
users."danny" = { imports = [ ../../../home ]; };
extraSpecialArgs = {
inherit
inputs
system
nix-version
cursor-size
git-config
username
;
};
users."${username}" = {
imports = [ ../../../home ];
};
};
}