mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-24 13:45:29 -08:00
Compare commits
No commits in common. "e1ca37ce27cf797c5176896694ddd437e3c24f41" and "f13db672b865177045b4bc168f14f87bd7646297" have entirely different histories.
e1ca37ce27
...
f13db672b8
4 changed files with 27 additions and 47 deletions
|
@ -22,8 +22,6 @@
|
||||||
XDG_STATE_HOME = "$HOME/.local/state";
|
XDG_STATE_HOME = "$HOME/.local/state";
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.hyprland.enable = true;
|
|
||||||
|
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
layout = "us";
|
layout = "us";
|
||||||
|
@ -39,7 +37,9 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
displayManager.sddm.enable = true;
|
displayManager = {
|
||||||
|
sddm.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
libinput = {
|
libinput = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -32,6 +32,7 @@
|
||||||
};
|
};
|
||||||
systemd.services.sshd.wantedBy = [ "multi-user.target" ];
|
systemd.services.sshd.wantedBy = [ "multi-user.target" ];
|
||||||
|
|
||||||
|
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
videoDrivers = [ "nvidia" ];
|
videoDrivers = [ "nvidia" ];
|
||||||
# xrandr for screen information. <connection>: <resolution> <offset>, <next connection>
|
# xrandr for screen information. <connection>: <resolution> <offset>, <next connection>
|
||||||
|
@ -44,14 +45,9 @@
|
||||||
|
|
||||||
# Optionally, you may need to select the appropriate driver version for your specific GPU.
|
# Optionally, you may need to select the appropriate driver version for your specific GPU.
|
||||||
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
|
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||||
hardware.nvidia.modesetting.enable = true;
|
|
||||||
|
|
||||||
hardware.bluetooth.enable = true;
|
hardware.bluetooth.enable = true;
|
||||||
|
|
||||||
environment.sessionVariables = {
|
|
||||||
WLR_NO_HARDWARE_CURSORS = "1";
|
|
||||||
};
|
|
||||||
|
|
||||||
time.hardwareClockInLocalTime = true;
|
time.hardwareClockInLocalTime = true;
|
||||||
|
|
||||||
boot.loader = {
|
boot.loader = {
|
||||||
|
|
|
@ -5,46 +5,33 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
wayland.windowManager.hyprland = {
|
||||||
swww
|
enable = true;
|
||||||
];
|
package = pkgs.hyprland;
|
||||||
|
# Whether to enable XWayland
|
||||||
|
xwayland.enable = true;
|
||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
# Optional
|
||||||
enable = true;
|
# Whether to enable hyprland-session.target on hyprland startup
|
||||||
package = pkgs.hyprland;
|
systemd.enable = true;
|
||||||
# Whether to enable XWayland
|
# Whether to enable patching wlroots for better Nvidia support
|
||||||
xwayland.enable = true;
|
enableNvidiaPatches = true;
|
||||||
|
|
||||||
# Optional
|
settings = {
|
||||||
# Whether to enable hyprland-session.target on hyprland startup
|
decoration = {
|
||||||
systemd.enable = true;
|
shadow_offset = "0 5";
|
||||||
# Whether to enable patching wlroots for better Nvidia support
|
"col.shadow" = "rgba(00000099)";
|
||||||
enableNvidiaPatches = true;
|
};
|
||||||
|
|
||||||
settings = {
|
"$mod" = "SUPER";
|
||||||
exec-once = [
|
|
||||||
"${pkgs.swww}/bin/swww init & sleep 0.5 & ${pkgs.swww}/bin/swww /home/nixolas/Downloads/RecountERD.png"
|
|
||||||
];
|
|
||||||
|
|
||||||
decoration = {
|
bindm = [
|
||||||
shadow_offset = "0 5";
|
# mouse movements
|
||||||
"col.shadow" = "rgba(00000099)";
|
"$mod, mouse:272, movewindow"
|
||||||
|
"$mod, mouse:273, resizewindow"
|
||||||
|
"$mod ALT, mouse:272, resizewindow"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
"$mod" = "SUPER";
|
|
||||||
|
|
||||||
bindm = [
|
|
||||||
# mouse movements
|
|
||||||
"$mod, mouse:272, movewindow"
|
|
||||||
"$mod, mouse:273, resizewindow"
|
|
||||||
"$mod ALT, mouse:272, resizewindow"
|
|
||||||
];
|
|
||||||
|
|
||||||
bind = [
|
|
||||||
"$mod, RETURN, exec, wezterm start --always-new-process"
|
|
||||||
# "$mod, Q, exec, firefox"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,6 @@ in
|
||||||
programs.wezterm = {
|
programs.wezterm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.wezterm;
|
package = pkgs.wezterm;
|
||||||
enableZshIntegration = true;
|
|
||||||
|
|
||||||
colorSchemes = {
|
colorSchemes = {
|
||||||
SeeThroughBlack = {
|
SeeThroughBlack = {
|
||||||
|
@ -33,12 +32,10 @@ in
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# the "enable_wayland = false" config line forces wezterm to use xwayland instead of wayland
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
local wezterm = require 'wezterm'
|
local wezterm = require 'wezterm'
|
||||||
|
|
||||||
return {
|
return {
|
||||||
enable_wayland = false,
|
|
||||||
window_background_opacity = 0.8,
|
window_background_opacity = 0.8,
|
||||||
font = wezterm.font_with_fallback {
|
font = wezterm.font_with_fallback {
|
||||||
'DejaVuSansMono',
|
'DejaVuSansMono',
|
||||||
|
|
Loading…
Reference in a new issue