cornflake/hosts/fungus/nixos.nix
2026-02-28 21:26:07 +09:00

32 lines
634 B
Nix

{ pkgs, ... }:
{
system.stateVersion = "25.05";
imports = [
./hardware-configuration.nix
../../system/core
../../programs/ssh.nix
../../programs/utility.nix
../../programs/shell.nix
../../programs/docker.nix
];
environment.systemPackages = with pkgs; [
];
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/sda";
boot.loader.grub.useOSProber = true;
boot.loader.efi.canTouchEfiVariables = true;
programs.nix-ld.enable = true;
services.openssh.enable = true;
networking.firewall.allowedTCPPorts = [
22
25565
];
networking.firewall.allowedUDPPorts = [ ];
}