64 lines
1.1 KiB
Nix
64 lines
1.1 KiB
Nix
{ config, pkgs, ... }:
|
|
|
|
let
|
|
hostname = "spark";
|
|
|
|
in {
|
|
imports = [
|
|
../defaults.nix
|
|
../hardware-configuration.nix
|
|
];
|
|
|
|
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
|
|
];
|
|
|
|
fudo.common = {
|
|
profile = "desktop";
|
|
site = "seattle";
|
|
enable-gui = true;
|
|
};
|
|
|
|
# Use the systemd-boot EFI boot loader.
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi = {
|
|
canTouchEfiVariables = true;
|
|
};
|
|
|
|
programs = {
|
|
adb.enable = true;
|
|
bash.enableCompletion = true;
|
|
};
|
|
|
|
networking.hostName = hostname;
|
|
|
|
hardware.bluetooth.enable = false;
|
|
|
|
hardware.opengl.driSupport32Bit = true;
|
|
hardware.opengl.driSupport = true;
|
|
|
|
services = {
|
|
trezord.enable = true;
|
|
};
|
|
|
|
virtualisation.libvirtd = {
|
|
enable = true;
|
|
qemuPackage = pkgs.qemu_kvm;
|
|
onShutdown = "shutdown";
|
|
};
|
|
}
|