NixOS configuration for HPC cluster
https://docs.hpc.informatik.hs-fulda.de/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
637 B
35 lines
637 B
{ pkgs, modulesPath, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./network.nix
|
|
./root.nix
|
|
|
|
#"${modulesPath}/profiles/headless.nix"
|
|
"${modulesPath}/profiles/all-hardware.nix"
|
|
];
|
|
|
|
sops = {
|
|
defaultSopsFile = ../secrets.yaml;
|
|
defaultSopsFormat = "yaml";
|
|
|
|
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
|
};
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
boot.initrd.systemd.enable = true;
|
|
|
|
time.timeZone = "Europe/Berlin";
|
|
console.keyMap = "de";
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
vim
|
|
wget
|
|
curl
|
|
tmux
|
|
];
|
|
|
|
system.stateVersion = "22.11";
|
|
}
|