mirror of https://gitlab.crans.org/nounous/nixos
50 lines
749 B
Nix
50 lines
749 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./networking.nix
|
|
];
|
|
|
|
networking.hostId = "bbdd1133";
|
|
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 = ["nodev"];
|
|
path = "/boot-fallback";
|
|
}
|
|
];
|
|
};
|
|
|
|
boot.tmp = {
|
|
useTmpfs = true;
|
|
cleanOnBoot = true;
|
|
};
|
|
|
|
|
|
crans = {
|
|
enable = true;
|
|
|
|
networking = {
|
|
id = 3;
|
|
};
|
|
resticClient.enable = false;
|
|
};
|
|
|
|
|
|
system.stateVersion = "24.05";
|
|
}
|