2022-08-21 22:53:04 +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’).
|
|
|
|
|
{
|
2023-02-25 13:45:21 +00:00
|
|
|
|
config,
|
|
|
|
|
pkgs,
|
|
|
|
|
lib,
|
|
|
|
|
...
|
|
|
|
|
}: {
|
|
|
|
|
imports = [
|
|
|
|
|
./backup.nix
|
|
|
|
|
./hardware-configuration.nix
|
|
|
|
|
./home-controller.nix
|
|
|
|
|
./paperless.nix
|
|
|
|
|
];
|
2022-08-21 22:53:04 +00:00
|
|
|
|
|
|
|
|
|
time.timeZone = "Europe/Berlin";
|
|
|
|
|
|
2023-11-10 14:41:48 +00:00
|
|
|
|
boot.plymouth.enable = lib.mkForce false;
|
|
|
|
|
pub-solar.nextcloud.enable = lib.mkForce false;
|
|
|
|
|
|
2022-08-21 22:53:04 +00:00
|
|
|
|
networking.useDHCP = false;
|
|
|
|
|
networking.interfaces.eth0.useDHCP = true;
|
|
|
|
|
networking.interfaces.wlan0.useDHCP = false;
|
2023-10-05 21:57:34 +00:00
|
|
|
|
networking.networkmanager.enable = false;
|
2022-08-21 22:53:04 +00:00
|
|
|
|
|
2023-10-05 21:57:34 +00:00
|
|
|
|
networking.firewall.allowedTCPPorts = [3689];
|
|
|
|
|
networking.firewall.allowedUDPPorts = [1900];
|
2022-08-21 22:53:04 +00:00
|
|
|
|
|
2023-10-05 21:57:34 +00:00
|
|
|
|
virtualisation.podman.enable = true;
|
2022-08-21 22:53:04 +00:00
|
|
|
|
|
2023-10-05 21:57:34 +00:00
|
|
|
|
system.stateVersion = "22.11";
|
2022-08-21 22:53:04 +00:00
|
|
|
|
}
|