2024-12-28 09:26:54 +00:00
|
|
|
|
# Edit this configuration file to define what should be installed on
|
|
|
|
|
# your system. Help is available in the configuration.nix(5) man page
|
|
|
|
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
|
|
|
|
|
2025-01-01 14:45:03 +00:00
|
|
|
|
{ inputs, ... }:
|
2024-12-28 09:26:54 +00:00
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
imports = [
|
|
|
|
|
./hardware-configuration.nix
|
2025-01-01 14:45:03 +00:00
|
|
|
|
|
|
|
|
|
./modules/acme.nix
|
2024-12-28 09:26:54 +00:00
|
|
|
|
];
|
|
|
|
|
|
2024-12-30 17:43:49 +00:00
|
|
|
|
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
2024-12-28 09:26:54 +00:00
|
|
|
|
|
2024-12-30 17:43:49 +00:00
|
|
|
|
boot.loader = {
|
|
|
|
|
efi = {
|
|
|
|
|
canTouchEfiVariables = true;
|
|
|
|
|
efiSysMountPoint = "/boot/efi";
|
2024-12-28 09:26:54 +00:00
|
|
|
|
};
|
|
|
|
|
|
2024-12-30 17:43:49 +00:00
|
|
|
|
systemd-boot.enable = true;
|
2024-12-28 09:26:54 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
networking.networkmanager.enable = true;
|
|
|
|
|
|
|
|
|
|
users.groups.media = { };
|
|
|
|
|
|
|
|
|
|
services.openssh.enable = true;
|
|
|
|
|
|
|
|
|
|
networking.firewall.allowedTCPPorts = [
|
|
|
|
|
80
|
|
|
|
|
443
|
|
|
|
|
];
|
2025-01-01 14:45:03 +00:00
|
|
|
|
|
|
|
|
|
services.caddy.enable = true;
|
2024-12-28 09:26:54 +00:00
|
|
|
|
}
|