2025-04-04 09:45:57 +02:00
|
|
|
|
# Edit this configuration file to define what should be installed on
|
|
|
|
|
# your system. Help is available in the configuration.nix(5) man page
|
|
|
|
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
|
|
|
|
|
|
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
|
|
{
|
2025-04-04 11:14:33 +02:00
|
|
|
|
imports =
|
|
|
|
|
[
|
|
|
|
|
../../modules/system.nix
|
|
|
|
|
../../modules/nix-settings.nix
|
|
|
|
|
../../modules/vpn.nix
|
|
|
|
|
../../modules/fonts.nix
|
|
|
|
|
../../modules/firewall.nix
|
|
|
|
|
../../modules/localisation.nix
|
|
|
|
|
../../modules/openssh.nix
|
|
|
|
|
../../modules/pipewire.nix
|
|
|
|
|
../../modules/podman.nix
|
|
|
|
|
../../modules/services.nix
|
|
|
|
|
../../modules/regreet/regreet.nix
|
|
|
|
|
../../modules/plymouth.nix
|
|
|
|
|
../../modules/file_managers/spacefm.nix
|
|
|
|
|
|
|
|
|
|
# Include the results of the hardware scan.
|
|
|
|
|
./hardware-configuration.nix
|
2025-04-04 09:45:57 +02:00
|
|
|
|
];
|
|
|
|
|
|
2025-04-06 18:24:18 +02:00
|
|
|
|
programs.geary.enable = true;
|
|
|
|
|
|
2025-04-04 11:14:33 +02:00
|
|
|
|
# Bootloader.
|
|
|
|
|
boot.loader.grub.enable = true;
|
|
|
|
|
boot.loader.grub.device = "/dev/sda";
|
2025-04-06 18:24:18 +02:00
|
|
|
|
#boot.loader.grub.useOSProber = true;
|
2025-04-04 11:14:33 +02:00
|
|
|
|
|
|
|
|
|
networking.hostName = "nix-qemu"; # Define your hostname.
|
|
|
|
|
|
|
|
|
|
# Enable networking
|
|
|
|
|
networking.networkmanager.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?
|
2025-04-04 09:45:57 +02:00
|
|
|
|
|
|
|
|
|
}
|
2025-04-05 15:13:04 +02:00
|
|
|
|
|