From a8a72ffdb6e0569c786e7c371887cf8c1173b998 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Wed, 29 Nov 2023 15:38:13 +0100 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20(hydrogen)=20migrate=20vps?= =?UTF-8?q?=20from=20digitalocean=20to=20ovh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hosts/hydrogen/default.nix | 10 +--------- hosts/hydrogen/system/default.nix | 12 ++++++++++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/hosts/hydrogen/default.nix b/hosts/hydrogen/default.nix index 0aac3c3..85566db 100644 --- a/hosts/hydrogen/default.nix +++ b/hosts/hydrogen/default.nix @@ -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 ]; } diff --git a/hosts/hydrogen/system/default.nix b/hosts/hydrogen/system/default.nix index 1c9355f..3266288 100644 --- a/hosts/hydrogen/system/default.nix +++ b/hosts/hydrogen/system/default.nix @@ -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. It‘s 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 + ]; }