-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.nix
75 lines (55 loc) · 1.55 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{ config, pkgs, ... }:
{
nixpkgs.config.allowUnfree = true;
nixpkgs.overlays = [
(import ../pkgs/default.nix)
];
imports = [
../modules/settings.nix
"${builtins.fetchTarball https://github.com/rycee/home-manager/archive/master.tar.gz}/nixos"
];
time.timeZone = "America/Chicago";
environment.systemPackages = with pkgs; [
feh
vim
wget
xorg.xkill
];
fonts.fonts = with pkgs; [
corefonts
geosanslight
inconsolata
libertine
libre-baskerville
];
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
# programs.mtr.enable = true;
# programs.gnupg.agent = { enable = true; enableSSHSupport = true; };
# Enable sound.
sound.enable = true;
hardware.pulseaudio.enable = true;
# Enable the OpenSSH daemon.
# services.openssh.enable = true;
programs.ssh.startAgent = true;
services.xserver.enable = true;
services.xserver.desktopManager = {
default = "none";
xterm.enable = false;
};
services.xserver.windowManager.i3.enable = true;
services.xserver.autorun = true;
security.sudo.wheelNeedsPassword = false;
programs.zsh.enable = true;
users.users.${config.settings.username} = {
isNormalUser = true;
createHome = true;
home = "/home/${config.settings.username}";
description = "Jarrell Waggoner";
extraGroups = ["wheel" "networkmanager" "audio"];
uid = 1000;
shell = pkgs.zsh;
};
home-manager.users.${config.settings.username} = import ../config/home.nix ;
system.stateVersion = "18.09";
}