Root ssh in caenus and home git folder
This commit is contained in:
parent
27790e446c
commit
2e37285e54
2 changed files with 15 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue