mirror of
https://codeberg.org/muon/home.git
synced 2026-03-09 03:53:11 +00:00
Add new options to muon
This commit is contained in:
parent
ccb792282b
commit
cbc44a5eba
1 changed files with 22 additions and 11 deletions
|
|
@ -1,5 +1,11 @@
|
||||||
{ pkgs, lib, osConfig,... }:
|
{
|
||||||
let cfg = osConfig.mods; in {
|
pkgs,
|
||||||
|
lib,
|
||||||
|
osConfig,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
cfg = osConfig.mods;
|
||||||
|
in {
|
||||||
# Modules
|
# Modules
|
||||||
mods.xdg.enable = true;
|
mods.xdg.enable = true;
|
||||||
mods.social.enable = true;
|
mods.social.enable = true;
|
||||||
|
|
@ -11,17 +17,22 @@ let cfg = osConfig.mods; in {
|
||||||
mods.desktop.development.enable = true;
|
mods.desktop.development.enable = true;
|
||||||
mods.desktop.productivity.enable = true;
|
mods.desktop.productivity.enable = true;
|
||||||
mods.desktop.media.enable = true;
|
mods.desktop.media.enable = true;
|
||||||
|
mods.zen.enable = true;
|
||||||
|
mods.obsidian.enable = true;
|
||||||
|
|
||||||
# Hardware preferences
|
# Hardware preferences
|
||||||
|
|
||||||
## Monitors
|
## Monitors
|
||||||
xsession.windowManager.i3.config.workspaceOutputAssign = [{
|
xsession.windowManager.i3.config.workspaceOutputAssign = [
|
||||||
workspace = "1";
|
{
|
||||||
output = "${cfg.monitors.primary.name}";
|
workspace = "1";
|
||||||
} {
|
output = "${cfg.monitors.primary.name}";
|
||||||
workspace = "2";
|
}
|
||||||
output = "${cfg.monitors.secondary.name}";
|
{
|
||||||
}];
|
workspace = "2";
|
||||||
|
output = "${cfg.monitors.secondary.name}";
|
||||||
|
}
|
||||||
|
];
|
||||||
services.autorandr.enable = true;
|
services.autorandr.enable = true;
|
||||||
programs.autorandr = {
|
programs.autorandr = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -38,9 +49,9 @@ let cfg = osConfig.mods; in {
|
||||||
};
|
};
|
||||||
config = {
|
config = {
|
||||||
"${cfg.monitors.primary.name}" =
|
"${cfg.monitors.primary.name}" =
|
||||||
cfg.monitors.primary.config;
|
cfg.monitors.primary.config;
|
||||||
"${cfg.monitors.secondary.name}" =
|
"${cfg.monitors.secondary.name}" =
|
||||||
cfg.monitors.secondary.config;
|
cfg.monitors.secondary.config;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue