55 lines
1,018 B
Nix
55 lines
1,018 B
Nix
{ suites, profiles, pkgs, lib, ... }: {
|
|
imports = lib.lists.flatten [
|
|
(with suites; [ graphic ])
|
|
|
|
(with profiles; [
|
|
boot.grub
|
|
|
|
networking.wireless
|
|
|
|
(with hardware; [
|
|
sound
|
|
laptop
|
|
gpu.intel
|
|
wireless
|
|
])
|
|
|
|
services.privoxy
|
|
])
|
|
|
|
./hardware-configuration.nix
|
|
];
|
|
|
|
system.stateVersion = "21.11";
|
|
|
|
environment.persistence."/persist" = {
|
|
directories = [
|
|
"/home"
|
|
"/etc/nixos"
|
|
|
|
"/root/.local/share/nix"
|
|
|
|
# /etc directories
|
|
"/etc/ssh"
|
|
|
|
# /var directories
|
|
"/var/log"
|
|
"/var/lib/fprint"
|
|
"/var/lib/bluetooth"
|
|
"/var/lib/systemd/coredump"
|
|
"/var/db/sudo/lectured"
|
|
];
|
|
|
|
files = [
|
|
"/etc/machine-id"
|
|
];
|
|
};
|
|
|
|
networking.interfaces.wlp170s0.useDHCP = true;
|
|
|
|
hardware.video.hidpi.enable = false;
|
|
console.font = lib.mkDefault "${pkgs.terminus_font}/share/consolefonts/ter-v32n.psf.gz";
|
|
console.earlySetup = lib.mkDefault true;
|
|
|
|
services.fprintd.enable = true;
|
|
}
|