97 lines
1.9 KiB
Nix
97 lines
1.9 KiB
Nix
{
|
|
lib,
|
|
namespace,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
inherit (lib.${namespace}) enabled disabled;
|
|
in
|
|
{
|
|
imports = [ ./hardware.nix ];
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
path-of-building
|
|
teams-for-linux
|
|
obsidian
|
|
zed-editor
|
|
];
|
|
|
|
environment.pathsToLink = [ "/libexec" ];
|
|
|
|
virtualisation.waydroid = enabled;
|
|
|
|
${namespace} = {
|
|
archetypes = {
|
|
gaming.enable = true;
|
|
};
|
|
|
|
apps = {
|
|
_1password = enabled;
|
|
obs-studio = enabled;
|
|
cli-apps.helix = enabled;
|
|
};
|
|
|
|
desktop.hyprland = {
|
|
enable = true;
|
|
settings = {
|
|
monitor = [
|
|
#Ultrawide
|
|
"DP-2,3440x1440@144, 0x0, 1"
|
|
#Vertical
|
|
"HDMI-A-1, 1920x1080@144, auto-right, 1, transform, 1"
|
|
# nividia kernel issues
|
|
"Unknown-1, disable"
|
|
];
|
|
|
|
env = [
|
|
"LIBVA_DRIVER_NAME,nvidia"
|
|
"XDG_SESSION_TYPE,wayland"
|
|
"GBM_BACKEND,nvidia-drm"
|
|
"__GLX_VENDOR_LIBRARY_NAME,nvidia"
|
|
"NVD_BACKEND,direct"
|
|
];
|
|
|
|
cursor = {
|
|
no_hardware_cursors = true;
|
|
};
|
|
|
|
exec-once = [
|
|
"xrandr --output DP-2 --primary"
|
|
"[workspace 1 silent] obsidian --disabled-gpu"
|
|
"[workspace 9 silent] git-butler"
|
|
];
|
|
|
|
workspace = [
|
|
"1, monitor:DP-2"
|
|
"2, monitor:DP-2"
|
|
"3, monitor:DP-2"
|
|
"4, monitor:DP-2"
|
|
"8, monitor:HDMI-A-1"
|
|
"9, monitor:HDMI-A-1"
|
|
];
|
|
|
|
windowrulev2 = [
|
|
"workspace 8 silent, class:^(steam)$, title:^(Friends List)"
|
|
"workspace 8 silent, class:^(discord)$, title:^(Discord)"
|
|
];
|
|
};
|
|
};
|
|
|
|
services = {
|
|
factorio-server = disabled;
|
|
};
|
|
|
|
system = {
|
|
hardware = {
|
|
bluetooth = enabled;
|
|
gpu.nvidia = enabled;
|
|
};
|
|
};
|
|
|
|
security.gpg = enabled;
|
|
};
|
|
|
|
system.stateVersion = "23.11";
|
|
}
|