mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 14:28:02 +03:00
50 lines
934 B
Nix
50 lines
934 B
Nix
{
|
|
pkgs,
|
|
inputs,
|
|
system,
|
|
zen-browser,
|
|
...
|
|
}:
|
|
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 ++ [
|
|
inputs.helium.packages.${system}.default
|
|
zen-browser.packages.${system}.default
|
|
inputs.noctalia.packages.${system}.default
|
|
inputs.copetch.packages.${system}.default
|
|
];
|
|
|
|
environment.pathsToLink = [
|
|
"/share/applications"
|
|
"/share/icons"
|
|
"/share/mime"
|
|
];
|
|
|
|
fonts = {
|
|
packages = with pkgs; [
|
|
nerd-fonts.jetbrains-mono
|
|
nerd-fonts.caskaydia-cove
|
|
noto-fonts-cjk-sans
|
|
inputs.apple-fonts.packages.${system}.sf-pro
|
|
inputs.apple-fonts.packages.${system}.sf-mono
|
|
];
|
|
fontDir.enable = true;
|
|
};
|
|
}
|