{ config, lib, inputs, modulesPath, stable_pkgs, unstable_pkgs, ... }: imports = [ # Include the results of the hardware scan. (modulesPath + "/installer/scan/not-detected.nix") #./hardware-configuration.nix ./disko.nix ../../nixos ../../../users/blake ../../../modules/system ../../../modules/fileshares/holocron_new ../../../modules/homelab #../../../modules/gameservers/minecraft_recpro #../../../modules/gameservers/minecraft_modded ]; home-manager.users.blake.imports = [ ../../../users/blake/hosts/lumiose.nix ]; system = { ssh.enable = true; sops.enable = true; podman.enable = true; yubikey.enable = true; graphics = { enable = true; vendor = "amd"; }; keepalive = { enable = true; url = "https://up.blakedheld.xyz/api/push/7DAcvsedwB?status=up&msg=fuckingvibing&ping="; }; }; homelab = { enable = true; base_domain = "lumiose.lan"; host_ip = "10.10.0.11"; tailscale.enable = true; }; holocron = { # syncthing.enable = false; # copyparty.enable = false; ensure_perms.enable = false; zfs.enable = true; smb.enable = true; nfs.enable = true; }; # boot (systemd is going on me) boot.loader.systemd-boot.enable = true; # systemd your pretty cool ya know boot.loader.efi.canTouchEfiVariables = true; boot.initrd.systemd.enable = true; # better logging # setup hostname and networking stack services.resolved = { enable = true; fallbackDns = [ "1.1.1.1" "9.9.9.9" ]; dnsovertls = "opportunistic"; }; networking = { hostName = "lumiose"; # hostname #hostId = ""; # zfs wants this networkmanager = { enable = true; # the goat dns = "systemd-resolved"; # the backup dancer! ensureProfiles.profiles = { # vpn = { # ethernet.mac-address = "7a:e4:07:8d:22:76"; # connection.type = "vlan"; # connection.id = "vpn"; # connection.interface-name = "enp89s0.69"; # or just "vpn-vlan" # vlan.interface-name = "enp89s0.69"; # or just "vpn-vlan" # vlan.parent = "enp89s0"; # vlan.id = 69; # #ipv4.dns = "9.9.9.9"; # }; }; }; }; hardware.bluetooth.enable = true; # Open ports in the firewall. networking.firewall.allowedTCPPorts = [ 80 # set - http 111 # set - portmapper for nfs 139 # set - smb 443 # set - https 445 # set - cifs 1198 1883 # set - mqtt 2049 # set - nfs 2222 # srv - syncthing 5201 # iperf3 ]; networking.firewall.allowedUDPPorts = [ 51820 ]; # Or disable the firewall altogether. networking.firewall.enable = true; # hardware stuff boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; system.stateVersion = "25.05"; # stays here : ) }