76 lines
1.9 KiB
Nix
76 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’).
|
||
|
||
{ config, pkgs, ... }:
|
||
|
||
{
|
||
imports =
|
||
[ # Include the results of the hardware scan.
|
||
./ssh-configuration.nix
|
||
];
|
||
|
||
# Configure network proxy if necessary
|
||
# networking.proxy.default = "http://user:password@proxy:port/";
|
||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||
|
||
# Enable networking
|
||
networking.networkmanager.enable = true;
|
||
|
||
# Set your time zone.
|
||
time.timeZone = "Europe/Copenhagen";
|
||
|
||
# Select internationalisation properties.
|
||
i18n.defaultLocale = "en_DK.UTF-8";
|
||
|
||
i18n.extraLocaleSettings = {
|
||
LC_ADDRESS = "da_DK.UTF-8";
|
||
LC_IDENTIFICATION = "da_DK.UTF-8";
|
||
LC_MEASUREMENT = "da_DK.UTF-8";
|
||
LC_MONETARY = "da_DK.UTF-8";
|
||
LC_NAME = "da_DK.UTF-8";
|
||
LC_NUMERIC = "da_DK.UTF-8";
|
||
LC_PAPER = "da_DK.UTF-8";
|
||
LC_TELEPHONE = "da_DK.UTF-8";
|
||
LC_TIME = "da_DK.UTF-8";
|
||
};
|
||
|
||
# Configure keymap in X11
|
||
services.xserver.xkb = {
|
||
layout = "dk";
|
||
variant = "";
|
||
};
|
||
|
||
# Configure console keymap
|
||
console.keyMap = "dk-latin1";
|
||
|
||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||
users.users.frederik = {
|
||
isNormalUser = true;
|
||
description = "Frederik Jacobsen";
|
||
extraGroups = [ "networkmanager" "wheel" "docker" ];
|
||
packages = with pkgs; [];
|
||
};
|
||
|
||
# Allow unfree packages
|
||
nixpkgs.config.allowUnfree = true;
|
||
|
||
# List packages installed in system profile. To search, run:
|
||
# $ nix search wget
|
||
environment.systemPackages = with pkgs; [
|
||
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||
wget
|
||
vim
|
||
git
|
||
fastfetch
|
||
docker
|
||
docker-compose
|
||
];
|
||
|
||
virtualisation.docker = {
|
||
enable = true;
|
||
enableOnBoot = true;
|
||
};
|
||
|
||
}
|