diff --git a/.sops.yaml b/.sops.yaml new file mode 100644 index 0000000..d7c4bfd --- /dev/null +++ b/.sops.yaml @@ -0,0 +1,2 @@ +creation_rules: +- age: 'age1zn3jpeqducllfxlm2l57pq2kqzkg23q8jgu23lyzvfapgnkf8gmqmtchfx' diff --git a/id_ed25519.pub b/id_ed25519.pub new file mode 100644 index 0000000..b19b145 --- /dev/null +++ b/id_ed25519.pub @@ -0,0 +1 @@ +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBL2CwwK7ipJP5fMh6y6U4q4CTIIKGUX+Z4SAvG4vlSg kyren@laptop-nixos diff --git a/nixos/nginx.nix b/nixos/nginx.nix index 232a4ae..1a79bfd 100644 --- a/nixos/nginx.nix +++ b/nixos/nginx.nix @@ -1,23 +1,20 @@ { pkgs, ... }: { - services = { - getty.autologinUser = "root"; - nginx = { - enable = true; - virtualHosts."185.170.113.195" = { - listen = [{ - addr = "0.0.0.0"; - port = 80; - }]; - locations."/" = { - index = "index.html"; - root = pkgs.writeTextDir "index.html" '' - - - Hello, world! - - - ''; - }; + services.nginx = { + enable = true; + virtualHosts."185.170.113.195" = { + listen = [{ + addr = "0.0.0.0"; + port = 80; + }]; + locations."/" = { + index = "index.html"; + root = pkgs.writeTextDir "index.html" '' + + + Hello, world! + + + ''; }; }; };