Compare commits
2 Commits
092c8a75f9
...
e28e53b6db
Author | SHA1 | Date | |
---|---|---|---|
e28e53b6db | |||
22a282ea97 |
@ -127,6 +127,7 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
python3
|
||||||
curl
|
curl
|
||||||
htop
|
htop
|
||||||
git
|
git
|
||||||
@ -248,7 +249,8 @@ in {
|
|||||||
|
|
||||||
users.users.ryan = {
|
users.users.ryan = {
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKbhM3wj0oqjR3pUaZgpfX4Xo4dlzvBTbQ48zHyg7Pwx usr"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKbhM3wj0oqjR3pUaZgpfX4Xo4dlzvBTbQ48zHyg7Pwx usr" # x230t
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGrpVDLQszFKoYbvYKRyVTTpehxR0BVU47SXkz39l2wK usr" # mainsail
|
||||||
];
|
];
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "wheel" "docker" ];
|
extraGroups = [ "wheel" "docker" ];
|
||||||
@ -341,7 +343,7 @@ in {
|
|||||||
locations."~ \\.git" = {
|
locations."~ \\.git" = {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
client_max_body_size 0;
|
client_max_body_size 0;
|
||||||
|
|
||||||
include ${pkgs.nginx}/conf/fastcgi_params;
|
include ${pkgs.nginx}/conf/fastcgi_params;
|
||||||
fastcgi_param SCRIPT_FILENAME ${pkgs.git}/bin/git-http-backend;
|
fastcgi_param SCRIPT_FILENAME ${pkgs.git}/bin/git-http-backend;
|
||||||
fastcgi_param GIT_HTTP_EXPORT_ALL "";
|
fastcgi_param GIT_HTTP_EXPORT_ALL "";
|
||||||
|
Loading…
Reference in New Issue
Block a user