Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanwang-wf committed Aug 1, 2023
1 parent 545d0bb commit 423afd8
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions hosts/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ self, inputs, system, ... }:
{
flake = {
nixosConfigurations = {
nixosConfigurations = {
aws = inputs.nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
Expand Down Expand Up @@ -30,9 +30,12 @@
};
};
darwinConfigurations = {
yuanw = self.nixos-flake.lib.mkMacosSystem {
system = "x86_64-darwin";
modules = [ ../hosts/yuan-mac.nix ];
yuanw = self.nixos-flake.lib.mkMacosSystem "x86_64-darwin" {
imports = [
inputs.self.nixosModules.common
inputs.self.nixosModules.darwin
./yuan-mac.nix
];
};
WK01174 = self.nixos-flake.lib.mkMacosSystem "aarch64-darwin" {
imports = [
Expand All @@ -45,7 +48,7 @@
imports = [
inputs.self.nixosModules.common
inputs.self.nixosModules.darwin
./hosts/wf17084.nix
./wf17084.nix
];
};
};
Expand Down

0 comments on commit 423afd8

Please sign in to comment.