Added: Qemu

This commit is contained in:
DerGrumpf 2025-04-08 00:35:46 +02:00
parent dc265d2f71
commit d1e22cca12
3 changed files with 10 additions and 2 deletions

View File

@ -23,6 +23,7 @@
../../modules/python.nix ../../modules/python.nix
../../modules/appimage.nix ../../modules/appimage.nix
../../modules/qemu.nix ../../modules/qemu.nix
../../modules/geary.nix
# Include the results of the hardware scan. # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
]; ];
@ -47,7 +48,7 @@
defaultGateway = { defaultGateway = {
address = "192.168.2.1"; address = "192.168.2.1";
interface = "eth0"; interface = "eno1";
}; };
nameservers = [ nameservers = [

4
modules/geary.nix Normal file
View File

@ -0,0 +1,4 @@
{ pkgs, ...}:
{
programs.geary.enable = true;
}

View File

@ -1,6 +1,9 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
environment.systemPackages = [ pkgs.qemu ]; environment.systemPackages = with pkgs; [
qemu
quickemu
];
systemd.tmpfiles.rules = [ "L+ /var/lib/qemu/firmware - - - - ${pkgs.qemu}/share/qemu/firmware" ]; systemd.tmpfiles.rules = [ "L+ /var/lib/qemu/firmware - - - - ${pkgs.qemu}/share/qemu/firmware" ];
boot.binfmt.emulatedSystems = [ boot.binfmt.emulatedSystems = [
"aarch64-linux" "aarch64-linux"