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