mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 14:28:02 +03:00
30 lines
435 B
Nix
30 lines
435 B
Nix
{
|
|
pkgs,
|
|
...
|
|
}:
|
|
|
|
let
|
|
packages = import ./packages.nix { inherit pkgs; };
|
|
in
|
|
{
|
|
imports = [
|
|
./hardware.nix
|
|
./nixos
|
|
];
|
|
|
|
elars.hardware.graphics.driver = "intel";
|
|
|
|
zramSwap = {
|
|
enable = true;
|
|
memoryPercent = 100;
|
|
algorithm = "zstd";
|
|
priority = 100;
|
|
};
|
|
environment.systemPackages = packages.system;
|
|
environment.pathsToLink = [
|
|
"/share/applications"
|
|
"/share/icons"
|
|
"/share/mime"
|
|
];
|
|
}
|