Skip to content

Commit

Permalink
only specify system once
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Aug 30, 2021
1 parent 0869c3c commit 606ecf8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions flake.nix
Expand Up @@ -57,19 +57,19 @@
})
];
in {
nixosConfigurations.torch = inputs.nixpkgs.lib.nixosSystem {
nixosConfigurations.torch = inputs.nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux";
modules = [
({ ... }: { nixpkgs.overlays = mkOverlays "x86_64-linux"; })
({ ... }: { nixpkgs.overlays = mkOverlays system; })
(import ./machines/torch inputs)
inputs.home-manager.nixosModules.home-manager
];
};

nixosConfigurations.vbox-dev = inputs.nixpkgs.lib.nixosSystem {
nixosConfigurations.vbox-dev = inputs.nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux";
modules = [
({ ... }: { nixpkgs.overlays = mkOverlays "x86_64-linux"; })
({ ... }: { nixpkgs.overlays = mkOverlays system; })
(import ./machines/vbox-dev inputs)
inputs.home-manager.nixosModules.home-manager
];
Expand Down

0 comments on commit 606ecf8

Please sign in to comment.