-
Notifications
You must be signed in to change notification settings - Fork 1
/
configuration.nix
56 lines (45 loc) · 1.14 KB
/
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
47
48
49
50
51
52
53
54
55
56
{ config, pkgs, ... }:
{
imports = [
./configuration
];
nix = {
allowedUsers = [ "@wheel" ];
settings.experimental-features = [ "nix-command" "flakes" ];
};
virtualisation = {
docker = {
enable = true;
};
};
environment.defaultPackages = pkgs.lib.mkForce [];
time.timeZone = "Europe/Berlin";
i18n.defaultLocale = "en_US.UTF-8";
console = {
font = "Fira Code Nerd Font Complete Mono";
keyMap = pkgs.lib.mkForce "de";
useXkbConfig = true;
};
users = {
mutableUsers = false;
users.user = {
hashedPassword = "$6$a1yirXLkmXTYTOiw$MXLr1vIkeeeDKYGQkyaD/F7TIrzEY/XJ4lfGF8iRgjTDB4Socddwa3TexR5oIUmCe6iuHDsIH7GrJjNqTGD7o/";
isNormalUser = true;
shell = pkgs.zsh;
extraGroups = [ "wheel" "networkmanager" "video" "audio" "input" "docker" ];
};
};
fonts.fonts = with pkgs; [
(nerdfonts.override { fonts = [ "FiraCode" ]; })
];
system = {
copySystemConfiguration = false;
stateVersion = "22.05";
};
xdg.portal = {
enable = true;
wlr.enable = true;
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
gtkUsePortal = true;
};
}