2020-01-12 15:17:17 -08:00
|
|
|
# Kuro -- my desktop
|
|
|
|
|
|
|
|
{ config, lib, utils, pkgs, ... }:
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./. # import common settings
|
|
|
|
|
|
|
|
<my/modules/desktop/bspwm.nix>
|
|
|
|
|
|
|
|
<my/modules/chat.nix> # discord, mainly
|
|
|
|
<my/modules/recording.nix> # recording video & audio
|
|
|
|
<my/modules/daw.nix> # making music
|
|
|
|
<my/modules/music.nix> # playing music
|
|
|
|
<my/modules/graphics.nix> # art & design
|
|
|
|
<my/modules/vm.nix> # virtualbox for testing
|
|
|
|
|
|
|
|
<my/modules/browser/firefox.nix>
|
2020-01-12 16:47:33 -08:00
|
|
|
<my/modules/dev/cc.nix>
|
2020-01-12 15:17:17 -08:00
|
|
|
<my/modules/dev/rust.nix>
|
|
|
|
<my/modules/editors/emacs.nix>
|
|
|
|
<my/modules/editors/vim.nix>
|
|
|
|
<my/modules/gaming/steam.nix>
|
|
|
|
<my/modules/shell/direnv.nix>
|
|
|
|
<my/modules/shell/git.nix>
|
|
|
|
<my/modules/shell/gnupg.nix>
|
|
|
|
<my/modules/shell/pass.nix>
|
|
|
|
<my/modules/shell/zsh.nix>
|
|
|
|
|
|
|
|
# Services
|
|
|
|
<my/modules/services/syncthing.nix>
|
|
|
|
|
|
|
|
# Themes
|
|
|
|
<my/modules/themes/aquanaut>
|
|
|
|
];
|
|
|
|
|
|
|
|
networking.networkmanager.enable = true;
|
|
|
|
time.timeZone = "America/Toronto";
|
|
|
|
|
|
|
|
## Hardware
|
|
|
|
# GPU
|
|
|
|
services.xserver.videoDrivers = [ "nvidia" ];
|
2020-01-12 16:45:36 -08:00
|
|
|
hardware.opengl.enable = true;
|
2020-01-12 15:17:17 -08:00
|
|
|
# For ergodox ez
|
|
|
|
my.packages = [ pkgs.teensy-loader-cli ];
|
|
|
|
my.alias.teensyload = "sudo teensy-loader-cli -w -v --mcu=atmega32u4";
|
|
|
|
# For my intuos4 pro. My cintiq doesn't work on Linux though :(
|
|
|
|
services.xserver.wacom.enable = true;
|
2020-01-12 23:11:28 -08:00
|
|
|
|
|
|
|
# TODO Move this to udev
|
|
|
|
# my.init = ''
|
|
|
|
# # lock tablet to main display
|
|
|
|
# if xinput list --id-only "Wacom Intuos Pro S Pen stylus" 2>&1 >/dev/null; then
|
|
|
|
# xinput map-to-output $(xinput list --id-only "Wacom Intuos Pro S Pen stylus") DVI-I-1
|
|
|
|
# xinput map-to-output $(xinput list --id-only "Wacom Intuos Pro S Pen eraser") DVI-I-1
|
|
|
|
# xinput map-to-output $(xinput list --id-only "Wacom Intuos Pro S Pen cursor") DVI-I-1
|
|
|
|
# fi
|
|
|
|
# '';
|
2020-01-12 15:17:17 -08:00
|
|
|
}
|