momo: NixOS 23.11, fix build (treefmt), move to flake-parts #262

Merged
teutat3s merged 12 commits from momo/nixos-23.11 into momo/main 2024-01-08 22:50:39 +00:00
Showing only changes of commit 6bd7640e5a - Show all commits

View file

@ -7,30 +7,30 @@
boot.loader.systemd-boot.enable = false; boot.loader.systemd-boot.enable = false;
boot.loader.grub = { boot.loader.grub = {
enable = true; enable = true;
devices = [ "/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0-1" ]; devices = ["/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0-1"];
}; };
boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ]; boot.initrd.availableKernelModules = ["ahci" "xhci_pci" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod"];
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = ["kvm-intel"];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [];
boot.initrd.luks.devices."cryptroot" = { boot.initrd.luks.devices."cryptroot" = {
device = "/dev/disk/by-uuid/bf890962-9f43-4c44-a0df-64cabd303662"; device = "/dev/disk/by-uuid/bf890962-9f43-4c44-a0df-64cabd303662";
}; };
fileSystems."/" = fileSystems."/" = {
{ device = "/dev/disk/by-uuid/7eb8989a-6ec4-405f-8810-06486f7621c1"; device = "/dev/disk/by-uuid/7eb8989a-6ec4-405f-8810-06486f7621c1";
fsType = "ext4"; fsType = "ext4";
}; };
fileSystems."/boot" = fileSystems."/boot" = {
{ device = "/dev/disk/by-uuid/1fd053f8-725b-418d-aed1-aee71dac2b62"; device = "/dev/disk/by-uuid/1fd053f8-725b-418d-aed1-aee71dac2b62";
fsType = "ext4"; fsType = "ext4";
}; };
swapDevices = swapDevices = [
[ { device = "/dev/disk/by-uuid/2f114633-5b71-46ab-88be-997b27927269"; } {device = "/dev/disk/by-uuid/2f114633-5b71-46ab-88be-997b27927269";}
]; ];
networking = { networking = {
defaultGateway = { defaultGateway = {
@ -41,7 +41,10 @@
interfaces.enp1s0 = { interfaces.enp1s0 = {
useDHCP = false; useDHCP = false;
ipv4.addresses = [ ipv4.addresses = [
{ address = "80.244.242.4"; prefixLength = 29; } {
address = "80.244.242.4";
prefixLength = 29;
}
]; ];
}; };
}; };