mirror of https://gitlab.crans.org/nounous/nixos
42 lines
636 B
Nix
42 lines
636 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./networking.nix
|
|
];
|
|
|
|
networking.hostId = "121cdcb4";
|
|
networking.hostName = "cephiroth";
|
|
|
|
boot.loader.grub = {
|
|
enable = true;
|
|
efiSupport = true;
|
|
device = "nodev";
|
|
mirroredBoots = [
|
|
# {
|
|
# devices = ["/dev/sdi"];
|
|
# path = "/boot";
|
|
# }
|
|
{
|
|
devices = [ "/dev/sdj" ];
|
|
path = "/boot-fallback";
|
|
}
|
|
];
|
|
devices = ["/dev/sdi" "/dev/sdj"];
|
|
};
|
|
|
|
|
|
crans = {
|
|
enable = true;
|
|
|
|
networking = {
|
|
id = 3;
|
|
};
|
|
resticClient.enable = false;
|
|
};
|
|
|
|
|
|
system.stateVersion = "24.05";
|
|
}
|