53 lines
1.3 KiB
Nix
53 lines
1.3 KiB
Nix
{ ... }:
|
|
|
|
{
|
|
# Import configuration files.
|
|
imports = [
|
|
./localisation-configuration.nix
|
|
./packages.nix
|
|
./users-configuration.nix
|
|
];
|
|
|
|
# Enable the X11 windowing system.
|
|
services.xserver.enable = true;
|
|
|
|
# Enable the GNOME Desktop Environment.
|
|
services.displayManager.gdm.enable = true;
|
|
services.desktopManager.gnome.enable = true;
|
|
|
|
# Enable networking
|
|
networking.networkmanager.enable = true;
|
|
|
|
# Enable CUPS to print documents.
|
|
services.printing.enable = true;
|
|
|
|
# Enable sound with pipewire.
|
|
services.pulseaudio.enable = false;
|
|
security.rtkit.enable = true;
|
|
services.pipewire = {
|
|
enable = true;
|
|
alsa.enable = true;
|
|
alsa.support32Bit = true;
|
|
pulse.enable = true;
|
|
# If you want to use JACK applications, uncomment this
|
|
#jack.enable = true;
|
|
|
|
# use the example session manager (no others are packaged yet so this is enabled by default,
|
|
# no need to redefine it in your config for now)
|
|
#media-session.enable = true;
|
|
};
|
|
|
|
# Nano configuration.
|
|
programs.nano = {
|
|
nanorc = ''
|
|
set autoindent
|
|
set linenumbers
|
|
set mouse
|
|
set tabstospaces
|
|
set tabsize 4
|
|
'';
|
|
};
|
|
|
|
# Add nix experimental features.inherit
|
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
|
} |