nixos-config/common/default.nix

29 lines
726 B
Nix
Raw Normal View History

{
config,
lib,
inputs,
pkgs,
...
}: {
2024-04-12 12:50:19 +02:00
imports = [./syncthing.nix];
2024-03-18 22:00:13 +01:00
#nixpkgs.config.permittedInsecurePackages = ["electron-25.9.0" "electron-24.8.6"];
2024-04-12 12:50:19 +02:00
# networking.hosts = {
# "192.168.178.35" = ["jellyfin.fritz.box" "grafana.fritz.box"];
# };
# environment.systemPackages = with pkgs; [
# xdg-desktop-portal-hyprland
# xdg-desktop-portal
# ];
networking.firewall.allowedTCPPorts = [8384 22000];
networking.firewall.allowedUDPPorts = [22000 21027];
2024-03-18 22:00:33 +01:00
nix.settings = {
trusted-users = ["xqtc"];
2024-03-18 22:00:33 +01:00
substituters = [
"https://nix-community.cachix.org"
];
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};
}