chore: comments + organizing

This commit is contained in:
Laureηt 2022-12-20 19:02:03 +01:00
parent 8f60310431
commit 3240843cc2
Signed by: Laurent
SSH key fingerprint: SHA256:kZEpW8cMJ54PDeCvOhzreNr4FSh6R13CMGH/POoO8DI

View file

@ -5,33 +5,37 @@
{ config, pkgs, ... }:
{
imports =
[
imports = [
./hardware-configuration.nix
];
networking.hostName = "neodymium";
# Use the systemd-boot EFI boot loader.
# use systemd-boot EFI boot loader
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
hardware.enableRedistributableFirmware = true;
# configure hardware
hardware = {
enableRedistributableFirmware = true;
opengl = {
enable = true;
driSupport = true;
};
};
nix.settings.experimental-features = [ "nix-command" "flakes" ];
networking.networkmanager.enable = true;
# Set your time zone.
# internationalisation
time.timeZone = "Europe/Paris";
# Select internationalisation properties.
i18n.defaultLocale = "en_IE.UTF-8";
i18n.defaultLocale = "en_DK.UTF-8";
console = {
keyMap = "fr";
};
fonts.fonts = with pkgs; [
fira-code fira-code-symbols
(nerdfonts.override { fonts = [ "FiraCode" ]; })
];
@ -53,8 +57,6 @@
wrapperFeatures.gtk = true;
};
nixpkgs.config.allowUnfree = true;
programs.light.enable = true;
users.mutableUsers = false;
@ -411,11 +413,18 @@
};
};
# enable ssh agent
programs.ssh.startAgent = true;
# Enable polkit
# enable polkit
security.polkit.enable = true;
# enable unfree
nixpkgs.config.allowUnfree = true;
# experimental features
nix.settings.experimental-features = [ "nix-command" "flakes" ];
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave