updated flake

This commit is contained in:
Charlie Root 2024-06-01 19:31:05 +02:00
commit 7db56ac8c3
6 changed files with 65 additions and 71 deletions

View file

@ -12,6 +12,7 @@ _: {
./anyrun
./rofi.nix
./kitty.nix
#./vivado.nix
./steam.nix
./waybar.nix
./schizofox.nix

View file

@ -19,6 +19,10 @@ in {
dedicatedServer.openFirewall = true;
gamescopeSession.enable = mkIf cfg.gamescope true;
};
home-manager.users.${username} = {};
programs.gamemode.enable = true;
environment.systemPackages = [pkgs.protonup];
environment.sessionVariables = {
STEAM_EXTRA_COMPAT_TOOLS_PATHS = "/home/${username}/.steam/root/compatibilitytoolds.d";
};
};
}

View file

@ -5,6 +5,7 @@
...
}: let
cfg = config.modules.programs.stylix;
inherit (config.modules.other.system) username;
in {
options.modules.programs.stylix.enable = lib.mkEnableOption "stylix";
config = lib.mkIf cfg.enable {
@ -50,7 +51,7 @@ in {
targets = {
console.enable = true;
fish.enable = true;
grub.enable = true;
grub.enable = false;
grub.useImage = true;
gtk.enable = true;
lightdm.enable = true;

View file

@ -53,7 +53,6 @@ in {
# Monitor config
monitor = [
#"eDP-1,1920x1080,0x0,1"
"DP-2,1920x1080,0x0,1"
"HDMI-A-2,1920x1080,1920x0,1"
"HDMI-A-1,1920x1080,3840x0,1"
@ -62,16 +61,6 @@ in {
];
# Workspace config
workspace = [
#"1, monitor:eDP-1, default:true"
#"2, monitor:eDP-1"
#"3, monitor:eDP-1"
#"4, monitor:eDP-1"
#"5, monitor:eDP-1"
#"6, monitor:eDP-1"
#"7, monitor:eDP-1"
#"8, monitor:eDP-1"
#"9, monitor:eDP-1"
#"10, monitor:eDP-1"
"1,monitor:HDMI-A-1, default:true"
"2,monitor:HDMI-A-1"

View file

@ -16,14 +16,13 @@ in {
__GL_GSYNC_ALLOWED = "0";
__GL_VRR_ALLOWED = "0";
DISABLE_QT5_COMPAT = "0";
GDK_BACKEND = "wayland,x11";
GDK_BACKEND = "wayland";
ANKI_WAYLAND = "1";
DIRENV_LOG_FORMAT = "";
WLR_DRM_NO_ATOMIC = "1";
QT_AUTO_SCREEN_SCALE_FACTOR = "1";
#WLR_DRM_NO_ATOMIC = "1";
#QT_AUTO_SCREEN_SCALE_FACTOR = "1";
QT_QPA_PLATFORM = "wayland";
DISABLE_QT_COMPAT = "0";
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
#QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
MOZ_ENABLE_WAYLAND = "1";
XDG_SESSION_TYPE = "wayland";
SDL_VIDEODRIVER = "wayland";
@ -37,7 +36,7 @@ in {
XDG_CURRENT_DESKTOP = "Hyprland";
XDG_SESSION_DESKTOP = "Hyprland";
ELECTRON_OZONE_PLATFORM_HINT = "auto";
WLR_RENDERER_ALLOW_SOFTWARE = "1";
#WLR_RENDERER_ALLOW_SOFTWARE = "1";
# Needed anymore?
LIBSEAT_BACKEND = "logind";
};