8 Commits
dodo ... main

Author SHA1 Message Date
459002ff54 Update emacs for non-wayland systems 2024-09-02 20:09:57 -07:00
2349c35b13 More nvidia specific wayland settings
Even though I'm kind of giving up on nvidia+wayland emotionally right now
2024-09-02 20:09:29 -07:00
343b7f5ff2 Add basic i3wm setup 2024-09-02 20:09:16 -07:00
84168e2d9b Add solaar 2024-08-31 14:16:42 -07:00
80e7090d7f Fix kdeconnect 2024-08-31 14:16:34 -07:00
e758eaef20 Don't override hyprland package 2024-08-24 10:42:50 -07:00
8e7f1f1577 Add moonlight 2024-08-24 09:56:27 -07:00
4d34909b52 Just pass inputs around 2024-08-24 09:54:17 -07:00
6 changed files with 31 additions and 12 deletions

View File

@@ -22,7 +22,7 @@
}; };
}; };
outputs = { nixpkgs, home-manager, hyprland, hy3, ... }: outputs = { nixpkgs, home-manager, hyprland, ... } @inputs:
let let
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
@@ -40,7 +40,7 @@
# Optionally use extraSpecialArgs # Optionally use extraSpecialArgs
# to pass through arguments to home.nix # to pass through arguments to home.nix
extraSpecialArgs = { inherit hy3; inherit hyprland; }; extraSpecialArgs = { inherit inputs; };
}; };
}; };
} }

View File

@@ -51,11 +51,13 @@ in
pkgs.killall pkgs.killall
pkgs.kitty pkgs.kitty
pkgs.less pkgs.less
pkgs.moonlight-qt
pkgs.ncdu pkgs.ncdu
pkgs.pandoc pkgs.pandoc
pkgs.pinentry-qt pkgs.pinentry-qt
#pkgs.pytest #pkgs.pytest
pkgs.shellcheck pkgs.shellcheck
pkgs.solaar # Logitech management software
pkgs.tmux pkgs.tmux
pkgs.waybar pkgs.waybar
pkgs.wofi pkgs.wofi
@@ -108,6 +110,7 @@ in
./modules/applications/emacs/default.nix ./modules/applications/emacs/default.nix
./modules/games/lutris/default.nix ./modules/games/lutris/default.nix
./modules/window_managers/hyprland/default.nix ./modules/window_managers/hyprland/default.nix
./modules/window_managers/i3/default.nix
]; ];
programs.bash.enable = true; programs.bash.enable = true;
@@ -185,6 +188,7 @@ in
services.kdeconnect = { services.kdeconnect = {
enable = true; enable = true;
indicator = true; indicator = true;
package = pkgs.kdePackages.kdeconnect-kde;
}; };
services.spotifyd = { services.spotifyd = {

View File

@@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
let let
emacs = pkgs.emacs29-pgtk; emacs = pkgs.emacs29;
doomSync = (let doomSync = (let
git = pkgs.git; git = pkgs.git;
in '' in ''

View File

@@ -1,4 +1,4 @@
{ hyprland, hy3, ... }: { inputs, ... }:
{ {
imports = [ imports = [
@@ -7,8 +7,7 @@
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
package = hyprland.packages.x86_64-linux.hyprland; plugins = [ inputs.hy3.packages.x86_64-linux.hy3 ];
plugins = [ hy3.packages.x86_64-linux.hy3 ];
settings = { settings = {
"$mod" = "SUPER"; "$mod" = "SUPER";
"$terminal" = "kitty"; "$terminal" = "kitty";
@@ -20,11 +19,6 @@
"dunst" "dunst"
]; ];
env = [
"XCURSOR_SIZE,24"
"HYPRCURSOR_SIZE,24"
];
xwayland = { xwayland = {
force_zero_scaling = true; force_zero_scaling = true;
}; };

View File

@@ -1,5 +1,16 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
wayland.windowManager.hyprland.settings.monitor = "DP-1,3440x1440@164.90,0x0,1.33333,vrr,1,bitdepth,10"; wayland.windowManager.hyprland.settings.monitor = "DP-1,3440x1440@164.90,0x0,1.33333,vrr,1";
wayland.windowManager.hyprland.settings.env = [
"LIBVA_DRIVER_NAME,nvidia"
"XDG_SESSION_TYPE,wayland"
"GBM_BACKEND,nvidia-drm"
"__GLX_VENDOR_LIBRARY_NAME,nvidia"
"NVD_BACKEND,direct"
"ELECTRON_OZONE_PLATFORM_HINT,auto"
"NIXOS_OZONE_WL,1"
];
wayland.windowManager.hyprland.settings.cursor.no_hardware_cursors = true;
} }

View File

@@ -0,0 +1,10 @@
{ config, lib, pkgs, ... }:
{
xsession.windowManager.i3 = {
enable = true;
config = {
modifier = "Mod4";
};
};
}