mirror of
https://github.com/larstvei/nix-config.git
synced 2024-11-26 08:58:31 +00:00
27 lines
530 B
Nix
27 lines
530 B
Nix
|
{ config, pkgs, lib, ... }:
|
||
|
{
|
||
|
networking.hostName = "larstvei-nixos";
|
||
|
|
||
|
time.timeZone = "Europe/Oslo";
|
||
|
|
||
|
i18n = {
|
||
|
defaultLocale = "en_US.UTF-8";
|
||
|
supportedLocales = [ "en_US.UTF-8" "nb_NO.UTF-8" ];
|
||
|
};
|
||
|
|
||
|
users.users.larstvei = {
|
||
|
isNormalUser = true;
|
||
|
home = "/home/larstvei";
|
||
|
extraGroups = [ "wheel" "networkmanager" ];
|
||
|
shell = pkgs.fish;
|
||
|
};
|
||
|
|
||
|
services = {
|
||
|
# Enable NetworkManager
|
||
|
networkmanager.enable = true;
|
||
|
};
|
||
|
|
||
|
# System state version
|
||
|
system.stateVersion = lib.mkDefault "24.11";
|
||
|
}
|