2020-07-29 20:25:47 +01:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
let
|
|
|
|
mod = "Mod4";
|
|
|
|
in
|
|
|
|
{
|
|
|
|
services.dbus.packages = with pkgs; [ gnome2.GConf gnome3.dconf ];
|
|
|
|
services.dbus.socketActivated = true;
|
|
|
|
programs.sway.enable = true;
|
|
|
|
systemd.defaultUnit = "graphical.target";
|
|
|
|
home-manager.users.cyryl = {...}: {
|
|
|
|
programs.mako.enable = true;
|
|
|
|
|
|
|
|
imports = [
|
2020-08-01 11:29:15 +01:00
|
|
|
./keybindings.nix
|
2020-07-29 20:25:47 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
home.sessionVariables = {
|
|
|
|
};
|
|
|
|
|
2020-07-30 19:40:05 +01:00
|
|
|
home.packages = with pkgs; [
|
|
|
|
wl-clipboard
|
2020-08-01 09:04:57 +01:00
|
|
|
clipman
|
|
|
|
wofi
|
2020-07-30 19:40:05 +01:00
|
|
|
];
|
2020-07-29 20:25:47 +01:00
|
|
|
|
2020-08-01 09:18:13 +01:00
|
|
|
home.file.".config/wofi/style.css".source = ../../.config/wofi/style.css;
|
2020-07-29 20:25:47 +01:00
|
|
|
wayland.windowManager.sway = {
|
|
|
|
enable = true;
|
|
|
|
wrapperFeatures.base = true;
|
|
|
|
wrapperFeatures.gtk = true;
|
|
|
|
|
|
|
|
config = {
|
|
|
|
modifier = "${mod}";
|
2020-07-30 07:12:18 +01:00
|
|
|
menu = "${pkgs.wofi}/bin/wofi --show drun,run";
|
2020-08-01 09:04:57 +01:00
|
|
|
terminal = "${pkgs.alacritty}/bin/alacritty";
|
2020-08-01 11:33:50 +01:00
|
|
|
bars = [
|
|
|
|
{
|
|
|
|
position = "top";
|
|
|
|
colors.background= "#002b36";
|
|
|
|
fonts = [ "Fira Code Nerd Font 10" ];
|
|
|
|
statusCommand = "${pkgs.i3status-rust}/bin/i3status-rs ~/.config/i3/status.toml";
|
|
|
|
trayOutput = "primary";
|
|
|
|
}
|
|
|
|
];
|
2020-08-01 09:04:57 +01:00
|
|
|
startup = [
|
|
|
|
{
|
|
|
|
command = "${pkgs.wl-clipboard}/bin/wl-paste -t text --watch ${pkgs.clipman}/bin/clipman store";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
command = "${pkgs.clipman}/bin/clipman restore";
|
|
|
|
}
|
|
|
|
];
|
2020-08-01 08:10:19 +01:00
|
|
|
output.eDP-1.scale = "1.7";
|
2020-08-01 08:45:05 +01:00
|
|
|
input."1:1:AT_Translated_Set_2_keyboard" = {
|
|
|
|
xkb_layout = "pl";
|
|
|
|
xkb_options = "caps:ctrl_modifier";
|
|
|
|
};
|
|
|
|
input."2:7:SynPS/2_Synaptics_TouchPad" = {
|
|
|
|
tap = "enabled";
|
|
|
|
};
|
2020-07-29 20:25:47 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|