mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
58 lines
2.5 KiB
Nix
58 lines
2.5 KiB
Nix
{ pkgs, lib, osConfig,... }:
|
|
let cfg = osConfig.mods; in {
|
|
# Modules
|
|
mods.xdg.enable = true;
|
|
mods.social.enable = true;
|
|
mods.i3.enable = true;
|
|
mods.terminal.zsh.enable = true;
|
|
mods.terminal.emulator.enable = true;
|
|
mods.terminal.development.enable = true;
|
|
mods.terminal.tools.enable = true;
|
|
mods.desktop.development.enable = true;
|
|
mods.desktop.productivity.enable = true;
|
|
mods.desktop.media.enable = true;
|
|
|
|
# Hardware preferences
|
|
|
|
## Monitors
|
|
xsession.windowManager.i3.config.workspaceOutputAssign = [{
|
|
workspace = "1";
|
|
output = "${cfg.monitors.primary.name}";
|
|
} {
|
|
workspace = "2";
|
|
output = "${cfg.monitors.secondary.name}";
|
|
}];
|
|
services.autorandr.enable = true;
|
|
programs.autorandr = {
|
|
enable = true;
|
|
hooks.postswitch = {
|
|
"notify-i3" = "${pkgs.i3}/bin/i3-msg restart";
|
|
"set-wallpaper" = ''
|
|
${lib.getExe pkgs.feh} --bg-fill --nofehbg ${./wallpaper.png}
|
|
'';
|
|
};
|
|
profiles.default = {
|
|
fingerprint = {
|
|
"${cfg.monitors.primary.name}" = "00ffffffffffff000469a827528b01002f1a0104a53c22783ba595a65650a0260d5054bfef00714f95008180d1c00101010101010101e8e40050a0a067500820980455502100001e565e00a0a0a029503020350055502100001e000000fd002890dede3c010a202020202020000000fc0041535553204d473237380a202001cd02031e714b1213041f900e0f1d1e0514230917078301000065030c001000e8e40050a0a067500820980455502100001e909b0050a0a046500820880c55502100001e662156aa51001e30468f330055502100001e565e00a0a0a029503020350055502100001e87bc0050a0a055500820780055502100001e0000000000000056";
|
|
"${cfg.monitors.secondary.name}" = "00ffffffffffff00410c00000101010107160103804024780af9aba2554a9a250f474a21080081800101010101010101010101010101023a801871382d40582c450080682100001e1b2150a051001e3048883500806821000018000000fc005048494c495053204654560a20000000fd00384c1e5311000a20202020202001ca020326714e9f10202122140513041102150601260907031507508301000067030c001000b82d023a80d072382d40102c458080682100001e011d803e73382d407e2c458080682100001e011d80d0721c1620102c258080682100009e011d00bc52d01e20b828554080682100001e00000000000000000000000000000000002c";
|
|
};
|
|
config = {
|
|
"${cfg.monitors.primary.name}" =
|
|
cfg.monitors.primary.config;
|
|
"${cfg.monitors.secondary.name}" =
|
|
cfg.monitors.secondary.config;
|
|
};
|
|
};
|
|
};
|
|
|
|
wayland.windowManager.hyprland.settings = {
|
|
monitor = [
|
|
"DP-2,2560x1440@144,0x480,1"
|
|
"HDMI-A-2,1920x1080,2560x0,1,transform,3"
|
|
];
|
|
input.sensitivity = -0.4;
|
|
};
|
|
|
|
# Version of first install
|
|
home.stateVersion = "23.05";
|
|
}
|