This commit is contained in:
2026-05-05 09:35:38 -05:00
parent bb33a9470a
commit 22bdee4af6
+19 -20
View File
@@ -1,7 +1,14 @@
{ config, lib, inputs, modulesPath, stable_pkgs, unstable_pkgs, ... }:
{ {
imports = config,
[ # Include the results of the hardware scan. lib,
inputs,
modulesPath,
stable_pkgs,
unstable_pkgs,
...
}: {
imports = [
# Include the results of the hardware scan.
(modulesPath + "/installer/scan/not-detected.nix") (modulesPath + "/installer/scan/not-detected.nix")
#./hardware-configuration.nix #./hardware-configuration.nix
./disko.nix ./disko.nix
@@ -41,15 +48,14 @@
}; };
holocron = { holocron = {
# syncthing.enable = false; # syncthing.enable = false;
# copyparty.enable = false; # copyparty.enable = false;
ensure_perms.enable = false; ensure_perms.enable = false;
zfs.enable = true; zfs.enable = true;
smb.enable = true; smb.enable = true;
nfs.enable = true; nfs.enable = true;
}; };
# boot (systemd is going on me) # boot (systemd is going on me)
boot.loader.systemd-boot.enable = true; # systemd your pretty cool ya know boot.loader.systemd-boot.enable = true; # systemd your pretty cool ya know
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
@@ -58,12 +64,12 @@
# setup hostname and networking stack # setup hostname and networking stack
services.resolved = { services.resolved = {
enable = true; enable = true;
fallbackDns = [ "1.1.1.1" "9.9.9.9" ]; fallbackDns = ["1.1.1.1" "9.9.9.9"];
dnsovertls = "opportunistic"; dnsovertls = "opportunistic";
}; };
networking = { networking = {
hostName = "lumiose"; # hostname hostName = "lumiose"; # hostname
networking.hostId = "007f0200"; hostId = "007f0200";
networkmanager = { networkmanager = {
enable = true; # the goat enable = true; # the goat
dns = "systemd-resolved"; # the backup dancer! dns = "systemd-resolved"; # the backup dancer!
@@ -82,12 +88,8 @@
}; };
}; };
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
# Open ports in the firewall. # Open ports in the firewall.
networking.firewall.allowedTCPPorts = [ networking.firewall.allowedTCPPorts = [
80 # set - http 80 # set - http
@@ -102,20 +104,17 @@
5201 # iperf3 5201 # iperf3
]; ];
networking.firewall.allowedUDPPorts = [ 51820 ]; networking.firewall.allowedUDPPorts = [51820];
# Or disable the firewall altogether. # Or disable the firewall altogether.
networking.firewall.enable = true; networking.firewall.enable = true;
# hardware stuff # hardware stuff
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ]; boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [];
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = ["kvm-amd"];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
system.stateVersion = "25.05"; # stays here : ) system.stateVersion = "25.05"; # stays here : )
} }