36 lines
562 B
Nix
36 lines
562 B
Nix
{ lib, ... }: {
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./filesystems.nix
|
|
];
|
|
|
|
modules = {
|
|
boot.grub.enable = true;
|
|
hardware = {
|
|
audio.enable = true;
|
|
form.portable = true;
|
|
};
|
|
};
|
|
|
|
persist = {
|
|
directories = [
|
|
"/home"
|
|
"/etc/nixos"
|
|
"/etc/nixos-private"
|
|
|
|
"/root/.local/share/nix"
|
|
"/root/.ssh"
|
|
|
|
# /var directories
|
|
"/var/log"
|
|
"/var/lib/systemd/coredump"
|
|
"/var/lib/tailscale"
|
|
];
|
|
|
|
files = [
|
|
"/etc/machine-id"
|
|
];
|
|
};
|
|
|
|
system.stateVersion = "23.11";
|
|
}
|