-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration.nix
60 lines (56 loc) · 1.27 KB
/
configuration.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
lib,
config,
...
}: let
inherit (lib.modules) mkIf mkForce;
primaryDisplay = "HDMI-A-1";
secondaryDisplay = "DP-4";
in {
specialisation = {
# "Focus Mode": Disables Gaming Modules
focusMode.configuration = {
environment.etc."specialisation".text = "focusMode";
profiles.gaming.enable = mkForce false;
};
};
# Custom option definitions
profiles = {
gaming = {
enable = true;
apps.obs = false;
};
workstation = {
enable = true;
};
};
sysconf = {
nvidia = true;
verticalTabs = true;
};
loose = {
fastfetch = false;
spicetify = true;
via = false;
};
hyprland = {
enable = true;
smartgaps = true;
monitors = {
configuration = [
"${primaryDisplay}, preferred, auto, 1"
#"${secondaryDisplay}, preferred, auto-left, 1"
"${secondaryDisplay}, disable"
];
bind = mkIf config.profiles.gaming.enable [
#moves firefox workspace to secondary for gaming, primary when done
#"$mod,B,moveworkspacetomonitor,1 ${secondaryDisplay}"
#"$mod,K,moveworkspacetomonitor,1 ${primaryDisplay}"
];
rules = [
#"3, monitor:${primaryDisplay}"
#"2, monitor:${secondaryDisplay}, default:true"
];
};
};
}