54 lines
1.3 KiB
Nix
54 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
imports = [
|
|
../cli.nix
|
|
../send-logs.nix
|
|
./adblocking.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
|
|
./syncthing.nix
|
|
./tailscale-cert.nix
|
|
./virtualisation.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";};
|
|
}
|