2019-01-08 16:57:31 +01:00
|
|
|
{pkgs, config, lib, ...}:
|
|
|
|
{
|
2019-01-09 00:28:02 +01:00
|
|
|
|
2019-06-08 14:59:52 +02:00
|
|
|
imports = [ ./dunstrc.nix ./terminal.nix ./audio.nix ];
|
2019-01-09 00:28:02 +01:00
|
|
|
|
2019-01-08 16:57:31 +01:00
|
|
|
home.keyboard = {
|
|
|
|
layout = "no-latin1";
|
|
|
|
};
|
|
|
|
|
|
|
|
xsession = {
|
|
|
|
enable = true;
|
2019-01-09 17:03:10 +01:00
|
|
|
|
|
|
|
|
|
|
|
initExtra = ''
|
2019-03-13 23:12:26 +01:00
|
|
|
export PATH="$HOME/.config/nixpkgs/nix-dotfiles/bin:$PATH"
|
|
|
|
|
2019-01-10 21:59:30 +01:00
|
|
|
export XDG_CURRENT_DESKTOP=kde
|
2019-01-09 17:03:10 +01:00
|
|
|
export DESKTOP_SESSION=kde
|
2019-01-11 03:55:59 +01:00
|
|
|
|
|
|
|
export QT_STYLE_OVERRIDE="breeze"
|
2019-01-09 17:03:10 +01:00
|
|
|
'';
|
|
|
|
|
2019-01-08 16:57:31 +01:00
|
|
|
windowManager = {
|
|
|
|
i3.enable = true;
|
|
|
|
i3.config = {
|
|
|
|
modifier = "Mod4";
|
|
|
|
keybindings = let modifier = "Mod4"; #xsession.windowManager.i3.config.modifier;
|
|
|
|
in lib.mkOptionDefault {
|
|
|
|
"${modifier}+0" = "workspace 10";
|
|
|
|
"${modifier}+Shift+0" = "move container to workspace 10";
|
|
|
|
|
|
|
|
"${modifier}+Tab" = "workspace next";
|
|
|
|
"${modifier}+Shift+Tab" = "workspace prev";
|
|
|
|
|
|
|
|
"XF86AudioRaiseVolume" = "exec --no-startup-id pactl set-sink-volume 0 +5%";
|
|
|
|
"XF86AudioLowerVolume" = "exec --no-startup-id pactl set-sink-volume 0 -5%";
|
|
|
|
"XF86AudioMute" = "exec --no-startup-id pactl set-sink-mute 0 toggle";
|
|
|
|
"XF86AudioMicMute" = "exec --no-startup-id pactl set-source-mute 1 toggle";
|
|
|
|
|
|
|
|
"XF86MonBrightnessUp" = "exec --no-startup-id xbacklight -inc 5";
|
|
|
|
"XF86MonBrightnessDown" = "exec --no-startup-id xbacklight -dec 5";
|
|
|
|
|
|
|
|
"XF86Display" = "exec arandr";
|
|
|
|
|
|
|
|
"Print" = "exec scrot %Y-%m-%d_$wx$h_scrot.png -z -e 'mv $f /home/daniel/Pictures/screenshots/'";
|
|
|
|
"${modifier}+Print" = "exec scrot /home/daniel/Pictures/Screenshots/%Y-%m-%d_$wx$h_scrot.png -z";
|
2020-02-28 14:36:14 +01:00
|
|
|
"${modifier}+Shift+U" = "exec $HOME/.config/nixpkgs/nix-dotfiles/scripts/dmenuunicode";
|
2019-01-08 16:57:31 +01:00
|
|
|
|
|
|
|
"${modifier}+n" = "exec dolphin";
|
|
|
|
"${modifier}+b" = "exec firefox";
|
|
|
|
"${modifier}+t" = "exec gedit";
|
|
|
|
|
2019-01-09 00:28:02 +01:00
|
|
|
"${modifier}+Return" = lib.mkForce "exec kitty";
|
|
|
|
"${modifier}+Shift+Return" = "exec kitty -e ssh daniel@adam";
|
2019-01-08 16:57:31 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
services.compton = {
|
|
|
|
enable = true;
|
|
|
|
backend = "xrender";
|
|
|
|
};
|
|
|
|
|
2019-01-09 17:03:10 +01:00
|
|
|
|
|
|
|
gtk = {
|
|
|
|
enable = true;
|
|
|
|
theme = {
|
|
|
|
package = pkgs.breeze-gtk;
|
2019-01-10 21:59:30 +01:00
|
|
|
name = "Breeze";
|
2019-01-09 17:03:10 +01:00
|
|
|
};
|
|
|
|
iconTheme = {
|
|
|
|
package = pkgs.breeze-icons;
|
2019-01-10 21:59:30 +01:00
|
|
|
name = "breeze";
|
2019-01-09 17:03:10 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
qt = {
|
|
|
|
enable = true;
|
2019-05-01 23:59:21 +02:00
|
|
|
#useGtkTheme = true;
|
|
|
|
platformTheme = "gtk";
|
2019-01-09 17:03:10 +01:00
|
|
|
};
|
|
|
|
|
2019-01-08 16:57:31 +01:00
|
|
|
home.packages = [
|
2019-05-06 00:44:45 +02:00
|
|
|
pkgs.acpilight
|
2019-01-09 00:32:24 +01:00
|
|
|
pkgs.pavucontrol
|
2019-03-01 19:17:52 +01:00
|
|
|
pkgs.xorg.xkill
|
2019-05-02 00:00:29 +02:00
|
|
|
pkgs.arandr
|
2019-01-09 00:28:02 +01:00
|
|
|
|
2019-01-08 16:57:31 +01:00
|
|
|
pkgs.dunst
|
|
|
|
pkgs.libnotify
|
|
|
|
|
|
|
|
pkgs.dmenu
|
2019-01-09 00:28:02 +01:00
|
|
|
|
|
|
|
pkgs.scrot
|
2019-01-16 16:52:32 +01:00
|
|
|
pkgs.xclip
|
2019-01-09 00:32:24 +01:00
|
|
|
|
|
|
|
pkgs.dejavu_fonts
|
2019-01-09 23:18:25 +01:00
|
|
|
|
2019-01-10 21:59:30 +01:00
|
|
|
pkgs.breeze-qt5
|
|
|
|
pkgs.breeze-icons
|
2019-01-08 16:57:31 +01:00
|
|
|
];
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|