nix-config/nixos-mbp/configuration.nix

36 lines
969 B
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.

# 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, ... }:
let
commonPackages = import ../common-packages.nix { inherit pkgs; };
in
{
networking.hostName = "nixos-mpb"; # Define your hostname.
imports =
[ # Common configuration
../common-configuration.nix
# Include the results of the hardware scan.
./hardware-configuration.nix
];
# Configure keymap in X11
services.xserver.xkbVariant = "fr_mac";
# Enable touchpad support (enabled default in most desktopManager).
services.xserver.libinput.enable = true;
# dconf.settings."org/gnome/desktop/wm/preferences".button-layout = "minimize,maximize,close";
nixpkgs.config.permittedInsecurePackages = [
"openssl-1.1.1u"
];
environment.systemPackages = with pkgs; [
] ++ commonPackages;
}