Skip to content

Commit

Permalink
Merge pull request #88 from input-output-hk/fix-boot-device
Browse files Browse the repository at this point in the history
Fix root path
  • Loading branch information
johnalotoski committed Oct 18, 2021
2 parents adeb32a + 95210dc commit 42b71eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion lib/clusters.nix
Expand Up @@ -23,7 +23,10 @@ let
mkSystem = nodeName: modules:
self.inputs.nixpkgs.lib.nixosSystem {
inherit pkgs system;
modules = [ self.inputs.bitte.nixosModule ] ++ modules;
modules = [
self.inputs.bitte.nixosModule
(self.inputs.nixpkgs + "/nixos/modules/virtualisation/amazon-image.nix")
] ++ modules;
specialArgs = { inherit nodeName self; };
};

Expand Down
1 change: 0 additions & 1 deletion profiles/common.nix
Expand Up @@ -15,7 +15,6 @@
fail2ban.enable = true;
};

fileSystems."/".device = lib.mkDefault "/dev/disk/by-label/nixos";
boot.loader.grub.devices = lib.mkForce [ "/dev/nvme0n1" ];

environment.variables = { AWS_DEFAULT_REGION = config.cluster.region; };
Expand Down

0 comments on commit 42b71eb

Please sign in to comment.