Install NixOS on Oracle Cloud: Difference between revisions

Guide for Oracle Cloud instances
 
Networking: firewall / security list note
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:


Create the instance with Oracle Linux 9 as base image. Then follow the steps in [[Install NixOS on a Server With a Different Filesystem]].
Create the instance with Oracle Linux 9 as base image. Then follow the steps in [[Install NixOS on a Server With a Different Filesystem]].
There are other methods that may also work, see [https://discourse.nixos.org/t/nixos-on-free-oracle-cloud-arm-a1/17474 this Discourse thread].


== Configuration ==
== Configuration ==
Line 33: Line 35:
The VCN's subnet for your instance must have an IPv6 prefix assigned.
The VCN's subnet for your instance must have an IPv6 prefix assigned.
[[File:Oc-vcn-subnet-ipv6-prefixes.png|center]]
[[File:Oc-vcn-subnet-ipv6-prefixes.png|center]]
Make sure your security list has equivalent rules for IPv4 and IPv6 if you want your services to be reachable via both versions.


==== NixOS configuration.nix ====
==== NixOS configuration.nix ====
Line 67: Line 71:
};
};
</syntaxhighlight>
</syntaxhighlight>
[[Category:Guide]]
[[Category:Deployment]]