2020-01-17 01:22:50 -08:00
|
|
|
# Shiro -- my laptop
|
|
|
|
|
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
../personal.nix # common settings
|
|
|
|
./hardware-configuration.nix
|
|
|
|
];
|
|
|
|
|
2020-03-28 22:48:43 -07:00
|
|
|
modules = {
|
|
|
|
desktop = {
|
|
|
|
bspwm.enable = true;
|
|
|
|
|
|
|
|
apps.rofi.enable = true;
|
|
|
|
apps.discord.enable = true;
|
|
|
|
# apps.skype.enable = true;
|
|
|
|
apps.daw.enable = true; # making music
|
|
|
|
apps.graphics.enable = true; # raster/vector/sprites
|
|
|
|
apps.recording.enable = true; # recording screen/audio
|
|
|
|
# apps.vm.enable = true; # virtualbox for testing
|
|
|
|
|
|
|
|
term.default = "xst";
|
|
|
|
term.st.enable = true;
|
|
|
|
|
|
|
|
browsers.default = "firefox";
|
|
|
|
browsers.firefox.enable = true;
|
|
|
|
|
|
|
|
# gaming.emulators.psx.enable = true;
|
|
|
|
# gaming.steam.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
editors = {
|
|
|
|
default = "nvim";
|
|
|
|
emacs.enable = true;
|
|
|
|
vim.enable = true;
|
|
|
|
};
|
|
|
|
|
2020-04-23 21:51:31 -07:00
|
|
|
dev = {
|
|
|
|
# cc.enable = true;
|
|
|
|
# common-lisp.enable = true;
|
|
|
|
# rust.enable = true;
|
|
|
|
# lua.enable = true;
|
|
|
|
# lua.love2d.enable = true;
|
|
|
|
};
|
2020-03-28 22:48:43 -07:00
|
|
|
|
|
|
|
media = {
|
|
|
|
mpv.enable = true;
|
|
|
|
spotify.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
shell = {
|
|
|
|
direnv.enable = true;
|
|
|
|
git.enable = true;
|
|
|
|
gnupg.enable = true;
|
|
|
|
# weechat.enable = true;
|
|
|
|
pass.enable = true;
|
|
|
|
tmux.enable = true;
|
2020-04-23 21:51:31 -07:00
|
|
|
# ranger.enable = true;
|
2020-03-28 22:48:43 -07:00
|
|
|
zsh.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
services = {
|
|
|
|
syncthing.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
# themes.aquanaut.enable = true;
|
|
|
|
themes.fluorescence.enable = true;
|
|
|
|
};
|
|
|
|
|
2020-01-17 01:22:50 -08:00
|
|
|
networking.wireless.enable = true;
|
|
|
|
hardware.opengl.enable = true;
|
|
|
|
|
|
|
|
time.timeZone = "America/Toronto";
|
|
|
|
# time.timeZone = "Europe/Copenhagen";
|
|
|
|
|
|
|
|
# Optimize power use
|
|
|
|
environment.systemPackages = [ pkgs.acpi ];
|
|
|
|
powerManagement.powertop.enable = true;
|
|
|
|
# Monitor backlight control
|
|
|
|
programs.light.enable = true;
|
|
|
|
}
|