flake/hosts/muon/home.nix
2024-06-12 15:09:24 +00:00

40 lines
922 B
Nix

{ pkgs, lib, osConfig,... }:
let cfg = osConfig.mods; in {
# Home
home.username = cfg.user.name;
home.homeDirectory = "/home/${cfg.user.name}";
# Modules
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;
# Host specific
## Monitors
xsession.windowManager.i3.config.workspaceOutputAssign = [
{
workspace = "1";
output = "DP-2";
} {
workspace = "2";
output = "HDMI-1";
}
];
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";
}