36 lines
627 B
Nix
36 lines
627 B
Nix
{ config, ... }:
|
|
{
|
|
imports = [ ./hardware.nix ];
|
|
|
|
config = {
|
|
fileSystems."/var/media" = {
|
|
device = "/dev/disk/by-label/data";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
modules = {
|
|
networking.ssh.enable = true;
|
|
|
|
services = {
|
|
auth.enable = true;
|
|
media.enable = true;
|
|
nextcloud.enable = true;
|
|
|
|
games = {
|
|
# minecraft.enable = true;
|
|
};
|
|
};
|
|
|
|
root = {
|
|
user = {
|
|
full_name = "__ROOT__";
|
|
email = "__ROOT__@${config.networking.hostName}";
|
|
};
|
|
|
|
shell = {
|
|
default = "zsh";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|