blob: fda83233df4d4e91cce7b947d1d0a7534c931296 (
plain)
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
47
48
49
50
51
52
|
{ config, pkgs, ... }:
{
system.stateVersion = "18.03";
imports = [
./host/current.nix
./host/software/vim.nix
./host/software/fish.nix
./user/common.nix
];
i18n = {
consoleKeyMap = "de";
defaultLocale = "en_US.UTF-8";
};
time.timeZone = "Europe/Berlin";
nixpkgs.config.allowUnfree = true;
programs = {
bash.enableCompletion = true;
gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
};
services.openssh = {
enable = true;
passwordAuthentication = false;
permitRootLogin = "no";
};
environment = {
systemPackages = with pkgs; [
psmisc htop git silver-searcher
];
shellAliases = {
"ls" = "ls --color=auto --group-directories-first";
};
shellInit = ''
export LC_NUMERIC=de_DE.UTF8
export LC_TIME=de_DE.UTF8
export LC_MONETARY=de_DE.UTF8
export LC_MEASUREMENT=de_DE.UTF8
'';
};
}
|