mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-11 23:09:22 +08:00
Compare commits
3 Commits
f3c8017959
...
0c49c71899
| Author | SHA1 | Date | |
|---|---|---|---|
| 0c49c71899 | |||
| b0e543d324 | |||
| 51c8a516ff |
@@ -108,7 +108,6 @@ inputs:
|
|||||||
nix-index-database.comma.enable = true;
|
nix-index-database.comma.enable = true;
|
||||||
nix-index.enable = true;
|
nix-index.enable = true;
|
||||||
command-not-found.enable = false;
|
command-not-found.enable = false;
|
||||||
gnupg.agent = { enable = true; enableSSHSupport = true; };
|
|
||||||
autojump.enable = true;
|
autojump.enable = true;
|
||||||
git =
|
git =
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -96,7 +96,13 @@ inputs:
|
|||||||
else []
|
else []
|
||||||
))
|
))
|
||||||
(attrsToList servers)));
|
(attrsToList servers)));
|
||||||
programs.ssh = { enableAskPassword = true; askPassword = "${inputs.pkgs.systemd}/bin/systemd-ask-password"; };
|
programs.ssh =
|
||||||
|
{
|
||||||
|
startAgent = true;
|
||||||
|
enableAskPassword = true;
|
||||||
|
askPassword = "${inputs.pkgs.systemd}/bin/systemd-ask-password";
|
||||||
|
extraConfig = "AddKeysToAgent yes";
|
||||||
|
};
|
||||||
nixos.users.sharedModules =
|
nixos.users.sharedModules =
|
||||||
[(hmInputs: {
|
[(hmInputs: {
|
||||||
config.programs.ssh =
|
config.programs.ssh =
|
||||||
|
|||||||
@@ -7,7 +7,8 @@ inputs:
|
|||||||
config =
|
config =
|
||||||
let
|
let
|
||||||
inherit (inputs.config.nixos.services.nginx.applications) main;
|
inherit (inputs.config.nixos.services.nginx.applications) main;
|
||||||
in
|
inherit (inputs.lib) mkIf;
|
||||||
|
in mkIf main.enable
|
||||||
{
|
{
|
||||||
nixos.services.nginx.https."chn.moe".location =
|
nixos.services.nginx.https."chn.moe".location =
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user