2020-10-01 15:46:04 -07:00
|
|
|
{ ... }:
|
2020-01-17 01:22:50 -08:00
|
|
|
{
|
2020-10-01 15:46:04 -07:00
|
|
|
imports = [ ./hardware-configuration.nix ];
|
2020-01-17 01:22:50 -08:00
|
|
|
|
2020-10-01 15:46:04 -07:00
|
|
|
## Modules
|
2020-03-28 22:48:43 -07:00
|
|
|
modules = {
|
|
|
|
desktop = {
|
|
|
|
bspwm.enable = true;
|
2020-10-01 15:46:04 -07:00
|
|
|
apps = {
|
|
|
|
discord.enable = true;
|
|
|
|
rofi.enable = true;
|
|
|
|
# godot.enable = true;
|
|
|
|
};
|
|
|
|
browsers = {
|
|
|
|
default = "firefox";
|
|
|
|
firefox.enable = true;
|
|
|
|
};
|
|
|
|
gaming = {
|
|
|
|
steam.enable = true;
|
|
|
|
# emulators.enable = true;
|
|
|
|
# emulators.psx.enable = true;
|
|
|
|
};
|
|
|
|
media = {
|
|
|
|
daw.enable = true;
|
|
|
|
documents.enable = true;
|
|
|
|
graphics.enable = true;
|
|
|
|
mpv.enable = true;
|
|
|
|
recording.enable = true;
|
|
|
|
spotify.enable = true;
|
|
|
|
};
|
|
|
|
term = {
|
|
|
|
default = "xst";
|
|
|
|
st.enable = true;
|
|
|
|
};
|
|
|
|
vm = {
|
|
|
|
qemu.enable = true;
|
|
|
|
};
|
2020-03-28 22:48:43 -07:00
|
|
|
};
|
|
|
|
editors = {
|
2020-10-01 15:46:04 -07:00
|
|
|
default = "emacs -nw";
|
2020-03-28 22:48:43 -07:00
|
|
|
emacs.enable = true;
|
|
|
|
vim.enable = true;
|
|
|
|
};
|
2020-10-01 15:46:04 -07:00
|
|
|
hardware = {
|
|
|
|
audio.enable = true;
|
|
|
|
ergodox.enable = true;
|
|
|
|
fs = {
|
|
|
|
enable = true;
|
|
|
|
zfs.enable = true;
|
|
|
|
ssd.enable = true;
|
|
|
|
};
|
|
|
|
nvidia.enable = true;
|
|
|
|
sensors.enable = true;
|
2020-03-28 22:48:43 -07:00
|
|
|
};
|
|
|
|
shell = {
|
|
|
|
direnv.enable = true;
|
2020-10-01 15:46:04 -07:00
|
|
|
git.enable = true;
|
|
|
|
gnupg.enable = true;
|
|
|
|
pass.enable = true;
|
|
|
|
tmux.enable = true;
|
|
|
|
zsh.enable = true;
|
2020-03-28 22:48:43 -07:00
|
|
|
};
|
|
|
|
services = {
|
2020-10-01 15:46:04 -07:00
|
|
|
ssh.enable = true;
|
2020-10-21 12:49:45 -07:00
|
|
|
# Needed occasionally to help the parental units with PC problems
|
|
|
|
# teamviewer.enable = true;
|
2020-03-28 22:48:43 -07:00
|
|
|
};
|
|
|
|
themes.fluorescence.enable = true;
|
|
|
|
};
|
|
|
|
|
2020-10-01 15:46:04 -07:00
|
|
|
|
|
|
|
## Local config
|
2020-04-27 16:20:50 -07:00
|
|
|
programs.ssh.startAgent = true;
|
2020-10-14 10:48:38 -07:00
|
|
|
services.openssh.startWhenNeeded = true;
|
2020-10-01 15:46:04 -07:00
|
|
|
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
2020-01-17 01:22:50 -08:00
|
|
|
networking.networkmanager.enable = true;
|
2020-10-01 15:46:04 -07:00
|
|
|
# The global useDHCP flag is deprecated, therefore explicitly set to false
|
|
|
|
# here. Per-interface useDHCP will be mandatory in the future, so this
|
|
|
|
# generated config replicates the default behaviour.
|
|
|
|
networking.useDHCP = false;
|
2020-01-17 01:22:50 -08:00
|
|
|
}
|