Compare commits

...

2 commits

Author SHA1 Message Date
server
fdb40b4a4e add microvm input 2024-10-19 01:36:05 +02:00
server
c08d826457 disable ssh keyboard interactive authentication 2024-10-19 01:35:36 +02:00
2 changed files with 4 additions and 1 deletions

View file

@ -1,12 +1,14 @@
{ {
description = "Lyns flake"; description = "Lyns flake";
inputs = { inputs = {
microvm.url = "github:astro/microvm.nix";
inputs.microvm.inputs.nixpkgs.follows = "nixpkgs";
lanzaboote.url = "github:nix-community/lanzaboote/v0.4.1"; lanzaboote.url = "github:nix-community/lanzaboote/v0.4.1";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
sops-nix.url = "github:Mic92/sops-nix"; sops-nix.url = "github:Mic92/sops-nix";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
}; };
outputs = {self, nixpkgs, nixpkgs-unstable, sops-nix, lanzaboote }@inputs: let outputs = {self, nixpkgs, nixpkgs-unstable, sops-nix, lanzaboote, microvm}@inputs: let
imports = [ imports = [
]; ];
passInputs = ({lib,config,...}:{ passInputs = ({lib,config,...}:{

View file

@ -18,6 +18,7 @@
X11Forwarding = true; X11Forwarding = true;
PermitRootLogin = "yes"; PermitRootLogin = "yes";
PasswordAuthentication = false; PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
}; };
openFirewall = true; openFirewall = true;
}; };