2024-11-13 19:07:26 +00:00
|
|
|
{ pkgs, lib, modulesPath, config, ... }: {
|
2024-10-27 00:07:44 +00:00
|
|
|
|
2024-11-13 19:07:26 +00:00
|
|
|
imports = [ "${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix" ];
|
2024-10-27 00:07:44 +00:00
|
|
|
|
2024-11-13 19:07:26 +00:00
|
|
|
boot = {
|
|
|
|
kernelPackages = pkgs.linuxPackages_6_6;
|
|
|
|
kernelParams = lib.mkAfter [ "noquiet" "toram" ];
|
|
|
|
enableContainers = false;
|
|
|
|
};
|
2024-10-27 00:07:44 +00:00
|
|
|
|
|
|
|
nixpkgs.hostPlatform = "x86_64-linux";
|
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
neovim
|
|
|
|
disko
|
|
|
|
parted
|
|
|
|
git
|
|
|
|
nixd
|
2024-11-13 19:07:26 +00:00
|
|
|
pciutils
|
2024-12-01 11:25:44 +00:00
|
|
|
arch-install-scripts
|
2024-10-27 00:07:44 +00:00
|
|
|
];
|
|
|
|
|
2024-11-13 19:07:26 +00:00
|
|
|
documentation = {
|
|
|
|
enable = lib.mkDefault false;
|
|
|
|
doc.enable = lib.mkDefault false;
|
|
|
|
info.enable = lib.mkDefault false;
|
|
|
|
};
|
|
|
|
|
2024-10-27 00:07:44 +00:00
|
|
|
networking = {
|
|
|
|
networkmanager.enable = true;
|
2024-11-13 19:07:26 +00:00
|
|
|
wireless.enable = lib.mkForce false;
|
|
|
|
};
|
|
|
|
|
|
|
|
services = {
|
|
|
|
logrotate.enable = false;
|
|
|
|
udisks2.enable = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
programs = {
|
|
|
|
less.lessopen = null;
|
|
|
|
command-not-found.enable = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
environment = {
|
|
|
|
stub-ld.enable = lib.mkForce false;
|
|
|
|
defaultPackages = [ ];
|
|
|
|
};
|
|
|
|
|
|
|
|
xdg = {
|
|
|
|
autostart.enable = false;
|
|
|
|
icons.enable = false;
|
|
|
|
mime.enable = false;
|
|
|
|
sounds.enable = false;
|
2024-10-27 00:07:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nix = {
|
|
|
|
package = pkgs.lix;
|
2024-11-13 19:07:26 +00:00
|
|
|
nixPath = [ "nixpkgs=${config.nix.registry.nixpkgs.to.path}" ];
|
|
|
|
channel.enable = false;
|
2024-10-27 00:07:44 +00:00
|
|
|
settings = {
|
|
|
|
experimental-features = [ "nix-command" "flakes" "auto-allocate-uids" ];
|
|
|
|
max-jobs = "auto";
|
|
|
|
sandbox = true;
|
|
|
|
auto-optimise-store = true;
|
|
|
|
keep-going = true;
|
|
|
|
warn-dirty = false;
|
|
|
|
use-xdg-base-directories = true;
|
2024-11-13 19:07:26 +00:00
|
|
|
substituters = [
|
|
|
|
"https://nix-community.cachix.org"
|
|
|
|
"https://nixpkgs-unfree.cachix.org"
|
|
|
|
"https://hyprland.cachix.org/"
|
|
|
|
"https://anyrun.cachix.org"
|
|
|
|
"https://wezterm.cachix.org"
|
|
|
|
"https://hydra.nixos.org/"
|
|
|
|
];
|
|
|
|
trusted-public-keys = [
|
|
|
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
|
|
|
"nixpkgs-unfree.cachix.org-1:hqvoInulhbV4nJ9yJOEr+4wxhDV4xq2d1DK7S6Nj6rs="
|
|
|
|
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
|
|
|
"anyrun.cachix.org-1:pqBobmOjI7nKlsUMV25u9QHa9btJK65/C8vnO3p346s="
|
|
|
|
"wezterm.cachix.org-1:kAbhjYUC9qvblTE+s7S+kl5XM1zVa4skO+E/1IDWdH0="
|
|
|
|
"hydra.nixos.org-1:CNHJZBh9K4tP3EKF6FkkgeVYsS3ohTl+oS0Qa8bezVs="
|
|
|
|
];
|
|
|
|
|
2024-10-27 00:07:44 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-11-13 19:07:26 +00:00
|
|
|
hardware.enableRedistributableFirmware = true;
|
|
|
|
|
2024-10-27 00:07:44 +00:00
|
|
|
}
|