Refactored repo layout

This commit is contained in:
2026-04-08 10:58:44 +02:00
parent c4c1207404
commit cdacdac38f
6 changed files with 41 additions and 30 deletions

View File

@@ -0,0 +1,12 @@
{ config, lib, pkgs, ... }:
{
imports =
[
./hardware-configuration.nix
../../modules/common.nix
../../modules/nvidia.nix
];
networking.hostName = "Prometheus";
}

View File

@@ -0,0 +1,41 @@
# 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" "ehci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/22fd3daf-8df7-4f72-a259-f064e4779ee5";
fsType = "ext4";
};
fileSystems."/home" =
{ device = "/dev/disk/by-uuid/fbd8d4f2-03e9-4e9c-a179-e5ab7586e012";
fsType = "ext4";
};
fileSystems."/home/typo/Extended" =
{ device = "/dev/disk/by-uuid/a4595c60-5c61-41cd-ac26-9a9316fe688a";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/C490-3554";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
swapDevices = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}