feat: markdown to html script

- add binary: md2html
- nvf: add snack nvim
This commit is contained in:
danny 2025-09-18 21:44:57 +08:00
parent 16da0a0a4d
commit d7cf0baf67
10 changed files with 246 additions and 199 deletions

View file

@ -8,27 +8,24 @@
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
(modulesPath + "/profiles/qemu-guest.nix")
./disk.nix
./hardware-configuration.nix
../../modules/nixsettings.nix
];
# boot.loader.systemd-boot.enable = true;
boot.loader.grub = {
enable = true;
devices = [ "/dev/sda" ];
efiSupport = true;
efiInstallAsRemovable = true;
};
boot.loader.systemd-boot.enable = true;
boot.kernelPackages = pkgs.linuxPackages_latest;
networking.firewall = {
allowedTCPPorts = [ 22 ];
allowedUDPPorts = [ ];
};
services.openssh = {
enable = true;
ports = [
22
30072
];
settings = {
PasswordAuthentication = true;