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-04-10 08:56:11 +01:00
|
|
|
|
{ inputs, ... }:
|
|
|
|
|
|
2024-12-28 09:26:54 +00:00
|
|
|
|
{
|
2025-04-10 08:56:11 +01:00
|
|
|
|
imports = with inputs.self.nixosModules; [
|
2024-12-28 09:26:54 +00:00
|
|
|
|
./hardware-configuration.nix
|
2025-01-08 08:54:14 +00:00
|
|
|
|
./secrets.nix
|
2025-04-04 13:02:24 +01:00
|
|
|
|
./services.nix
|
2025-04-05 09:00:00 +01:00
|
|
|
|
|
2025-04-10 08:56:11 +01:00
|
|
|
|
mixins-common
|
|
|
|
|
mixins-docker
|
|
|
|
|
mixins-zsh
|
|
|
|
|
|
|
|
|
|
users-opdavies
|
2025-04-05 09:00:00 +01:00
|
|
|
|
|
2025-01-01 14:45:03 +00:00
|
|
|
|
./modules/acme.nix
|
2025-04-05 09:00:00 +01:00
|
|
|
|
./modules/audiobookshelf.nix
|
|
|
|
|
./modules/containers/pi-hole.nix
|
|
|
|
|
./modules/forgejo.nix
|
|
|
|
|
./modules/immich.nix
|
|
|
|
|
./modules/jellyfin.nix
|
|
|
|
|
./modules/paperless.nix
|
2024-12-28 09:26:54 +00:00
|
|
|
|
];
|
|
|
|
|
|
2025-03-05 15:09:06 +00:00
|
|
|
|
nixosModules = {
|
|
|
|
|
audiobookshelf.enable = true;
|
|
|
|
|
immich.enable = true;
|
|
|
|
|
jellyfin.enable = true;
|
|
|
|
|
paperless.enable = true;
|
|
|
|
|
pihole.enable = true;
|
2025-01-08 08:54:14 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
programs.dconf.enable = true;
|
|
|
|
|
|
|
|
|
|
services.logind.lidSwitchExternalPower = "ignore";
|
|
|
|
|
|
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 = { };
|
|
|
|
|
|
|
|
|
|
networking.firewall.allowedTCPPorts = [
|
|
|
|
|
80
|
|
|
|
|
443
|
|
|
|
|
];
|
|
|
|
|
}
|