From ea5b8c14c950df40bc62aa1bd808872baa2c4945 Mon Sep 17 00:00:00 2001 From: harry Date: Fri, 9 Aug 2024 15:59:48 +0200 Subject: [PATCH] changed config name to avoid overwrite --- configuration.nix | 10 +++------- hardware-configuration.nix => vm-hardware.nix | 0 2 files changed, 3 insertions(+), 7 deletions(-) rename hardware-configuration.nix => vm-hardware.nix (100%) diff --git a/configuration.nix b/configuration.nix index 3b8fb25..06078a2 100644 --- a/configuration.nix +++ b/configuration.nix @@ -11,22 +11,18 @@ { imports = [ - # Include the results of the hardware scan. - ./hardware-configuration.nix + ./vm-hardware.nix # or hardware-configuration.nix ./server-configuration.nix "${(import ./nix/sources.nix).sops-nix}/modules/sops" ]; # Use the GRUB 2 boot loader. boot.loader.grub.enable = true; - boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only + boot.loader.grub.device = "/dev/sda"; boot.kernelParams = [ "console=ttyS0" ]; services.qemuGuest.enable = true; networking.hostName = "sisyphe"; # Define your hostname. - # Pick only one of the below networking options. - # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. - # networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. # Set your time zone. time.timeZone = lib.mkDefault "Europe/Paris"; @@ -35,7 +31,6 @@ console = { font = "Lat2-Terminus16"; keyMap = "fr"; - # useXkbConfig = true; # use xkb.options in tty. }; users.users.homelab = { @@ -52,6 +47,7 @@ tree git ]; + openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA8sdToNavEQv7PTMJ97HIGM6UlChwGS3x9O8hFilzui harryh@ik.me" ]; diff --git a/hardware-configuration.nix b/vm-hardware.nix similarity index 100% rename from hardware-configuration.nix rename to vm-hardware.nix