modularized :)

This commit is contained in:
Odweta
2026-01-18 10:04:50 +01:00
parent 7b2365c5de
commit 4bae0ce922
49 changed files with 209 additions and 642 deletions
+15
View File
@@ -0,0 +1,15 @@
{ ... }:
{
imports = [
./hardware-configuration.nix
../../modules/apps
../../modules/core
../../modules/deaktop
../../modules/hardware
../../modules/services
];
networking.hostName = "endgame";
}
+36
View File
@@ -0,0 +1,36 @@
# 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" "nvme" "usbhid" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ "fuse" ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
boot.extraModprobeConfig = ''
options fuse index=max
'';
fileSystems."/" =
{ device = "/dev/mapper/luks-92ca99f5-755f-4b98-b20f-ef9264f854fa";
fsType = "ext4";
};
boot.initrd.luks.devices."luks-92ca99f5-755f-4b98-b20f-ef9264f854fa".device = "/dev/disk/by-uuid/92ca99f5-755f-4b98-b20f-ef9264f854fa";
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/5C09-A76A";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}