Initial commit
This commit is contained in:
commit
95ab35975a
27 changed files with 446 additions and 0 deletions
3
machines/lil-maid/hardware/bluetooth.nix
Normal file
3
machines/lil-maid/hardware/bluetooth.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
# TODO
|
||||
}
|
31
machines/lil-maid/hardware/configuration.nix
Normal file
31
machines/lil-maid/hardware/configuration.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
|
||||
{ config, lib, modulesPath, ... }:
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usb_storage" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ "amdgpu" ];
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-label/nixos";
|
||||
fsType = "btrfs";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-label/boot";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[ { device = "/dev/disk/by-label/swap"; }
|
||||
];
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
6
machines/lil-maid/hardware/default.nix
Normal file
6
machines/lil-maid/hardware/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./configuration.nix
|
||||
./bluetooth.nix
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue