Infini-SD: init
This commit is contained in:
parent
2574b82458
commit
9d87b7d540
3 changed files with 91 additions and 0 deletions
37
hosts/Infini-SD/default.nix
Normal file
37
hosts/Infini-SD/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ lib, ... }: {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./filesystems.nix
|
||||
];
|
||||
|
||||
networking.hostId = "3275c7d3";
|
||||
|
||||
modules = {
|
||||
boot.grub.enable = true;
|
||||
hardware = {
|
||||
form.server = 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";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue