61 lines
1.1 KiB
Nix
61 lines
1.1 KiB
Nix
{ suites, profiles, pkgs, lib, ... }: {
|
|
imports = lib.lists.flatten [
|
|
(with suites; [ graphic ])
|
|
|
|
(with profiles; [
|
|
networking.wireless
|
|
services.proxy
|
|
])
|
|
|
|
./hardware-configuration.nix
|
|
];
|
|
|
|
system.stateVersion = "21.11";
|
|
|
|
environment.persistence."/persist" = {
|
|
directories = [
|
|
"/home"
|
|
"/etc/nixos"
|
|
|
|
"/root/.local/share/nix"
|
|
"/root/.ssh"
|
|
|
|
# /etc directories
|
|
"/etc/ssh"
|
|
|
|
# /var directories
|
|
"/var/log"
|
|
"/var/lib/fprint"
|
|
"/var/lib/bluetooth"
|
|
"/var/lib/systemd/coredump"
|
|
"/var/lib/systemd/backlight"
|
|
];
|
|
|
|
files = [
|
|
"/etc/machine-id"
|
|
];
|
|
};
|
|
|
|
modules = {
|
|
boot.grub.enable = true;
|
|
hardware = {
|
|
gpu.intel = true;
|
|
form.laptop = true;
|
|
|
|
peripherals = {
|
|
fprint-sensor.enable = true;
|
|
};
|
|
};
|
|
desktop = {
|
|
gaming = {
|
|
steam.enable = true;
|
|
polymc.enable = true;
|
|
};
|
|
};
|
|
virtualization.enable = true;
|
|
};
|
|
|
|
networking.interfaces.wlp170s0.useDHCP = true;
|
|
|
|
console.font = lib.mkDefault "${pkgs.terminus_font}/share/consolefonts/ter-v32n.psf.gz";
|
|
}
|