This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
# 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,...}:
{
config={
imports=[
# Home-manager modules
<home-manager/nixos>
./hardware-configuration.nix
# Programs
./modules/kakoune
./alacritty.nix
./git.nix
# Display server and related config
./display.nix
./fonts.nix
];
nixpkgs.config.allowUnfree=true;
nix.autoOptimiseStore=true;
nix.gc.automatic=true;
boot={
loader.systemd-boot={
enable=true;
editor=false;
configurationLimit=10;
};
loader.efi.canTouchEfiVariables=true;
cleanTmpDir=true;
};
networking.hostName="thor";
# Set your time zone.
time.timeZone="Europe/Amsterdam";
networking.useDHCP=false;
networking.interfaces.enp9s0.useDHCP=true;
sound.enable=true;
hardware.pulseaudio.enable=true;
# Define a user account. Don't forget to set a password with ‘passwd’.
users.users."riley"={
isNormalUser=true;
extraGroups=["wheel"];# Enable ‘sudo’ for the user.
};
environment.systemPackages=withpkgs;[
# Some utils
wget
curl
git
# Modern coreutils
ripgrep
bottom
skim
exa
bat
lf
fd
];
# 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. It‘s perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion="21.11";# Did you read the comment?