Initial commit

This commit is contained in:
Tobias Ostner 2026-04-11 11:38:46 +02:00
commit f5345d8f6a
10 changed files with 619 additions and 0 deletions

View file

@ -0,0 +1,44 @@
# 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 = [ "xhci_pci" "ahci" "nvme" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/30139f34-fe96-4cb3-bb27-f8dd84283eee";
fsType = "btrfs";
options = [ "subvol=@" ];
};
fileSystems."/home" =
{ device = "/dev/disk/by-uuid/30139f34-fe96-4cb3-bb27-f8dd84283eee";
fsType = "btrfs";
options = [ "subvol=@home" ];
};
fileSystems."/nix" =
{ device = "/dev/disk/by-uuid/30139f34-fe96-4cb3-bb27-f8dd84283eee";
fsType = "btrfs";
options = [ "subvol=@nix" ];
};
fileSystems."/var/log" =
{ device = "/dev/disk/by-uuid/30139f34-fe96-4cb3-bb27-f8dd84283eee";
fsType = "btrfs";
options = [ "subvol=@varlog" ];
};
swapDevices = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}