forked from TUM-DSE/doctor-cluster-config
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathruby.nix
More file actions
36 lines (29 loc) · 796 Bytes
/
ruby.nix
File metadata and controls
36 lines (29 loc) · 796 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{
pkgs,
modulesPath,
lib,
...
}:
{
# Include the results of the hardware scan.
imports = [
../modules/nfs/client.nix
../modules/riscv-unleashed
# less libraries to cross compile
"${modulesPath}/profiles/minimal.nix"
];
networking.hostName = "ruby";
networking.useDHCP = false;
networking.interfaces.eth0.useDHCP = true;
# we cross-compile so we cannot auto upgrade
system.autoUpgrade.enable = false;
environment.systemPackages = with pkgs; [
vim
lm_sensors
];
services.openssh.enable = true;
system.stateVersion = "22.05";
}