Files
laptop-nix-config/configuration.nix

43 lines
1.1 KiB
Nix
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{ config, lib, pkgs, ... }:
{
imports = [ # Include the results of the hardware scan.
./hardware-configuration.nix
./system_components
];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "framework"; # Define your hostname.
# Configure network connections interactively with nmcli or nmtui.
networking.networkmanager.enable = true;
# Set your time zone.
time.timeZone = "Europe/London";
# Select internationalisation properties.
i18n.defaultLocale = "en_GB.UTF-8";
nix.settings.experimental-features = ["nix-command" "flakes"];
# Configure keymap in X11
services.xserver.xkb.layout = "gb";
# Enable touchpad support (enabled default in most desktopManager).
services.libinput.enable = true;
# Define a user account. Don't forget to set a password with passwd.
users.users.toaster = {
isNormalUser = true;
extraGroups = [ "wheel" ]; # Enable sudo for the user.
};
nixpkgs.config.allowUnfree = true;
services.openssh.enable = true;
system.stateVersion = "25.11";
}