This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

superconfig / machines / neoprism / physical.nix
1.8 kB 75 lines
1{ self, modulesPath, config, lib, ... }: 2{ 3 4 imports = [ 5 ./config.nix 6 (modulesPath + "/installer/scan/not-detected.nix") 7 self.inputs.disko.nixosModules.disko 8 ]; 9 10 disko.devices = import ./disk.nix; 11 networking.hostId = "9c0a74ac"; 12 13 boot.loader.grub.enable = true; 14 boot.loader.grub.version = 2; 15 boot.loader.grub.efiSupport = true; 16 boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "sd_mod" ]; 17 boot.kernelModules = [ "kvm-amd" ]; 18 hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; 19 20 # networking config 21 networking.useNetworkd = true; 22 systemd.network = { 23 enable = true; 24 config = { 25 networkConfig.SpeedMeter = true; 26 }; 27 # netdevs.ext-br.netdevConfig = { 28 # Kind = "bridge"; 29 # Name = "ext-br"; 30 # MACAddress = "a8:a1:59:0f:2d:69"; 31 # }; 32 # networks.ext-br = { 33 # name = "ext-br"; 34 # address = [ 35 # "95.217.192.59/26" 36 # "2a01:4f9:4a:4f1a::1/64" 37 # ]; 38 # gateway = [ 39 # "95.217.192.1" 40 # "fe80::1" 41 # ]; 42 # }; 43 networks.eth0 = { 44 #bridge = [ "ext-br" ]; 45 matchConfig.Name = "enp35s0"; 46 address = [ 47 "95.217.192.59/26" 48 "2a01:4f9:4a:4f1a::1/64" 49 ]; 50 gateway = [ 51 "95.217.192.1" 52 "fe80::1" 53 ]; 54 }; 55 }; 56 57 networking.useDHCP = false; 58 # boot.initrd.network = { 59 # enable = true; 60 # ssh = { 61 # enable = true; 62 # authorizedKeys = [ config.krebs.users.lass.pubkey ]; 63 # port = 2222; 64 # hostKeys = [ 65 # (<secrets/ssh.id_ed25519>) 66 # (<secrets/ssh.id_rsa>) 67 # ]; 68 # }; 69 # }; 70 # boot.kernelParams = [ 71 # "net.ifnames=0" 72 # "ip=dhcp" 73 # "boot.trace" 74 # ]; 75}