fixing issues from first live install try

This commit is contained in:
Joshua Falkenberg
2026-09-10 14:56:25 +02:00
parent d2ab7241e4
commit d16f4939bc
7 changed files with 71 additions and 46 deletions
+4 -1
View File
@@ -1,8 +1,9 @@
{ ... }:
{ config, ... }:
{
imports = [
./disko.nix
./hardware-configuration.nix
];
networking.hostName = "desktop";
@@ -11,6 +12,8 @@
isNormalUser = true;
home = "/home/user";
hashedPasswordFile = config.sops.secrets.user-password.path;
extraGroups = [
"wheel"
"networkmanager"
-1
View File
@@ -21,7 +21,6 @@
luks = {
size = "100%";
label="luks";
content = {
type = "luks";
+27
View File
@@ -0,0 +1,27 @@
# Do not modify this file! It was generated by ‘nixos-generate-config’
# and may be overwritten by future invocations.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [
"xhci_pci"
"ahci"
"usb_storage"
"usbhid"
"sd_mod"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
swapDevices = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode =
lib.mkDefault config.hardware.enableRedistributableFirmware;
}