91 lines
2.3 KiB
Nix
91 lines
2.3 KiB
Nix
{
|
||
config,
|
||
lib,
|
||
pkgs,
|
||
...
|
||
}:
|
||
|
||
let
|
||
# Do not change this value! This tracks when NixOS was installed on your system.
|
||
stateVersion = "24.11";
|
||
in
|
||
{
|
||
imports = [ ./hardware-configuration.nix ];
|
||
|
||
system.stateVersion = stateVersion;
|
||
|
||
###*** Configure your system below this line. ***###
|
||
# Set your time zone.
|
||
# To see all available timezones, run `timedatectl list-timezones`.
|
||
time.timeZone = "Europe/Amsterdam";
|
||
|
||
# Define your user account(s). Don't forget to set a password with ‘passwd’.
|
||
users.users = {
|
||
# Replace "axol" with your preferred username.
|
||
"axol" = {
|
||
isNormalUser = true;
|
||
extraGroups = [ "wheel" ];
|
||
|
||
# Enter any additional packages specific to this user here.
|
||
packages = with pkgs; [ ];
|
||
};
|
||
};
|
||
|
||
# Configure home-manager for your user.
|
||
# For configuration options, see https://nix-community.github.io/home-manager/#using-home-manager
|
||
home-manager.users.axol = {
|
||
# The state version is required and should stay at the version you originally installed.
|
||
home.stateVersion = stateVersion;
|
||
|
||
programs = {
|
||
# Let home Manager install and manage itself.
|
||
home-manager.enable = true;
|
||
};
|
||
};
|
||
|
||
# Configure the system.
|
||
aux.system = {
|
||
# Enable to allow unfree (e.g. closed source) packages.
|
||
# https://nixos.org/manual/nixpkgs/stable/#sec-allow-unfree
|
||
allowUnfree = false;
|
||
|
||
# Enable Secure Boot support.
|
||
# IMPORTANT: Read the README before enabling this option!
|
||
bootloader.secureboot.enable = false;
|
||
|
||
# Enable or disable Bluetooth support.
|
||
bluetooth.enable = true;
|
||
|
||
# Change the default text editor. Options are "emacs", "nano", or "vim".
|
||
editor = "nano";
|
||
|
||
# Change how long old generations are kept for.
|
||
retentionPeriod = "30d";
|
||
|
||
ui.desktops = {
|
||
# Enable the Budgie desktop environment.
|
||
# https://buddiesofbudgie.org/
|
||
budgie.enable = false;
|
||
|
||
# Enables the Hyperland desktop environment.
|
||
# https://hyprland.org/
|
||
hyprland.enable = false;
|
||
|
||
# Enable the Gnome desktop environment.
|
||
# https://www.gnome.org/
|
||
gnome.enable = false;
|
||
|
||
# Enable the KDE desktop environment.
|
||
# https://kde.org/
|
||
kde.enable = false;
|
||
|
||
# Enable the XFCE desktop environment.
|
||
# https://xfce.org/
|
||
xfce.enable = false;
|
||
};
|
||
};
|
||
|
||
# Enable printing via CUPS
|
||
services.printing.enable = false;
|
||
}
|