miku: Do a lot of things

This commit is contained in:
PapaTutuWawa committed 2022-02-14 18:34:04 +01:00
1 parent 1fa05e9822
commit fb4815a7dd
9 files changed
+45 -46

No files matched your search

+9 -1
View File
@@ -35,6 +35,10 @@ let
in {
options.ptw.programs.sway = {
enable = lib.mkEnableOption "Configure sway using HomeManager";
extraSessionCommands = lib.mkOption {
description = "Commands to be run before sway is started. See programs.sway.extraSessionCommands";
default = "";
};
};
config = lib.mkIf cfg.enable {
@@ -61,10 +65,14 @@ in {
};
};
programs.sway.enable = true;
programs.sway = {
enable = true;
extraSessionCommands = cfg.extraSessionCommands;
};
home-manager.users."${config.ptw.system.singleUser}" = {
wayland.windowManager.sway = {
enable = true;
extraSessionCommands = cfg.extraSessionCommands;
config = {
bars = [ ];
startup = [