Skip to content

Commit

Permalink
fix flake check
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanwang-wf committed Aug 8, 2023
1 parent 87cca80 commit 7b0fcb8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 3 additions & 2 deletions hosts/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ in
};
};
darwinConfigurations = {
yuanw = self.nixos-flake.lib.mkMacosSystem "x86_64-darwin" {
imports = [
yuanw = darwinSystem {
system = "x86_64-darwin";
modules = [
inputs.self.nixosModules.common
inputs.self.nixosModules.darwin
./yuan-mac.nix
Expand Down
7 changes: 6 additions & 1 deletion hosts/yuan-mac.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{ pkgs, config, ... }: {
imports = [
inputs.self.nixosModules.common
inputs.self.nixosModules.darwin
];

home-manager.users.${config.my.username}.programs.git = {
extraConfig = { github.user = "yuanw"; };
};
Expand All @@ -13,7 +18,7 @@
};

modules = {
common = { enable = true; };
# common = { enable = true; };

browsers.firefox = {
enable = true;
Expand Down

0 comments on commit 7b0fcb8

Please sign in to comment.