dotfiles/nixos/boxes/bolty/default.nix

54 lines
1.3 KiB
Nix
Raw Normal View History

2023-11-18 13:08:10 +00:00
{
lib,
pkgs,
...
}: {
2021-10-01 10:06:37 +01:00
imports = [
../cli.nix
2023-10-29 12:21:13 +00:00
../send-logs.nix
2023-01-01 18:37:49 +00:00
./bolty-boot.nix
2023-10-29 12:32:51 +00:00
./grafana.nix
./home-assistant.nix
2023-05-06 08:27:17 +01:00
./home-security.nix
2023-11-02 18:04:13 +00:00
./influxdb.nix
2023-10-29 11:36:28 +00:00
./logs.nix
2023-06-22 10:42:53 +01:00
./nas.nix
2023-04-22 12:19:16 +01:00
./networking.nix
2023-01-01 18:37:49 +00:00
./nix-store-server.nix
2022-04-09 12:01:03 +01:00
./print-server.nix
2023-01-01 18:37:49 +00:00
./real-hardware.nix
2022-04-09 12:01:03 +01:00
./restic-server.nix
2023-02-26 12:05:55 +00:00
./tailscale-cert.nix
2023-04-22 12:30:19 +01:00
./virtualisation.nix
2024-01-05 19:58:49 +00:00
./syncthing.nix
../../git
../../helix
../../mercurial
../../vim
../../zsh
2021-10-01 10:06:37 +01:00
];
2023-08-13 17:00:41 +01:00
boot.binfmt.emulatedSystems = ["aarch64-linux"];
2022-12-12 19:41:11 +00:00
programs.ccache.enable = true;
2022-12-21 10:47:15 +00:00
networking.hostName = "bolty";
networking.hostId = "f05dd3b4";
2021-10-01 10:06:37 +01:00
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;
2024-08-24 22:35:55 +01:00
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";};
2021-10-01 10:06:37 +01:00
}