-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommon.nix
67 lines (57 loc) · 1.05 KB
/
common.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
57
58
59
60
61
62
63
64
65
66
67
{ config, lib, pkgs, specialArgs, inputs, ... }:
{
# Nix
nix = {
package = pkgs.nixVersions.stable;
extraOptions = "experimental-features = nix-command flakes";
settings = {
cores = 4;
max-jobs = 4;
};
};
nixpkgs.config = {
allowUnfree = true;
};
# Packages
environment.systemPackages = with pkgs; [
dhcpcd
networkmanager
neovim
wget
git
fastfetch
fzf
nodejs
openssh
lm_sensors
fx
unzip
unrar
sshfs
pulsemixer
conky
spotify-player
];
programs = {
git.enable = true;
zsh.enable = true;
};
# Locale
i18n.defaultLocale = "en_US.UTF-8";
services.automatic-timezoned.enable = true;
# Networking
networking.networkmanager.enable = true;
# Ledger
hardware.ledger.enable = true;
# QMK dev
hardware.keyboard.qmk.enable = true;
# User
users.users.brandon = {
isNormalUser = true;
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
packages = with pkgs; [
tree
];
shell = pkgs.zsh;
};
}