From 42a09477632b19328e2acda6288efddea017ced4 Mon Sep 17 00:00:00 2001 From: DerGrumpf Date: Sun, 6 Apr 2025 18:29:11 +0200 Subject: [PATCH] Changed: Qemu Host --- hosts/qemu/default.nix | 38 ++++++++++++-------------------------- 1 file changed, 12 insertions(+), 26 deletions(-) diff --git a/hosts/qemu/default.nix b/hosts/qemu/default.nix index cb1bc69..2afe3e5 100644 --- a/hosts/qemu/default.nix +++ b/hosts/qemu/default.nix @@ -5,8 +5,7 @@ { config, pkgs, ... }: { - imports = - [ + imports = [ ../../modules/system.nix ../../modules/nix-settings.nix ../../modules/vpn.nix @@ -21,38 +20,25 @@ ../../modules/plymouth.nix ../../modules/file_managers/spacefm.nix - # Include the results of the hardware scan. +# Include the results of the hardware scan. ./hardware-configuration.nix ]; - programs.geary.enable = true; + programs.geary.enable = true; - # Bootloader. - boot.loader.grub.enable = true; - boot.loader.grub.device = "/dev/sda"; - #boot.loader.grub.useOSProber = true; + boot.loader = { + grub = { + enable = true; + device = "/dev/sda"; + }; + }; networking.hostName = "nix-qemu"; # Define your hostname. - # Enable networking - networking.networkmanager.enable = true; + hardware.opengl.enable = true; - # Configure keymap in X11 - services.xserver.xkb = { - layout = "de"; - variant = ""; - }; - - # Configure console keymap - console.keyMap = "de"; - - # Enable automatic login for the user. - services.getty.autologinUser = "phil"; - - # Allow unfree packages - nixpkgs.config.allowUnfree = true; - - system.stateVersion = "24.11"; # Did you read the comment? + system.stateVersion = "25.11"; # Did you read the comment? } +