-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.nix
46 lines (36 loc) · 988 Bytes
/
configuration.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{ config, pkgs, ... }:
{
imports =
[
./hardware-configuration.nix
];
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.efi.efiSysMountPoint = "/boot/efi";
networking.hostName = "nixos";
networking.networkmanager.enable = true;
time.timeZone = "Australia/Brisbane";
i18n.defaultLocale = "en_AU.utf8";
services.xserver = {
layout = "au";
xkbVariant = "";
};
users.users.namnguyen = {
isNormalUser = true;
description = "Nam Nguyen";
extraGroups = [ "networkmanager" "wheel" "docker" ];
shell = pkgs.zsh;
openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH8HjC+29D66x0zOMMwrleHKHN4bD5hBmIqKzc3FALQo" ];
packages = with pkgs; [];
};
virtualisation.docker.enable = true;
environment.systemPackages = with pkgs; [
git
gnumake
vim
xclip
];
services.openssh.enable = true;
system.stateVersion = "23.05";
}