nixos-config/hosts/spark.nix

64 lines
1.1 KiB
Nix
Raw Normal View History

2019-12-25 15:20:36 -08:00
{ config, pkgs, ... }:
let
hostname = "spark";
in {
imports = [
../defaults.nix
../hardware-configuration.nix
];
2020-08-25 22:05:59 -07:00
nixpkgs.config.permittedInsecurePackages = [
"google-chrome-81.0.4044.138"
];
environment.systemPackages = with pkgs; [
# androidStudioPackages.canary
androidenv.androidPkgs_9_0.platform-tools
cmake
glxinfo
opencv4
qemu_kvm
signal-cli
signal-desktop
teamviewer
thunderbird
wireshark
];
2020-08-30 23:18:51 -07:00
fudo.common = {
profile = "desktop";
site = "seattle";
enable-gui = true;
};
2019-12-25 15:20:36 -08:00
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi = {
canTouchEfiVariables = true;
2020-08-25 22:05:59 -07:00
};
2019-12-25 15:20:36 -08:00
2020-08-25 22:05:59 -07:00
programs = {
adb.enable = true;
bash.enableCompletion = true;
2019-12-25 15:20:36 -08:00
};
networking.hostName = hostname;
hardware.bluetooth.enable = false;
hardware.opengl.driSupport32Bit = true;
hardware.opengl.driSupport = true;
2020-08-25 22:05:59 -07:00
services = {
trezord.enable = true;
};
virtualisation.libvirtd = {
enable = true;
qemuPackage = pkgs.qemu_kvm;
onShutdown = "shutdown";
};
2019-12-25 15:20:36 -08:00
}