nixos-config/systems/x86_64-linux/yggdrasil/default.nix
Christoph Hollizeck 92720111f6 init: obsidian
remove onedrive and sync documents over obsidian vault that is encrypted
2024-10-10 20:12:24 +02:00

97 lines
1.9 KiB
Nix

{
pkgs,
lib,
...
}:
let
inherit (lib.wyrdgard) enabled;
in
{
imports = [ ./hardware.nix ];
environment.systemPackages = with pkgs; [
path-of-building
teams-for-linux
obsidian
];
environment.pathsToLink = [ "/libexec" ];
virtualisation.waydroid = enabled;
wyrdgard = {
archetypes = {
gaming.enable = true;
};
apps = {
_1password = enabled;
obs-studio = 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 = [
"hyprctl dispatch moveworkspacetomonitor 4 HDMI-A-1"
"xrandr --output DP-2 --primary"
"[workspace 1 silent] obsidian"
"[workspace 4 silent] git-butler"
];
workspace = [
"1, monitor:DP-2"
"2, monitor:HDMI-A-1"
"3, monitor:DP-2"
"4, monitor:HDMI-A-1"
];
windowrulev2 = [
"workspace 2 silent, class:^(steam)$, title:^(Friends List)"
"workspace 2 silent, class:^(discord)$, title:^(Discord)"
];
};
};
services = {
factorio-server = enabled;
};
system = {
autoUpgrade = {
enable = true;
time = "10:00";
};
hardware = {
bluetooth = enabled;
gpu.nvidia = enabled;
};
};
security.gpg = enabled;
};
system.stateVersion = "23.11";
}