darwin,home: use default.nix to import .nix files

This commit is contained in:
Guanran Wang 2023-10-04 14:30:29 +08:00
parent 4ae7910f64
commit cd83b24c86
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8
2 changed files with 9 additions and 5 deletions

View file

@ -0,0 +1,9 @@
{ ... }:
{
imports = [
../common/home.nix
./home.nix
./dotfiles.nix
];
}

View file

@ -1,11 +1,6 @@
{ config, pkgs, lib, ... }:
{
imports = [
./dotfiles.nix
../common/home.nix
];
home = {
username = "guanranwang";
homeDirectory = "/Users/guanranwang";