54 lines
1.1 KiB
Nix
54 lines
1.1 KiB
Nix
|
{ 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";
|
|||
|
}
|