forward
This commit is contained in:
parent
63c50cfa2a
commit
a83e3592b2
6 changed files with 52 additions and 49 deletions
|
@ -30,38 +30,38 @@
|
|||
inputs.nix-flatpak.nixosModules.nix-flatpak
|
||||
|
||||
#nixos-hardware.nixosModules.lenovo-thinkpad-t14-amd-gen1
|
||||
../hardware-configuration.nix
|
||||
./hardware-configuration.nix
|
||||
|
||||
../modules/basic_system_config.nix
|
||||
../modules/networking.nix
|
||||
../modules/boot_theming.nix
|
||||
../../modules/basic_system_config.nix
|
||||
../../modules/networking.nix
|
||||
../../modules/boot_theming.nix
|
||||
|
||||
../modules/specific_hardware/scan_and_print.nix
|
||||
../modules/specific_hardware/fwupd.nix
|
||||
../modules/specific_hardware/bluetooth.nix
|
||||
../../modules/specific_hardware/scan_and_print.nix
|
||||
../../modules/specific_hardware/fwupd.nix
|
||||
../../modules/specific_hardware/bluetooth.nix
|
||||
|
||||
../modules/sec_auth/firejail.nix
|
||||
../modules/sec_auth/login-manager.nix
|
||||
../modules/sec_auth/users_and_permissions.nix
|
||||
../modules/sec_auth/ssh.nix
|
||||
../../modules/sec_auth/firejail.nix
|
||||
../../modules/sec_auth/login-manager.nix
|
||||
../../modules/sec_auth/users_and_permissions.nix
|
||||
../../modules/sec_auth/ssh.nix
|
||||
|
||||
../modules/software/software.nix
|
||||
../modules/software/virt.nix
|
||||
../modules/software/game.nix
|
||||
../modules/software/audio_video.nix
|
||||
../modules/software/obs-studio.nix
|
||||
../../modules/software/software.nix
|
||||
../../modules/software/virt.nix
|
||||
../../modules/software/game.nix
|
||||
../../modules/software/audio_video.nix
|
||||
../../modules/software/obs-studio.nix
|
||||
|
||||
../modules/wm_and_de/hyprland.nix
|
||||
../../modules/wm_and_de/hyprland.nix
|
||||
|
||||
../modules/pkg_mgrmnt/flatpak.nix
|
||||
../modules/pkg_mgrmnt/podman.nix
|
||||
../modules/pkg_mgrmnt/store_pkg_file.nix
|
||||
../../modules/pkg_mgrmnt/flatpak.nix
|
||||
../../modules/pkg_mgrmnt/podman.nix
|
||||
../../modules/pkg_mgrmnt/store_pkg_file.nix
|
||||
|
||||
../modules/software/nix-helper/index.nix
|
||||
../modules/software/nix-helper/doc.nix
|
||||
../modules/software/nix-helper/nix-ld.nix
|
||||
../../modules/software/nix-helper/index.nix
|
||||
../../modules/software/nix-helper/doc.nix
|
||||
../../modules/software/nix-helper/nix-ld.nix
|
||||
|
||||
../modules/software/browser/firefox.nix
|
||||
../modules/software/browser/brave.nix
|
||||
../../modules/software/browser/firefox.nix
|
||||
../../modules/software/browser/brave.nix
|
||||
];
|
||||
}
|
55
hosts/crocoite/hardware-configuration.nix
Normal file
55
hosts/crocoite/hardware-configuration.nix
Normal file
|
@ -0,0 +1,55 @@
|
|||
# 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 = ["nvme" "ehci_pci" "xhci_pci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc"];
|
||||
boot.initrd.kernelModules = [];
|
||||
boot.kernelModules = ["kvm-amd"];
|
||||
boot.extraModulePackages = [];
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/c772918e-3832-45ae-8c97-05b3d837ed8b";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
boot.initrd.luks.devices."luks-3b194756-e29b-425a-b088-0a0468840011".device = "/dev/disk/by-uuid/3b194756-e29b-425a-b088-0a0468840011";
|
||||
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/5DF2-A721";
|
||||
fsType = "vfat";
|
||||
options = ["fmask=0022" "dmask=0022"];
|
||||
};
|
||||
|
||||
swapDevices = [];
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
#boot.blacklistedKernelModules = [ "acpi-cpufreq" ];
|
||||
boot.kernelParams = [
|
||||
"amd_pstate=active"
|
||||
];
|
||||
#services.auto-epp.enable = true;
|
||||
|
||||
powerManagement.enable = true;
|
||||
powerManagement.powertop.enable = true;
|
||||
services.tlp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
TLP_DEFAULT_MODE = "BAT";
|
||||
TLP_PERSISTENT_DEFAULT = 1;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue