2024-02-25 14:51:19 +01:00
|
|
|
{
|
2024-03-09 12:21:37 +01:00
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
inputs,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
2024-07-03 17:52:10 +02:00
|
|
|
imports = [
|
|
|
|
./syncthing.nix
|
|
|
|
./sops.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
|
|
|
|
# ];
|
2024-04-18 19:19:36 +02:00
|
|
|
programs.nh = {
|
|
|
|
enable = true;
|
|
|
|
clean.enable = true;
|
|
|
|
clean.extraArgs = "--keep-since 4d --keep 3";
|
|
|
|
flake = "/home/xqtc/nixos-config";
|
|
|
|
};
|
2024-04-12 12:50:19 +02:00
|
|
|
networking.firewall.allowedTCPPorts = [8384 22000];
|
|
|
|
networking.firewall.allowedUDPPorts = [22000 21027];
|
2024-07-05 14:45:25 +02:00
|
|
|
|
2024-07-06 16:42:49 +02:00
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
sops
|
|
|
|
tldr
|
|
|
|
inputs.compose2nix.packages.${pkgs.system}.default
|
|
|
|
];
|
2024-05-27 19:57:55 +02:00
|
|
|
|
2024-05-27 20:02:53 +02:00
|
|
|
programs.nix-ld = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.nix-ld-rs;
|
|
|
|
};
|
2024-05-27 19:57:55 +02:00
|
|
|
|
2024-03-18 22:00:33 +01:00
|
|
|
nix.settings = {
|
2024-03-19 22:08:38 +01:00
|
|
|
trusted-users = ["xqtc"];
|
2024-03-18 22:00:33 +01:00
|
|
|
substituters = [
|
|
|
|
"https://nix-community.cachix.org"
|
2024-07-06 16:42:49 +02:00
|
|
|
"https://cache.saumon.network/proxmox-nixoshttps://cache.saumon.network/proxmox-nixos"
|
2024-03-18 22:00:33 +01:00
|
|
|
];
|
|
|
|
trusted-public-keys = [
|
|
|
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
2024-07-06 16:42:49 +02:00
|
|
|
"proxmox-nixos:nveXDuVVhFDRFx8Dn19f1WDEaNRJjPrF2CPD2D+m1ys="
|
2024-03-18 22:00:33 +01:00
|
|
|
];
|
|
|
|
};
|
2024-02-25 14:51:19 +01:00
|
|
|
}
|