This commit is contained in:
2025-11-08 22:21:34 +09:00
parent 256b849f2f
commit 70c865fd72
5 changed files with 11 additions and 3 deletions

View File

@@ -13,7 +13,6 @@ in {
./services/x.nix
./services/timer.nix
./services/sound.nix
./programs/hyprland.nix
];
nixpkgs.config.allowUnfree = true;
@@ -139,6 +138,8 @@ in {
nix.settings.experimental-features = [ "nix-command" "flakes" ];
programs.hyprland.enable = true;
environment.variables = {
LD_LIBRARY_PATH = lib.makeLibraryPath
(with pkgs; [ libglvnd libGL glfw pulseaudio libgit2 ]);

View File

@@ -38,6 +38,7 @@
home-manager.users.allen = import ./home.nix {
inherit split-monitor-workspaces;
inherit pkgs;
inherit inputs;
};
}
];

View File

@@ -1,4 +1,4 @@
{ split-monitor-workspaces, pkgs, ... }:
{ inputs, split-monitor-workspaces, pkgs, ... }:
{
imports = [
@@ -45,9 +45,15 @@
programs.direnv.nix-direnv.enable = true;
wayland.windowManager.hyprland = {
enable = true;
xwayland.enable = true;
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
plugins = [
split-monitor-workspaces.packages.x86_64-linux.split-monitor-workspaces
];
extraConfig = ''
source = ~/.config/hypr/hyprland-custom.conf
'';
};
home.stateVersion = "25.05";

View File

@@ -1 +0,0 @@
{ inputs, pkgs, ... }: { programs.hyprland = { enable = true; }; }

View File

@@ -8,6 +8,7 @@
hardware.nvidia.open = false;
services.xserver.displayManager.gdm.enable = true;
# services.xserver.displayManager.sddm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
services.xserver.xkb.layout = "us";