init
This commit is contained in:
commit
b6cdc78668
210 changed files with 9929 additions and 0 deletions
12
s0melapt0p-nix/hardware/cpu.nix
Normal file
12
s0melapt0p-nix/hardware/cpu.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
...
|
||||
}: {
|
||||
hardware = {
|
||||
enableRedistributableFirmware = true;
|
||||
cpu = {
|
||||
intel = {
|
||||
updateMicrocode = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
18
s0melapt0p-nix/hardware/graphics.nix
Normal file
18
s0melapt0p-nix/hardware/graphics.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
hardware = {
|
||||
graphics = {
|
||||
enable = true;
|
||||
enable32Bit = true;
|
||||
extraPackages = with pkgs; [
|
||||
intel-vaapi-driver
|
||||
];
|
||||
|
||||
extraPackages32 = with pkgs; [
|
||||
intel-vaapi-driver
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
11
s0melapt0p-nix/hardware/qmk.nix
Normal file
11
s0melapt0p-nix/hardware/qmk.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
...
|
||||
}: {
|
||||
hardware = {
|
||||
keyboard = {
|
||||
qmk = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
10
s0melapt0p-nix/hardware/zram.nix
Normal file
10
s0melapt0p-nix/hardware/zram.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
...
|
||||
}: {
|
||||
zramSwap = {
|
||||
enable = true;
|
||||
algorithm = "zstd";
|
||||
priority = 100;
|
||||
memoryPercent = 100;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue