exper: nullstar config

This commit is contained in:
Xory 2025-11-01 21:03:41 +02:00
parent 3e54c9fb7e
commit 88667dbbfe
25 changed files with 2258 additions and 0 deletions

View file

@ -0,0 +1,69 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usb_storage" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
#fileSystems."/" =
#{ device = "/dev/disk/by-uuid/1578f380-e588-419b-ace0-f63e6a48ca39";
#fsType = "ext4";
#};
#fileSystems."/boot" =
#{ device = "/dev/disk/by-uuid/4CB1-40B6";
#fsType = "vfat";
#options = [ "fmask=0077" "dmask=0077" ];
#};
#swapDevices = [ ];
fileSystems."/" = {
device = "none";
fsType = "tmpfs";
options = [ "size=3G" "mode=755" ];
};
fileSystems."/home/" = {
device = "/dev/disk/by-uuid/64fd3fe5-cef2-4526-b38a-cdc1de944dc3";
fsType = "ext4";
neededForBoot = true;
};
fileSystems."/nix" = {
device = "/dev/disk/by-uuid/e938d890-b222-474a-aed9-4e0401d8a20b";
fsType = "ext4";
neededForBoot = true;
};
fileSystems."/persistent" = {
device = "/dev/disk/by-uuid/3c28c036-bab7-4ba5-92fe-c5de69378b8b";
fsType = "ext4";
neededForBoot = true;
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/4BAD-C86B";
fsType = "vfat";
};
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp42s0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlo1.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}