Root ssh in caenus and home git folder

This commit is contained in:
Chris Toph 2025-01-17 01:19:17 -05:00
parent 27790e446c
commit 2e37285e54
2 changed files with 15 additions and 6 deletions

View file

@ -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

View file

@ -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";
};
};