hyprland
This commit is contained in:
@@ -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 ]);
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
home-manager.users.allen = import ./home.nix {
|
||||
inherit split-monitor-workspaces;
|
||||
inherit pkgs;
|
||||
inherit inputs;
|
||||
};
|
||||
}
|
||||
];
|
||||
|
||||
8
home.nix
8
home.nix
@@ -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";
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ inputs, pkgs, ... }: { programs.hyprland = { enable = true; }; }
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user