Changed: Qemu Host
This commit is contained in:
parent
315f2eb7cb
commit
42a0947763
@ -5,8 +5,7 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports = [
|
||||||
[
|
|
||||||
../../modules/system.nix
|
../../modules/system.nix
|
||||||
../../modules/nix-settings.nix
|
../../modules/nix-settings.nix
|
||||||
../../modules/vpn.nix
|
../../modules/vpn.nix
|
||||||
@ -21,38 +20,25 @@
|
|||||||
../../modules/plymouth.nix
|
../../modules/plymouth.nix
|
||||||
../../modules/file_managers/spacefm.nix
|
../../modules/file_managers/spacefm.nix
|
||||||
|
|
||||||
# Include the results of the hardware scan.
|
# Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.geary.enable = true;
|
programs.geary.enable = true;
|
||||||
|
|
||||||
# Bootloader.
|
boot.loader = {
|
||||||
boot.loader.grub.enable = true;
|
grub = {
|
||||||
boot.loader.grub.device = "/dev/sda";
|
enable = true;
|
||||||
#boot.loader.grub.useOSProber = true;
|
device = "/dev/sda";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
networking.hostName = "nix-qemu"; # Define your hostname.
|
networking.hostName = "nix-qemu"; # Define your hostname.
|
||||||
|
|
||||||
# Enable networking
|
hardware.opengl.enable = true;
|
||||||
networking.networkmanager.enable = true;
|
|
||||||
|
|
||||||
# Configure keymap in X11
|
system.stateVersion = "25.11"; # Did you read the comment?
|
||||||
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?
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user