Files
nix/systems/x86_64-linux/lin-o1-x86-node/default.nix

54 lines
754 B
Nix
Executable File

{ namespace
, config
, pkgs
, lib
, modulesPath
, ...
}:
let
inherit (lib.${namespace}) enabled;
cfg = config.${namespace}.user;
in
{
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
];
system.stateVersion = "26.05";
time.timeZone = "UTC";
boot.loader.grub = {
efiSupport = true;
efiInstallAsRemovable = true;
};
reichard = {
nix = enabled;
system = {
disk = {
enable = true;
diskPath = "/dev/sda";
};
networking = {
enable = true;
};
};
services = {
openssh = enabled;
tailscale = {
enable = true;
enableRouting = true;
};
};
};
environment.systemPackages = with pkgs; [
btop
tmux
vim
];
}