mirror of
https://github.com/Superredstone/nixos.git
synced 2026-06-17 07:14:39 +02:00
60 lines
1.5 KiB
Nix
60 lines
1.5 KiB
Nix
# 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’).
|
||
|
||
{ pkgs, ... }:
|
||
|
||
{
|
||
imports = [
|
||
# Include the results of the hardware scan.
|
||
./hardware-configuration.nix
|
||
];
|
||
|
||
boot.loader.grub.enable = true;
|
||
boot.loader.grub.device = "/dev/vda";
|
||
boot.loader.grub.useOSProber = true;
|
||
|
||
networking.hostName = "frog"; # Define your hostname.
|
||
|
||
networking.networkmanager.enable = true;
|
||
|
||
time.timeZone = "Europe/Rome";
|
||
|
||
i18n.defaultLocale = "en_US.UTF-8";
|
||
|
||
i18n.extraLocaleSettings = {
|
||
LC_ADDRESS = "it_IT.UTF-8";
|
||
LC_IDENTIFICATION = "it_IT.UTF-8";
|
||
LC_MEASUREMENT = "it_IT.UTF-8";
|
||
LC_MONETARY = "it_IT.UTF-8";
|
||
LC_NAME = "it_IT.UTF-8";
|
||
LC_NUMERIC = "it_IT.UTF-8";
|
||
LC_PAPER = "it_IT.UTF-8";
|
||
LC_TELEPHONE = "it_IT.UTF-8";
|
||
LC_TIME = "it_IT.UTF-8";
|
||
};
|
||
|
||
services.xserver.enable = true;
|
||
|
||
services.xserver.displayManager.gdm.enable = true;
|
||
services.xserver.desktopManager.gnome.enable = true;
|
||
|
||
services.xserver.xkb = {
|
||
layout = "us";
|
||
variant = "";
|
||
};
|
||
services.printing.enable = true;
|
||
services.pulseaudio.enable = false;
|
||
security.rtkit.enable = true;
|
||
services.pipewire = {
|
||
enable = true;
|
||
alsa.enable = true;
|
||
alsa.support32Bit = true;
|
||
pulse.enable = true;
|
||
};
|
||
environment.systemPackages = with pkgs; [
|
||
];
|
||
system.stateVersion = "25.11"; # Did you read the comment?
|
||
|
||
}
|