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-07-15 21:03:34 +02:00
|
|
|
networking.hosts = {
|
|
|
|
"192.168.178.35" = ["jellyfin.fritz.box" "grafana.fritz.box"];
|
|
|
|
};
|
2024-08-05 12:56:08 +02:00
|
|
|
users.users.xqtc.openssh.authorizedKeys.keys = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN7UkcmSVo+SeB5Obevz3mf3UHruYxn0UHUzoOs2gDBy xqtc@heroin.trade"];
|
|
|
|
users.users.root.openssh.authorizedKeys.keys = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN7UkcmSVo+SeB5Obevz3mf3UHruYxn0UHUzoOs2gDBy xqtc@heroin.trade"];
|
2024-04-12 12:50:19 +02:00
|
|
|
# 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-21 18:10:32 +02:00
|
|
|
nix.package = pkgs.lix;
|
|
|
|
|
2024-07-06 16:42:49 +02:00
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
sops
|
|
|
|
tldr
|
2024-07-16 12:11:55 +02:00
|
|
|
screen
|
2024-10-19 14:41:43 +02:00
|
|
|
zsh
|
2024-07-06 16:42:49 +02:00
|
|
|
inputs.compose2nix.packages.${pkgs.system}.default
|
|
|
|
];
|
2024-05-27 19:57:55 +02:00
|
|
|
|
2024-10-19 14:41:43 +02:00
|
|
|
programs.zsh.enable = true;
|
|
|
|
|
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-07-21 18:10:32 +02:00
|
|
|
services.tailscale.enable = true;
|
|
|
|
|
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"
|
|
|
|
];
|
|
|
|
trusted-public-keys = [
|
|
|
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
|
|
|
];
|
|
|
|
};
|
2024-02-25 14:51:19 +01:00
|
|
|
}
|