-
Notifications
You must be signed in to change notification settings - Fork 2
/
lemon.nix
45 lines (37 loc) · 869 Bytes
/
lemon.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
{ pkgs, secrets, ... }:
{
# Should fix bluetnooth controll thing
boot.extraModprobeConfig = '' options bluetooth disable_ertm=1 '';
# Allow Unfree
nixpkgs.config = {
allowUnfree = true;
};
# Experimental Features
nix.settings.experimental-features = [ "nix-command" "flakes" ];
# Host name
networking.hostName = "prometheus";
# Timezone
time.timeZone = "America/New_York";
# Locale
i18n.defaultLocale = "en_US.UTF-8";
console = {
font = "Lat2-Terminus16";
keyMap = "dvorak";
};
# Default User
users.users.lemon = {
isNormalUser = true;
initialHashedPassword = secrets.passwd;
extraGroups = [
"wheel"
"video"
"audio"
"openrazor"
];
};
# CUPS
services.printing.enable = true;
# zsh default shell
programs.zsh.enable = true;
users.defaultUserShell = pkgs.zsh;
}