This commit is contained in:
Guanran Wang 2023-10-05 15:56:59 +08:00
commit 2ef4f15dbd
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8
4 changed files with 11 additions and 6 deletions

View file

@ -43,6 +43,7 @@
darwinConfigurations = {
"iMac-macOS" = nix-darwin.lib.darwinSystem {
system = "x86_64-darwin";
specialArgs = { inherit inputs; };
modules = [
./darwin
./machines/darwin/imac-2017.nix

View file

@ -1,7 +1,7 @@
{ inputs, ... }:
{
imports = [ inputs.home-manager.nixosModules.home-manager ];
imports = [ inputs.home-manager.darwinModules.home-manager ];
home-manager = {
useGlobalPkgs = true;

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";