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