Compare commits
3 commits
b837ef9a8d
...
f5345af026
Author | SHA1 | Date | |
---|---|---|---|
|
f5345af026 | ||
|
5dac54a9d9 | ||
|
4cc835dddc |
|
@ -25,7 +25,6 @@
|
||||||
++ [(import ./nextcloud.nix)] # nextcloud client
|
++ [(import ./nextcloud.nix)] # nextcloud client
|
||||||
++ [(import ./nvim.nix)] # neovim editor
|
++ [(import ./nvim.nix)] # neovim editor
|
||||||
++ [(import ./packages.nix)] # other packages
|
++ [(import ./packages.nix)] # other packages
|
||||||
++ [(import ./retroarch.nix)]
|
|
||||||
++ [(import ./scripts)] # personal scripts
|
++ [(import ./scripts)] # personal scripts
|
||||||
++ [(import ./spotify.nix)]
|
++ [(import ./spotify.nix)]
|
||||||
++ [(import ./starship.nix)] # shell prompt
|
++ [(import ./starship.nix)] # shell prompt
|
||||||
|
|
|
@ -4,6 +4,8 @@
|
||||||
inputs,
|
inputs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
imports = [(import ./retroarch.nix)];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
## Utils
|
## Utils
|
||||||
# gamemode
|
# gamemode
|
||||||
|
|
|
@ -1,31 +1,31 @@
|
||||||
{
|
{lib, ...}: let
|
||||||
lib,
|
variables = {
|
||||||
config,
|
NIXOS_OZONE_WL = 1;
|
||||||
...
|
|
||||||
}: {
|
|
||||||
home.sessionVariables = {
|
|
||||||
NIXOS_OZONE_WL = "1";
|
|
||||||
ELECTRON_OZONE_PLATFORM_HINT = "auto";
|
ELECTRON_OZONE_PLATFORM_HINT = "auto";
|
||||||
__GL_GSYNC_ALLOWED = "0";
|
__GL_GSYNC_ALLOWED = 0;
|
||||||
__GL_VRR_ALLOWED = "0";
|
__GL_VRR_ALLOWED = 0;
|
||||||
_JAVA_AWT_WM_NONEREPARENTING = "1";
|
_JAVA_AWT_WM_NONEREPARENTING = 1;
|
||||||
DISABLE_QT5_COMPAT = "0";
|
DISABLE_QT5_COMPAT = 0;
|
||||||
GDK_BACKEND = "wayland";
|
GDK_BACKEND = "wayland,x11,*";
|
||||||
ANKI_WAYLAND = "1";
|
ANKI_WAYLAND = 1;
|
||||||
DIRENV_LOG_FORMAT = "";
|
DIRENV_LOG_FORMAT = "";
|
||||||
WLR_DRM_NO_ATOMIC = "1";
|
WLR_DRM_NO_ATOMIC = 1;
|
||||||
QT_AUTO_SCREEN_SCALE_FACTOR = "1";
|
QT_AUTO_SCREEN_SCALE_FACTOR = 1;
|
||||||
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
QT_WAYLAND_DISABLE_WINDOWDECORATION = 1;
|
||||||
QT_QPA_PLATFORM = "wayland";
|
QT_QPA_PLATFORM = "wayland;xcb";
|
||||||
MOZ_ENABLE_WAYLAND = "1";
|
MOZ_ENABLE_WAYLAND = 1;
|
||||||
MOZ_USE_XINPUT2 = "1";
|
MOZ_USE_XINPUT2 = 1;
|
||||||
WLR_BACKEND = "vulkan";
|
WLR_BACKEND = "vulkan";
|
||||||
WLR_NO_HARDWARE_CURSORS = "1";
|
|
||||||
XDG_SESSION_TYPE = "wayland";
|
|
||||||
SDL_VIDEODRIVER = "wayland";
|
SDL_VIDEODRIVER = "wayland";
|
||||||
CLUTTER_BACKEND = "wayland";
|
CLUTTER_BACKEND = "wayland";
|
||||||
};
|
};
|
||||||
|
in {
|
||||||
|
home.sessionVariables = variables;
|
||||||
|
|
||||||
wayland.windowManager.hyprland.systemd.variables = ["--all"];
|
xdg.configFile."uwsm/env".text = builtins.concatStringsSep "\n" (
|
||||||
wayland.windowManager.hyprland.settings.env = lib.attrsets.mapAttrsToList (name: value: "${name},${builtins.toString value}") config.home.sessionVariables;
|
lib.attrsets.mapAttrsToList (
|
||||||
|
name: value: "export ${name}=\"${builtins.toString value}\""
|
||||||
|
)
|
||||||
|
variables
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,33 +1,4 @@
|
||||||
{...}: let
|
{...}: {
|
||||||
custom = {
|
|
||||||
font = "JetBrainsMono Nerd Font";
|
|
||||||
fontsize = "12";
|
|
||||||
primary_accent = "cba6f7";
|
|
||||||
secondary_accent = "89b4fa";
|
|
||||||
tertiary_accent = "f5f5f5";
|
|
||||||
background = "11111B";
|
|
||||||
opacity = "0.98";
|
|
||||||
cursor = "Numix-Cursor";
|
|
||||||
palette = rec {
|
|
||||||
primary_accent_hex = "cba6f7";
|
|
||||||
secondary_accent_hex = "89b4fa";
|
|
||||||
tertiary_accent_hex = "f5f5f5";
|
|
||||||
primary_background_hex = "11111B";
|
|
||||||
secondary_background_hex = "1b1b2b";
|
|
||||||
tertiary_background_hex = "25253a";
|
|
||||||
|
|
||||||
primary_accent_rgba = "rgba(203,166,247,${opacity})";
|
|
||||||
secondary_accent_rgba = "rgba(137,180,250,${opacity})";
|
|
||||||
tertiary_accent_rgba = "rgba(245,245,245,${opacity})";
|
|
||||||
primary_background_rgba = "rgba(17,17,27,${opacity})";
|
|
||||||
secondary_background_rgba = "rgba(27,27,43,${opacity})";
|
|
||||||
tertiary_background_rgba = "rgba(37,37,58,${opacity})";
|
|
||||||
|
|
||||||
opacity = "1";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
in {
|
|
||||||
_module.args = {inherit custom;};
|
|
||||||
imports =
|
imports =
|
||||||
[(import ./waybar.nix)]
|
[(import ./waybar.nix)]
|
||||||
++ [(import ./settings.nix)]
|
++ [(import ./settings.nix)]
|
||||||
|
|
Loading…
Reference in a new issue