52 lines
1.2 KiB
Nix
52 lines
1.2 KiB
Nix
{ config, pkgs, inputs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./modules/system.nix
|
|
./modules/hyprland.nix
|
|
];
|
|
|
|
# Bootloader
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
# Networking
|
|
networking.hostName = "myhost"; # Change this to your hostname
|
|
networking.networkmanager.enable = true;
|
|
|
|
# Time zone
|
|
time.timeZone = "Europe/Oslo"; # Adjust to your timezone
|
|
|
|
# Locale
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
i18n.extraLocaleSettings = {
|
|
LC_ADDRESS = "nb_NO.UTF-8";
|
|
LC_IDENTIFICATION = "nb_NO.UTF-8";
|
|
LC_MEASUREMENT = "nb_NO.UTF-8";
|
|
LC_MONETARY = "nb_NO.UTF-8";
|
|
LC_NAME = "nb_NO.UTF-8";
|
|
LC_NUMERIC = "nb_NO.UTF-8";
|
|
LC_PAPER = "nb_NO.UTF-8";
|
|
LC_TELEPHONE = "nb_NO.UTF-8";
|
|
LC_TIME = "nb_NO.UTF-8";
|
|
};
|
|
|
|
# Enable flakes
|
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
|
|
|
# User account
|
|
users.users.crib = {
|
|
isNormalUser = true;
|
|
description = "Your Name";
|
|
extraGroups = [ "networkmanager" "wheel" "video" "audio" ];
|
|
shell = pkgs.zsh;
|
|
};
|
|
|
|
# Allow unfree packages
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
# System version
|
|
system.stateVersion = "24.05"; # Don't change this
|
|
}
|