Working on reshuffling
This commit is contained in:
+2
-1
@@ -406,7 +406,8 @@ in
|
|||||||
desktop.stylix.enable = true;
|
desktop.stylix.enable = true;
|
||||||
# Hardware overrides
|
# Hardware overrides
|
||||||
hardware.nvidia.enable = false;
|
hardware.nvidia.enable = false;
|
||||||
}#+END_SRC
|
}
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
** =generated/hosts/traveldroid/hardware-configuration.nix=
|
** =generated/hosts/traveldroid/hardware-configuration.nix=
|
||||||
1. Boot into NixOS Live ISO or your installed system.
|
1. Boot into NixOS Live ISO or your installed system.
|
||||||
|
|||||||
@@ -0,0 +1,47 @@
|
|||||||
|
{
|
||||||
|
hostname,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
modulesPath,
|
||||||
|
user,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
# (modulesPath + "/installer/scan/not-detected.nix")
|
||||||
|
#../../hardware/hardware.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
boot.initrd.availableKernelModules = [
|
||||||
|
"xhci_pci"
|
||||||
|
"nvme"
|
||||||
|
"usb_storage"
|
||||||
|
"sd_mod"
|
||||||
|
"rtsx_usb_sdmmc"
|
||||||
|
];
|
||||||
|
boot.initrd.kernelModules = [ ];
|
||||||
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
|
fileSystems."/" = {
|
||||||
|
device = "/dev/disk/by-uuid/69433a14-fbaf-401b-af85-cd1bbf02b4e2";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/boot" = {
|
||||||
|
device = "/dev/disk/by-uuid/811D-0676";
|
||||||
|
fsType = "vfat";
|
||||||
|
options = [
|
||||||
|
"fmask=0077"
|
||||||
|
"dmask=0077"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
swapDevices = [
|
||||||
|
{ device = "/dev/disk/by-uuid/b6c557c2-7682-460b-a5e7-8f6f2f429a3a"; }
|
||||||
|
];
|
||||||
|
|
||||||
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
{ config, lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
# Host-specific system configuration
|
||||||
|
networking.hostName = "traveldroid";
|
||||||
|
system.stateVersion = "25.11";
|
||||||
|
# User-defined features
|
||||||
|
mySystem.system.core.enable = true;
|
||||||
|
# Desktop environment
|
||||||
|
desktop.hyprland.enable = true;
|
||||||
|
desktop.noctalia.enable = true;
|
||||||
|
desktop.stylix.enable = true;
|
||||||
|
# Hardware overrides
|
||||||
|
hardware.nvidia.enable = false;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user