2019-08-06 10:56:54 -07:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
2019-11-26 14:04:14 -08:00
|
|
|
imports = [
|
2020-01-17 02:48:17 -08:00
|
|
|
./. # common settings
|
2019-12-12 00:10:31 -08:00
|
|
|
# My launcher
|
2020-01-17 01:22:50 -08:00
|
|
|
./apps/rofi.nix
|
2019-12-12 00:10:31 -08:00
|
|
|
# I often need a thumbnail browser to show off, peruse or organize photos,
|
|
|
|
# design work, or digital art.
|
2020-01-17 01:22:50 -08:00
|
|
|
./apps/thunar.nix
|
2020-01-17 02:48:17 -08:00
|
|
|
#
|
2020-01-17 01:22:50 -08:00
|
|
|
./apps/redshift.nix
|
2020-01-17 02:48:17 -08:00
|
|
|
#
|
2020-01-31 22:39:56 -08:00
|
|
|
./apps/urxvt.nix
|
2019-11-26 14:04:14 -08:00
|
|
|
];
|
2019-08-06 10:56:54 -07:00
|
|
|
|
2020-01-12 15:17:17 -08:00
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
lightdm
|
|
|
|
bspwm
|
|
|
|
dunst
|
|
|
|
libnotify
|
|
|
|
(polybar.override {
|
|
|
|
pulseSupport = true;
|
|
|
|
nlSupport = true;
|
|
|
|
})
|
|
|
|
];
|
2019-11-26 14:04:14 -08:00
|
|
|
|
2019-08-06 10:56:54 -07:00
|
|
|
services = {
|
|
|
|
xserver = {
|
2020-01-17 01:22:50 -08:00
|
|
|
enable = true;
|
2019-08-06 10:56:54 -07:00
|
|
|
windowManager.bspwm.enable = true;
|
2020-01-31 22:39:56 -08:00
|
|
|
desktopManager.xterm.enable = lib.mkDefault false;
|
2019-12-03 21:00:32 -08:00
|
|
|
displayManager.lightdm = {
|
|
|
|
enable = true;
|
|
|
|
greeters.mini = {
|
|
|
|
enable = true;
|
2020-01-12 15:17:17 -08:00
|
|
|
user = config.my.username;
|
2019-12-03 21:00:32 -08:00
|
|
|
};
|
|
|
|
};
|
2019-08-06 10:56:54 -07:00
|
|
|
};
|
2020-01-17 01:22:50 -08:00
|
|
|
compton.enable = true;
|
2019-08-06 10:56:54 -07:00
|
|
|
};
|
|
|
|
|
2020-01-12 15:17:17 -08:00
|
|
|
# For polybar
|
|
|
|
my = {
|
2020-01-17 01:22:50 -08:00
|
|
|
env.PATH = [ <config/bspwm/bin> ];
|
2020-01-12 15:17:17 -08:00
|
|
|
home.xdg.configFile = {
|
2020-01-17 01:22:50 -08:00
|
|
|
"sxhkd".source = <config/sxhkd>;
|
2020-01-12 15:17:17 -08:00
|
|
|
# link recursively so other modules can link files in their folders
|
2020-01-14 05:25:40 -08:00
|
|
|
"bspwm" = {
|
2020-01-17 01:22:50 -08:00
|
|
|
source = <config/bspwm>;
|
2020-01-14 05:25:40 -08:00
|
|
|
recursive = true;
|
|
|
|
};
|
2020-01-12 15:17:17 -08:00
|
|
|
};
|
2019-08-06 10:56:54 -07:00
|
|
|
};
|
|
|
|
}
|