fix: fmt
This commit is contained in:
parent
997e0e71db
commit
c2875a70f8
2 changed files with 17 additions and 16 deletions
|
@ -14,23 +14,21 @@ in
|
||||||
];
|
];
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "photoprism";
|
hostName = "photoprism";
|
||||||
|
|
||||||
firewall.allowedTCPPorts = [
|
firewall.allowedTCPPorts = [
|
||||||
22
|
22
|
||||||
80
|
80
|
||||||
443
|
443
|
||||||
8007
|
8007
|
||||||
];
|
];
|
||||||
firewall.allowedUDPPorts = [ ];
|
firewall.allowedUDPPorts = [ ];
|
||||||
|
|
||||||
useNetworkd = true;
|
useNetworkd = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
disko.devices = import ./disko.nix;
|
disko.devices = import ./disko.nix;
|
||||||
|
|
||||||
deployment.targetHost = address;
|
deployment.targetHost = address;
|
||||||
|
@ -55,7 +53,6 @@ in
|
||||||
security.acme.acceptTerms = true;
|
security.acme.acceptTerms = true;
|
||||||
security.acme.defaults.email = "webmaster@nixos.org";
|
security.acme.defaults.email = "webmaster@nixos.org";
|
||||||
|
|
||||||
|
|
||||||
systemd.network = {
|
systemd.network = {
|
||||||
config.routeTables = {
|
config.routeTables = {
|
||||||
he = 100;
|
he = 100;
|
||||||
|
|
|
@ -3,7 +3,12 @@
|
||||||
{
|
{
|
||||||
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [
|
boot = {
|
||||||
|
loader.systemd-boot.enable = true;
|
||||||
|
initrd.kernelModules = [ ];
|
||||||
|
kernelModules = [ ];
|
||||||
|
extraModulePackages = [ ];
|
||||||
|
initrd.availableKernelModules = [
|
||||||
"ata_piix"
|
"ata_piix"
|
||||||
"uhci_hcd"
|
"uhci_hcd"
|
||||||
"virtio_pci"
|
"virtio_pci"
|
||||||
|
@ -11,9 +16,8 @@
|
||||||
"sd_mod"
|
"sd_mod"
|
||||||
"sr_mod"
|
"sr_mod"
|
||||||
];
|
];
|
||||||
boot.initrd.kernelModules = [ ];
|
|
||||||
boot.kernelModules = [ ];
|
};
|
||||||
boot.extraModulePackages = [ ];
|
|
||||||
|
|
||||||
networking.useDHCP = lib.mkDefault false;
|
networking.useDHCP = lib.mkDefault false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue