nix-config/hosts/nixedo/configuration.nix

51 lines
999 B
Nix
Raw Normal View History

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).
{ inputs, ... }:
2024-12-28 09:26:54 +00:00
{
imports = [
./hardware-configuration.nix
./secrets.nix
2025-04-04 13:02:24 +01:00
./services.nix
./modules/acme.nix
../common
../../users/opdavies
2024-12-28 09:26:54 +00:00
];
nixosModules = {
audiobookshelf.enable = true;
docker.enable = true;
immich.enable = true;
jellyfin.enable = true;
paperless.enable = true;
pihole.enable = true;
};
programs.dconf.enable = true;
services.logind.lidSwitchExternalPower = "ignore";
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
2024-12-28 09:26:54 +00:00
boot.loader = {
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot/efi";
2024-12-28 09:26:54 +00:00
};
systemd-boot.enable = true;
2024-12-28 09:26:54 +00:00
};
networking.networkmanager.enable = true;
users.groups.media = { };
networking.firewall.allowedTCPPorts = [
80
443
];
}