20 current 2025-04-27 16:44:06 25.05.20250424.f771eb4 6.12.24 *

This commit is contained in:
2025-04-27 16:44:10 -04:00
parent 0a0b510617
commit 4216730c15
9 changed files with 65 additions and 84 deletions

View File

@@ -12,16 +12,22 @@
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = ["xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc"];
boot.initrd.availableKernelModules = ["ehci_pci" "ahci" "usb_storage" "sd_mod" "sdhci_pci"];
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-intel"];
boot.extraModulePackages = [];
fileSystems."/" = {
device = "/dev/disk/by-uuid/05ca9d56-3506-43c5-b9ec-be928b782996";
device = "/dev/disk/by-uuid/aa4ec46a-b4aa-4a7c-a016-7d6e224cd7ba";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/CCA5-0BDD";
fsType = "vfat";
options = ["fmask=0077" "dmask=0077"];
};
swapDevices = [];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
@@ -29,8 +35,8 @@
# 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.enp0s31f6.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp4s0.useDHCP = lib.mkDefault true;
# networking.interfaces.enp0s25.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp3s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;

View File

@@ -4,7 +4,7 @@
...
}: {
imports = [
./configuration/hardware-configuration.nix
# ./configuration/hardware-configuration.nix
./power-management/default.nix
];
}

View File

@@ -4,51 +4,29 @@
...
}: {
# services.xserver.dpi = 180;
# services.dbus.enable = true;
security.polkit.enable = true;
services.xserver = {
enable = true;
xkb.layout = "us";
xkb.variant = "";
# displayManager.defaultSession = "bspwm";
displayManager.defaultSession = "none+bspwm";
desktopManager.xterm.enable = false;
windowManager.bspwm.enable = true;
# windowManager.bspwm = {
# enable = true;
# # extraConfig = builtins.readFile ./bspwmrc;
# # configFile = ./bspwmrc; # relative import to preserve locality of config
# # package = "bspwm-unstable";
# # sxhkd.package = "sxhkd-unstable";
# # sxhkd.configFile = ./sxhkdrc;
# };
displayManager = {
# autoLogin.user = "synchronous";
# autoLogin.enable = true;
lightdm = {
# lightdm = {
# enable = true;
# greeters.gtk.enable = true;
# };
sddm = {
enable = true;
greeters.gtk.enable = true;
};
};
};
# xsession.windowManager.bspwm = {
# enable = true;
# extraConfig = builtins.readFile ./bspwmrc;
# };
# services.sxhkd.enable = true;
# services.sxhkd.extraConfig = builtins.readFile ./sxhkdrc;
# services.displayManager.autoLogin.enable = true;
# services.displayManagrer.sddm.enable = true;
# services.desktopManager.plasma6.enable = true;
# services.xserver.xkb = {
# layout = "us";
# variant = "";
# }
}