dotfiles/config/nix/configuration.nix

54 lines
1.1 KiB
Nix
Raw 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, pkgs, ... }:
{
boot.loader.grub.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "nixos";
networking.wireless.enable = true; # Enable wireless support via wpa_supplicant
time.timeZone = "Europe/Amsterdam";
# TODO qwerty-fr for console
# Enable the X11 windowing system
services.xserver.enable = true;
# TODO qwerty-fr for X11
# Enable CUPS to print documents
services.printing.enable = true;
# Enable sound
sound.enable = true;
hardware.pulseaudio.enable = true;
# services.xserver.displayManager.gdm.enable = true;
services.xserver.windowManager.i3.enable = true;
# Users
users.users.geoffrey = {
isNormalUser = true;
extraGroups = [ "wheel" ]; # Enable sudo for the user.
packages = with pkgs; [
firefox
tree
lolcat
];
initialPassword = "cartable";
};
environment.systemPackages = with pkgs; [
neovim
wget
];
# Enable the OpenSSH daemon
services.openssh.enable = true;
# TEST
system.copySystemConfiguration = true;
# Use defaults from
system.stateVersion = "23.05";
}