wip on sway
This commit is contained in:
parent
0fb3e72df2
commit
f527cd96e7
4 changed files with 41 additions and 38 deletions
|
@ -7,13 +7,13 @@
|
|||
./hardware-configuration.nix
|
||||
../../boot.nix
|
||||
../../common.nix
|
||||
../../gfx-nvidia-optimus.nix
|
||||
../../gfx-intel.nix
|
||||
../../zerotier.nix
|
||||
../../distributed-builds.nix
|
||||
../../libvirt.nix
|
||||
../../backups.nix
|
||||
../../gui
|
||||
../../gnome
|
||||
../../sway
|
||||
../../git
|
||||
];
|
||||
|
||||
|
|
39
nixos/sway/default.nix
Normal file
39
nixos/sway/default.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{ 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 = [
|
||||
];
|
||||
|
||||
home.sessionVariables = {
|
||||
};
|
||||
|
||||
|
||||
wayland.windowManager.sway = {
|
||||
enable = true;
|
||||
wrapperFeatures.base = true;
|
||||
wrapperFeatures.gtk = true;
|
||||
|
||||
config = {
|
||||
modifier = "${mod}";
|
||||
keybindings = {
|
||||
"${mod}+1" = "workspace number 1";
|
||||
"${mod}+2" = "workspace number 2";
|
||||
"${mod}+3" = "workspace number 3";
|
||||
"${mod}+4" = "workspace number 4";
|
||||
|
||||
"${mod}+Return" = "exec ${pkgs.alacritty}/bin/alacritty";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
|
||||
programs.mako.enable = true;
|
||||
|
||||
imports = [
|
||||
];
|
||||
|
||||
home.sessionVariables = {
|
||||
};
|
||||
|
||||
wayland.windowManager.sway.enable = true;
|
||||
wayland.windowManager.sway.wrapperFeatures.base = true;
|
||||
wayland.windowManager.sway.wrapperFeatures.gtk = true;
|
||||
|
||||
|
||||
services = {
|
||||
kdeconnect = {
|
||||
enable = true;
|
||||
indicator = true;
|
||||
};
|
||||
network-manager-applet.enable = true;
|
||||
pasystray.enable = true;
|
||||
};
|
||||
|
||||
services.udiskie.enable = true;
|
||||
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
services.dbus.packages = with pkgs; [ gnome2.GConf gnome3.dconf ];
|
||||
services.dbus.socketActivated = true;
|
||||
programs.sway.enable = true;
|
||||
systemd.defaultUnit = "graphical.target";
|
||||
}
|
||||
|
Loading…
Reference in a new issue