nixfiles/hosts/tablet/tablet.nix

62 lines
1.6 KiB
Nix
Raw Normal View History

{ tree, config, pkgs, lib, ... }: {
2022-11-10 11:25:33 +00:00
imports = with tree; [
users.root
users.chaos
profiles.sshd
profiles.kernels.latest
presets.nixos.desktop
presets.nixos.laptop
presets.nixos.encrypted-usb
2022-11-10 11:25:33 +00:00
2022-11-11 20:53:17 +00:00
./secrets.nix
./profiles/wireguard.nix
./profiles/harry-vpn.nix
./profiles/misskey-dev.nix
2022-11-10 11:25:33 +00:00
];
home-manager.users.root = {
imports = with tree; [ home.base ];
home.stateVersion = "22.05";
};
home-manager.users.chaos = {
imports = with tree; [
home.base
home.dev.all
home.home-folders
home.backup-apps
2022-11-10 11:25:33 +00:00
home.programming.editors.vscode
2022-11-11 16:32:26 +00:00
home.programming.languages.rust
2022-11-10 11:25:33 +00:00
home.programming.languages.nix
];
home.stateVersion = "22.05";
};
networking.firewall.enable = true;
networking.firewall.allowPing = true;
nix.buildMachines = [{
hostName = "buildbox.servers.genderfucked.monster";
system = "x86_64-linux";
# if the builder supports building for multiple architectures,
# replace the previous line by, e.g.,
# systems = ["x86_64-linux" "aarch64-linux"];
sshUser = "root";
sshKey = "/usb/ssh-keys/chaos.priv";
publicHostKey = "c3NoLWVkMjU1MTkgQUFBQUMzTnphQzFsWkRJMU5URTVBQUFBSUpXZGI5SVl3dFBSRm9rK2JTWUpmSnlRTlJSSithVEtIT3VOTkNLY2FMUHggcm9vdEBuaXhvcwo=";
maxJobs = 16;
speedFactor = 4;
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
mandatoryFeatures = [ ];
}];
nix.distributedBuilds = true;
nix.extraOptions = "builders-use-substitutes = true";
2022-11-10 11:25:33 +00:00
networking.hostName = "tablet";
time.timeZone = "Europe/London";
system.stateVersion = "22.05";
2022-11-10 11:25:33 +00:00
}