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
577 B
35 lines
577 B
{ ... }:
|
|
{ lib, config, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
imports = [
|
|
./disk.nix
|
|
./nfs.nix
|
|
#./ldap.nix
|
|
#./beegfs.nix
|
|
#./ntp.nix
|
|
#./gateway.nix
|
|
#./autoinstall.nix
|
|
#./cache.nix
|
|
];
|
|
|
|
users.users."root".password = "asdasd123";
|
|
|
|
virtualisation.useDefaultFilesystems = false;
|
|
virtualisation.fileSystems."/" = {
|
|
device = config.virtualisation.bootDevice;
|
|
fsType = "btrfs";
|
|
autoFormat = true;
|
|
};
|
|
|
|
deployment = {
|
|
targetHost = "10.32.30.240";
|
|
targetUser = "root";
|
|
|
|
tags = [ "manager" ];
|
|
};
|
|
|
|
networking.hostName = "manager";
|
|
}
|