From 2e37285e54c653e91a97757349ea41414c650cbb Mon Sep 17 00:00:00 2001 From: Chris Toph Date: Fri, 17 Jan 2025 01:19:17 -0500 Subject: [PATCH] Root ssh in caenus and home git folder --- host/caenus/default.nix | 16 ++++++++++++---- host/caenus/home/default.nix | 5 +++-- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/host/caenus/default.nix b/host/caenus/default.nix index 81b4e84..82a8d88 100644 --- a/host/caenus/default.nix +++ b/host/caenus/default.nix @@ -1,8 +1,9 @@ { - modulesPath, config, - pkgs, hostName, + lib, + modulesPath, + pkgs, ... }: { @@ -11,7 +12,7 @@ ## MODULES & IMPORTS ## imports = [ # Common Modules - ../../common/acme + # ../../common/acme ../../common/ssh # Import hardware configuration. @@ -19,7 +20,7 @@ # Local Modules ./modules/frp - ./modules/nginx + # ./modules/nginx ]; ## BOOTLOADER ## @@ -39,6 +40,13 @@ allowedUDPPorts = [ 4040 ]; }; + ## SSH Override ## + services.openssh = { + settings = { + PermitRootLogin = lib.mkForce "yes"; + }; + }; + ## ENVIORMENT & PACKAGES ## environment.systemPackages = with pkgs; [ git diff --git a/host/caenus/home/default.nix b/host/caenus/home/default.nix index d695198..5721ce6 100644 --- a/host/caenus/home/default.nix +++ b/host/caenus/home/default.nix @@ -17,8 +17,9 @@ home.file = { git.dotfiles.source = builtins.fetchGit { - url = "https://github.com/TophC7/dotfiles/tree/hosts"; - rev = "adecf063251176159fe9edbe0f6dbba432630de4"; + url = "git@github.com:TophC7/dotfiles.git"; + ref = "hosts"; + rev = "4c2f9faf24e2e90fb7b0b4bce7560da39cbb814a"; }; };