🚀 add barebones sway config
This commit is contained in:
parent
be9f774d90
commit
0074ed43c1
2 changed files with 25 additions and 2 deletions
23
modules/desktop/sway/default.nix
Normal file
23
modules/desktop/sway/default.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
let cfg = config.modules.desktop;
|
||||
in {
|
||||
config = mkIf (cfg.name == "sway") {
|
||||
hardware.opengl = {
|
||||
enable = true;
|
||||
driSupport = true;
|
||||
};
|
||||
home-manager.users.moritz = {
|
||||
wayland.windowManager.sway = {
|
||||
enable = true;
|
||||
terminal = "kitty";
|
||||
menu = "wofi --show run";
|
||||
bars = [{
|
||||
fonts.size = 15.0;
|
||||
positiom = "bottom";
|
||||
}];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue