diff --git a/.gitignore b/.gitignore index 947f765..e0f8ae3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ configuration.nix -hardware-configuration.nix *~ +hardware-configuration.nix diff --git a/hosts/spark.nix b/hosts/spark.nix index bc2adae..e86fc06 100644 --- a/hosts/spark.nix +++ b/hosts/spark.nix @@ -6,20 +6,42 @@ let in { imports = [ ../defaults.nix - ../networks/sea.fudo.org.nix - ../profiles/desktop.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; - efibootmgr = { - efiDisk = "/dev/sda1"; - }; + }; - # efiSysMountPoint = "/boot/efi"; + programs = { + adb.enable = true; + bash.enableCompletion = true; }; networking.hostName = hostname; @@ -29,4 +51,13 @@ in { hardware.opengl.driSupport32Bit = true; hardware.opengl.driSupport = true; + services = { + trezord.enable = true; + }; + + virtualisation.libvirtd = { + enable = true; + qemuPackage = pkgs.qemu_kvm; + onShutdown = "shutdown"; + }; }