mirror of
https://github.com/blahai/nyx.git
synced 2025-01-18 19:10:21 +00:00
more hypr stuffies and whatnot
This commit is contained in:
parent
8235c282d9
commit
a7f53fad26
7 changed files with 37 additions and 30 deletions
|
@ -64,11 +64,11 @@
|
||||||
"yafas": "yafas"
|
"yafas": "yafas"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1725042633,
|
"lastModified": 1725043054,
|
||||||
"narHash": "sha256-ri9tUKMeL+91m5Tfr/ZLpPgUDdNgXOGaycxUisFbnb8=",
|
"narHash": "sha256-wNKROMH0TmS3yqpces3ldlRLE75Bec0gfmaP9DF6OPc=",
|
||||||
"owner": "chaotic-cx",
|
"owner": "chaotic-cx",
|
||||||
"repo": "nyx",
|
"repo": "nyx",
|
||||||
"rev": "c15b70230c274d2aa11d6c56ce5d50a198c2a994",
|
"rev": "1de4f25728a7f37785da5742f6d3fe98daffe83f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
../../modules/nixos/games/default.nix
|
||||||
inputs.home-manager.nixosModules.default
|
inputs.home-manager.nixosModules.default
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -110,7 +111,7 @@
|
||||||
package = inputs.hyprland.packages."${pkgs.system}".hyprland;
|
package = inputs.hyprland.packages."${pkgs.system}".hyprland;
|
||||||
};
|
};
|
||||||
|
|
||||||
dir{
|
direnv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -146,6 +147,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
hyprcursor
|
||||||
neovim
|
neovim
|
||||||
wget
|
wget
|
||||||
git
|
git
|
||||||
|
@ -167,6 +169,7 @@
|
||||||
busybox
|
busybox
|
||||||
rustup
|
rustup
|
||||||
vscode-fhs
|
vscode-fhs
|
||||||
|
bibata-cursors
|
||||||
];
|
];
|
||||||
|
|
||||||
fonts.packages = with pkgs; [
|
fonts.packages = with pkgs; [
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../modules/home-manager/hypr/default.nix
|
../../modules/home-manager/hypr/default.nix
|
||||||
../../modules/nixos/games/default.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Home Manager needs a bit of information about you and the paths it should
|
# Home Manager needs a bit of information about you and the paths it should
|
||||||
|
@ -61,7 +60,7 @@
|
||||||
EDITOR = "nvim";
|
EDITOR = "nvim";
|
||||||
XMODIFIERS = "@im=ibus";
|
XMODIFIERS = "@im=ibus";
|
||||||
GTK_IM_MODULE = "ibus";
|
GTK_IM_MODULE = "ibus";
|
||||||
QT_IM_MODULE = "ibus"
|
QT_IM_MODULE = "ibus";
|
||||||
QT_QPA_PLATFORMTHEME = "qt5ct";
|
QT_QPA_PLATFORMTHEME = "qt5ct";
|
||||||
WLR_NO_HARDWARE_CURSORS = "1";
|
WLR_NO_HARDWARE_CURSORS = "1";
|
||||||
GSK_RENDERER = "cairo";
|
GSK_RENDERER = "cairo";
|
||||||
|
@ -71,13 +70,13 @@
|
||||||
XDG_SESSION_TYPE = "wayland";
|
XDG_SESSION_TYPE = "wayland";
|
||||||
XDG_SESSION_DESKTOP = "Hyprland";
|
XDG_SESSION_DESKTOP = "Hyprland";
|
||||||
|
|
||||||
_JAVA_AWT_WM_NONREPARENTING = "1"
|
_JAVA_AWT_WM_NONREPARENTING = "1";
|
||||||
XCURSOR_THEME = "Bibata-Modern-Classic";
|
XCURSOR_THEME = "Bibata-Modern-Classic";
|
||||||
HYPRCURSOR_THEME = "HyprBibataModernClassicSVG"
|
HYPRCURSOR_THEME = "HyprBibataModernClassicSVG";
|
||||||
XCURSOR_SIZE, 24
|
XCURSOR_SIZE = "24";
|
||||||
__GL_THREADED_OPTIMIZATIONS, 0
|
__GL_THREADED_OPTIMIZATIONS = "0";
|
||||||
QT_QPA_PLATFORM = "wayland";
|
QT_QPA_PLATFORM = "wayland";
|
||||||
QT_WAYLAND_DISABLE_WINDOWDECORATION = 1
|
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Let Home Manager install and manage itself.
|
# Let Home Manager install and manage itself.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, config, inputs, ... }: {
|
{ pkgs, config, inputs, lib, ... }: {
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
./hyprland/rules.nix
|
./hyprland/rules.nix
|
||||||
|
@ -8,8 +8,6 @@
|
||||||
../ags/default.nix
|
../ags/default.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# apparently hyprcursor doesn't work with hm?
|
|
||||||
environment.systemPackages = [ pkgs.hyprcursor ];
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
hyprshot
|
hyprshot
|
||||||
hyprpicker
|
hyprpicker
|
||||||
|
@ -25,7 +23,8 @@
|
||||||
mpvpaper
|
mpvpaper
|
||||||
];
|
];
|
||||||
|
|
||||||
home.file."~/.config/hypr/colors.conf" = {
|
|
||||||
|
home.file."~/.config/hypr/hyprland/colors.conf" = {
|
||||||
text = ''
|
text = ''
|
||||||
general {
|
general {
|
||||||
col.active_border = rgba(DFE2EF39)
|
col.active_border = rgba(DFE2EF39)
|
||||||
|
@ -38,21 +37,28 @@
|
||||||
|
|
||||||
windowrulev2 = bordercolor rgba(ADC6FFAA) rgba(ADC6FF77),pinned:1
|
windowrulev2 = bordercolor rgba(ADC6FFAA) rgba(ADC6FF77),pinned:1
|
||||||
'';
|
'';
|
||||||
checkPhase = ''
|
};
|
||||||
if [ -f "$out" ]; then
|
|
||||||
echo "File already exists, skipping creation"
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
|
configPackages = [ config.wayland.windowManager.hyprland.package ];
|
||||||
|
extraPortals = [
|
||||||
|
pkgs.xdg-desktop-portal-gtk
|
||||||
|
inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
xwayland.enable = true;
|
xwayland.enable = true;
|
||||||
package = inputs.hyprland.packages."${pkgs.system}".hyprland;
|
package = inputs.hyprland.packages."${pkgs.system}".hyprland;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
|
source = [
|
||||||
|
"~/.config/hypr/hyprland/colors.conf"
|
||||||
|
];
|
||||||
|
|
||||||
monitor = [
|
monitor = [
|
||||||
",prefered,auto,1"
|
",prefered,auto,1"
|
||||||
];
|
];
|
||||||
|
@ -110,7 +116,7 @@
|
||||||
drop_shadow = true;
|
drop_shadow = true;
|
||||||
shadow_ignore_window = true;
|
shadow_ignore_window = true;
|
||||||
shadow_range = 20;
|
shadow_range = 20;
|
||||||
shadow_offset = 0 2;
|
shadow_offset = "0 2";
|
||||||
shadow_render_power = 4;
|
shadow_render_power = 4;
|
||||||
"col.shadow" = "rgba(0000002A)";
|
"col.shadow" = "rgba(0000002A)";
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
"Super, Q, exec, ${pkgs.foot}/bin/foot"
|
"Super, Q, exec, ${pkgs.foot}/bin/foot"
|
||||||
"Super, C, killactive"
|
"Super, C, killactive"
|
||||||
"Super, V, togglefloating"
|
"Super, V, togglefloating"
|
||||||
"Super, E, exec, ${pkgs.gnome.nautilus} --new-window"
|
"Super, E, exec, ${pkgs.nautilus} --new-window"
|
||||||
|
|
||||||
# This horror of a mess is from having more than 10 workspaces and I'm very much considering just removing this shit
|
# This horror of a mess is from having more than 10 workspaces and I'm very much considering just removing this shit
|
||||||
] ++ map (n: "Alt, ${toString n}, exec, ~/.config/ags/scripts/hyprland/workspace_adction.sh movetoworkspacesilent ${toString (
|
] ++ map (n: "Alt, ${toString n}, exec, ~/.config/ags/scripts/hyprland/workspace_adction.sh movetoworkspacesilent ${toString (
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
backgruond = {
|
backgruond = {
|
||||||
color = "rgba(000000FF)"
|
color = "rgba(000000FF)";
|
||||||
};
|
};
|
||||||
|
|
||||||
input-field = [{
|
input-field = [{
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
font_size = "65";
|
font_size = "65";
|
||||||
font_family = "Rubik Light";
|
font_family = "Rubik Light";
|
||||||
|
|
||||||
position = "0, 300"
|
position = "0, 300";
|
||||||
}
|
}
|
||||||
|
|
||||||
{ # Greeting
|
{ # Greeting
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ config, pkgs, ... }: {
|
{ config, pkgs, ... }: {
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
protonup-qt
|
protonup-qt
|
||||||
prismlauncher
|
prismlauncher
|
||||||
osu-lazer-bin
|
osu-lazer-bin
|
||||||
|
@ -17,10 +17,9 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.opentabletdriver.enable = true;
|
hardware.opentabletdriver.enable = true;
|
||||||
hardware.opengl = {
|
hardware.graphics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
driSupport = true;
|
enable32Bit = true;
|
||||||
driSupport32Bit = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue