2024-06-13 14:00:35 +00:00
|
|
|
|
{
|
|
|
|
|
config,
|
|
|
|
|
lib,
|
|
|
|
|
pkgs,
|
|
|
|
|
...
|
|
|
|
|
}:
|
|
|
|
|
|
2024-06-15 18:26:05 +00:00
|
|
|
|
let
|
|
|
|
|
# Do not change this value! This tracks when NixOS was installed on your system.
|
|
|
|
|
stateVersion = "24.11";
|
|
|
|
|
in
|
2024-06-13 14:00:35 +00:00
|
|
|
|
{
|
2024-06-15 18:26:05 +00:00
|
|
|
|
imports = [ ./hardware-configuration.nix ];
|
2024-06-13 14:00:35 +00:00
|
|
|
|
|
2024-06-15 18:26:05 +00:00
|
|
|
|
system.stateVersion = stateVersion;
|
|
|
|
|
|
|
|
|
|
###*** Configure your system below this line. ***###
|
|
|
|
|
/*
|
|
|
|
|
What kind of system are you running NixOS on?
|
|
|
|
|
If you're not sure, leave this as the default.
|
|
|
|
|
|
|
|
|
|
Options are:
|
|
|
|
|
x86_64-linux - (Default) 64-bit PCs.
|
|
|
|
|
aarch64-linux - 64-bit ARM PCs.
|
|
|
|
|
x86_64-darwin - Intel Macs.
|
|
|
|
|
aarch64-darwin - M-series Macs.
|
|
|
|
|
*/
|
|
|
|
|
nixpkgs.hostPlatform = "x86_64-linux";
|
2024-06-13 14:00:35 +00:00
|
|
|
|
|
|
|
|
|
# Set your time zone.
|
2024-06-15 18:26:05 +00:00
|
|
|
|
# To see all available timezones, run `timedatectl list-timezones`.
|
2024-06-13 14:00:35 +00:00
|
|
|
|
time.timeZone = "Europe/Amsterdam";
|
|
|
|
|
|
2024-06-15 18:26:05 +00:00
|
|
|
|
# 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;
|
2024-06-13 14:00:35 +00:00
|
|
|
|
};
|
|
|
|
|
|
2024-06-15 18:26:05 +00:00
|
|
|
|
# Configure the system.
|
2024-06-13 14:00:35 +00:00
|
|
|
|
aux = {
|
2024-06-15 18:26:05 +00:00
|
|
|
|
# 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";
|
|
|
|
|
|
2024-06-13 14:00:35 +00:00
|
|
|
|
ui.desktops = {
|
2024-06-15 18:26:05 +00:00
|
|
|
|
# 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;
|
2024-06-13 14:00:35 +00:00
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# Enable printing via CUPS
|
|
|
|
|
services.printing.enable = false;
|
|
|
|
|
}
|