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,
|
config,
|
||||||
pkgs,
|
|
||||||
hostName,
|
hostName,
|
||||||
|
lib,
|
||||||
|
modulesPath,
|
||||||
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
|
@ -11,7 +12,7 @@
|
||||||
## MODULES & IMPORTS ##
|
## MODULES & IMPORTS ##
|
||||||
imports = [
|
imports = [
|
||||||
# Common Modules
|
# Common Modules
|
||||||
../../common/acme
|
# ../../common/acme
|
||||||
../../common/ssh
|
../../common/ssh
|
||||||
|
|
||||||
# Import hardware configuration.
|
# Import hardware configuration.
|
||||||
|
@ -19,7 +20,7 @@
|
||||||
|
|
||||||
# Local Modules
|
# Local Modules
|
||||||
./modules/frp
|
./modules/frp
|
||||||
./modules/nginx
|
# ./modules/nginx
|
||||||
];
|
];
|
||||||
|
|
||||||
## BOOTLOADER ##
|
## BOOTLOADER ##
|
||||||
|
@ -39,6 +40,13 @@
|
||||||
allowedUDPPorts = [ 4040 ];
|
allowedUDPPorts = [ 4040 ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
## SSH Override ##
|
||||||
|
services.openssh = {
|
||||||
|
settings = {
|
||||||
|
PermitRootLogin = lib.mkForce "yes";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
## ENVIORMENT & PACKAGES ##
|
## ENVIORMENT & PACKAGES ##
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
git
|
git
|
||||||
|
|
|
@ -17,8 +17,9 @@
|
||||||
|
|
||||||
home.file = {
|
home.file = {
|
||||||
git.dotfiles.source = builtins.fetchGit {
|
git.dotfiles.source = builtins.fetchGit {
|
||||||
url = "https://github.com/TophC7/dotfiles/tree/hosts";
|
url = "git@github.com:TophC7/dotfiles.git";
|
||||||
rev = "adecf063251176159fe9edbe0f6dbba432630de4";
|
ref = "hosts";
|
||||||
|
rev = "4c2f9faf24e2e90fb7b0b4bce7560da39cbb814a";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue