chore: rename Infini-LAPTOP to Infini-SWIFT
This commit is contained in:
parent
a54327b483
commit
a06df36065
2 changed files with 0 additions and 0 deletions
19
hosts/Infini-SWIFT/default.nix
Normal file
19
hosts/Infini-SWIFT/default.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ suites, profiles, pkgs, ... }: {
|
||||
imports = suites.graphic
|
||||
++ [ ./hardware-configuration.nix ]
|
||||
++ (with profiles;
|
||||
[
|
||||
boot.systemd-boot
|
||||
|
||||
networking.wireless
|
||||
hardware.sound
|
||||
hardware.amdgpu
|
||||
# peripherals.printing
|
||||
]
|
||||
);
|
||||
|
||||
system.stateVersion = "21.11";
|
||||
|
||||
networking.interfaces.wlan0.useDHCP = true;
|
||||
|
||||
}
|
18
hosts/Infini-SWIFT/hardware-configuration.nix
Normal file
18
hosts/Infini-SWIFT/hardware-configuration.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
# 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" "xhci_pci" "ahci" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue