♻️ (hydrogen) migrate vps from digitalocean to ovh

This commit is contained in:
Laureηt 2023-11-29 15:38:13 +01:00
parent 46a1f9b975
commit a8a72ffdb6
Signed by: Laurent
SSH key fingerprint: SHA256:kZEpW8cMJ54PDeCvOhzreNr4FSh6R13CMGH/POoO8DI
2 changed files with 11 additions and 11 deletions

View file

@ -1,9 +1 @@
{ modulesPath, lib, ... }: {
imports =
lib.optional (builtins.pathExists ./do-userdata.nix) ./do-userdata.nix ++ [
(modulesPath + "/virtualisation/digital-ocean-config.nix")
./services
./system
];
}
{ ... }: { imports = [ ./services ./system ]; }

View file

@ -1,4 +1,4 @@
{ ... }: {
{ modulesPath, ... }: {
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
@ -7,5 +7,13 @@
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "23.05"; # Did you read the comment?
imports = [ ./networking ./packages ./ssh ./users ];
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
(modulesPath + "/profiles/qemu-guest.nix")
./disko
./networking
./packages
./ssh
./users
];
}