From 91cf28e9d1cbeba50deb2c4167ac488b15290f23 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Mon, 22 May 2023 15:05:58 +0200 Subject: [PATCH] web-01: Rename main config files --- .../web-01/{configuration.nix => _configuration.nix} | 10 +++------- ...e-configuration.nix => _hardware-configuration.nix} | 0 2 files changed, 3 insertions(+), 7 deletions(-) rename machines/web-01/{configuration.nix => _configuration.nix} (83%) rename machines/web-01/{hardware-configuration.nix => _hardware-configuration.nix} (100%) diff --git a/machines/web-01/configuration.nix b/machines/web-01/_configuration.nix similarity index 83% rename from machines/web-01/configuration.nix rename to machines/web-01/_configuration.nix index 35c7ad2..87eb05e 100644 --- a/machines/web-01/configuration.nix +++ b/machines/web-01/_configuration.nix @@ -5,8 +5,9 @@ { name, config, pkgs, lib, ... }: { imports = - [ # Include the results of the hardware scan. - ./hardware-configuration.nix + [ + # Include the results of the hardware scan. + # ./hardware-configuration.nix ./networking.nix ./ssh.nix ]; @@ -19,10 +20,6 @@ time.timeZone = "Europe/Paris"; - - users.users.root.openssh.authorizedKeys.keyFiles = [ ../../admin_keys/anon.keys ../../admin_keys/mdebray.keys ]; - - # 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 @@ -32,4 +29,3 @@ system.stateVersion = "22.11"; # Did you read the comment? } - diff --git a/machines/web-01/hardware-configuration.nix b/machines/web-01/_hardware-configuration.nix similarity index 100% rename from machines/web-01/hardware-configuration.nix rename to machines/web-01/_hardware-configuration.nix