dotfiles/nixos/boxes/bolty/default.nix
Cyryl Płotnicki 0c4da09b99
Some checks failed
use nix / build (push) Failing after 4m25s
add fancy nix on bolty to build foundry on cupsnet
2024-09-09 18:47:53 +01:00

53 lines
1.3 KiB
Nix

{
lib,
pkgs,
...
}: {
imports = [
../cli.nix
../send-logs.nix
./bolty-boot.nix
./grafana.nix
./home-assistant.nix
./home-security.nix
./influxdb.nix
./logs.nix
./nas.nix
./networking.nix
./nix-store-server.nix
./print-server.nix
./real-hardware.nix
./restic-server.nix
./tailscale-cert.nix
./virtualisation.nix
./syncthing.nix
../../git
../../helix
../../mercurial
../../vim
../../zsh
];
boot.binfmt.emulatedSystems = ["aarch64-linux"];
programs.ccache.enable = true;
networking.hostName = "bolty";
networking.hostId = "f05dd3b4";
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
time.timeZone = "Europe/London";
users.extraUsers.root.openssh.authorizedKeys.keys = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPbJNY48F1Vn11aDX5hJSj4oS2NIKEH2busqoyQTLIvk cyryl@bolty"];
users.users.cyryl = {
home = "/data/home/cyryl";
createHome = true;
shell = pkgs.zsh;
};
nix = {
settings.auto-optimise-store = true;
gc.automatic = true;
optimise.automatic = true;
extraOptions = ''
experimental-features = nix-command flakes
stalled-download-timeout = 30
'';
};
home-manager.users.cyryl = {...}: {programs.tmux.shortcut = lib.mkForce "b";};
}