59 lines
1.9 KiB
Nix
59 lines
1.9 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.
|
||
./hw-nemesis.nix
|
||
./modules/networking.nix
|
||
];
|
||
|
||
# Bootloader.
|
||
boot.loader.systemd-boot.enable = true;
|
||
boot.loader.efi.canTouchEfiVariables = true;
|
||
|
||
networking.hostName = "nemesis"; # Define your hostname.
|
||
|
||
# Set your time zone.
|
||
time.timeZone = "Asia/Singapore";
|
||
|
||
# Select internationalisation properties.
|
||
i18n.defaultLocale = "en_SG.UTF-8";
|
||
|
||
i18n.extraLocaleSettings = {
|
||
LC_ADDRESS = "en_SG.UTF-8";
|
||
LC_IDENTIFICATION = "en_SG.UTF-8";
|
||
LC_MEASUREMENT = "en_SG.UTF-8";
|
||
LC_MONETARY = "en_SG.UTF-8";
|
||
LC_NAME = "en_SG.UTF-8";
|
||
LC_NUMERIC = "en_SG.UTF-8";
|
||
LC_PAPER = "en_SG.UTF-8";
|
||
LC_TELEPHONE = "en_SG.UTF-8";
|
||
LC_TIME = "en_SG.UTF-8";
|
||
};
|
||
|
||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||
users.users.rafiq = {
|
||
isNormalUser = true;
|
||
description = "rafiq";
|
||
extraGroups = ["networkmanager" "wheel"];
|
||
};
|
||
|
||
# Allow unfree packages
|
||
nixpkgs.config.allowUnfree = true;
|
||
|
||
environment.systemPackages = with pkgs; [
|
||
git
|
||
];
|
||
|
||
stylix.enable = true;
|
||
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
|
||
|
||
# This value determines the NixOS release from which the default
|
||
# settings for stateful data, like file locations and database versions
|
||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||
# this value at the release version of the first install of this system.
|
||
# Before changing this value read the documentation for this option
|
||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||
system.stateVersion = "24.11"; # Did you read the comment?
|
||
}
|