darwin,home: use default.nix to import .nix files
This commit is contained in:
parent
4ae7910f64
commit
cd83b24c86
2 changed files with 9 additions and 5 deletions
9
users/guanranwang/home-manager/darwin/default.nix
Normal file
9
users/guanranwang/home-manager/darwin/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
../common/home.nix
|
||||
./home.nix
|
||||
./dotfiles.nix
|
||||
];
|
||||
}
|
|
@ -1,11 +1,6 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./dotfiles.nix
|
||||
../common/home.nix
|
||||
];
|
||||
|
||||
home = {
|
||||
username = "guanranwang";
|
||||
homeDirectory = "/Users/guanranwang";
|
||||
|
|
Loading…
Reference in a new issue