its all bad, time to restart from scratch

This commit is contained in:
Zephrynis
2025-10-06 01:46:40 +01:00
committed by GitHub
parent e4bb95fb76
commit 8087609033
9 changed files with 0 additions and 428 deletions

View File

@@ -1,31 +0,0 @@
{ config, lib, pkgs, inputs, user, ... }:
{
imports = [
../../modules/common.nix
./hardware-configuration.nix
inputs.home-manager.nixosModules.home-manager
];
networking.hostName = "laptop";
# UEFI bootloader configuration (systemd-boot)
boot.loader.systemd-boot.enable = true;
# Allow writing EFI variables (required to install the loader)
boot.loader.efi.canTouchEfiVariables = true;
# Host-specific tweaks
powerManagement.powertop.enable = true; # example: laptop power savings
services.tlp.enable = true;
users.users.${user} = {
isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" ];
};
# Home Manager user wiring
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.${user} = import ../../home/users/${user}/home.nix;
};
}

View File

@@ -1,39 +0,0 @@
# 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" "uas" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/96e3003f-3f4f-4104-93e1-755f2922327c";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/94ED-E007";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices = [ ];
# 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.eno1.useDHCP = lib.mkDefault true;
# networking.interfaces.wlo1.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}