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
|
2024-12-01 15:59:42 +00:00
|
|
|
./adblocking.nix
|
2023-01-01 18:37:49 +00:00
|
|
|
./bolty-boot.nix
|
2023-10-29 12:32:51 +00:00
|
|
|
./grafana.nix
|
2022-12-09 11:10:15 +00:00
|
|
|
./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
|
2024-12-01 15:59:42 +00:00
|
|
|
./syncthing.nix
|
2023-02-26 12:05:55 +00:00
|
|
|
./tailscale-cert.nix
|
2023-04-22 12:30:19 +01:00
|
|
|
./virtualisation.nix
|
2024-08-24 22:08:00 +01:00
|
|
|
../../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";
|
2023-07-24 19:03:54 +01:00
|
|
|
networking.hostId = "f05dd3b4";
|
2021-10-01 10:06:37 +01:00
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
|
|
|
|
|
|
|
time.timeZone = "Europe/London";
|
2024-08-24 21:49:15 +01:00
|
|
|
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;
|
2024-08-24 21:49:15 +01:00
|
|
|
};
|
2024-09-09 18:47:13 +01:00
|
|
|
nix = {
|
|
|
|
settings.auto-optimise-store = true;
|
|
|
|
gc.automatic = true;
|
|
|
|
optimise.automatic = true;
|
|
|
|
extraOptions = ''
|
|
|
|
experimental-features = nix-command flakes
|
|
|
|
stalled-download-timeout = 30
|
|
|
|
'';
|
|
|
|
};
|
2024-08-25 15:07:56 +01:00
|
|
|
home-manager.users.cyryl = {...}: {programs.tmux.shortcut = lib.mkForce "b";};
|
2021-10-01 10:06:37 +01:00
|
|
|
}
|