hyprland
This commit is contained in:
@@ -13,7 +13,6 @@ in {
|
|||||||
./services/x.nix
|
./services/x.nix
|
||||||
./services/timer.nix
|
./services/timer.nix
|
||||||
./services/sound.nix
|
./services/sound.nix
|
||||||
./programs/hyprland.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
@@ -139,6 +138,8 @@ in {
|
|||||||
|
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
|
||||||
|
programs.hyprland.enable = true;
|
||||||
|
|
||||||
environment.variables = {
|
environment.variables = {
|
||||||
LD_LIBRARY_PATH = lib.makeLibraryPath
|
LD_LIBRARY_PATH = lib.makeLibraryPath
|
||||||
(with pkgs; [ libglvnd libGL glfw pulseaudio libgit2 ]);
|
(with pkgs; [ libglvnd libGL glfw pulseaudio libgit2 ]);
|
||||||
|
|||||||
@@ -38,6 +38,7 @@
|
|||||||
home-manager.users.allen = import ./home.nix {
|
home-manager.users.allen = import ./home.nix {
|
||||||
inherit split-monitor-workspaces;
|
inherit split-monitor-workspaces;
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
|
inherit inputs;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|||||||
8
home.nix
8
home.nix
@@ -1,4 +1,4 @@
|
|||||||
{ split-monitor-workspaces, pkgs, ... }:
|
{ inputs, split-monitor-workspaces, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
@@ -45,9 +45,15 @@
|
|||||||
programs.direnv.nix-direnv.enable = true;
|
programs.direnv.nix-direnv.enable = true;
|
||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
|
enable = true;
|
||||||
|
xwayland.enable = true;
|
||||||
|
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
||||||
plugins = [
|
plugins = [
|
||||||
split-monitor-workspaces.packages.x86_64-linux.split-monitor-workspaces
|
split-monitor-workspaces.packages.x86_64-linux.split-monitor-workspaces
|
||||||
];
|
];
|
||||||
|
extraConfig = ''
|
||||||
|
source = ~/.config/hypr/hyprland-custom.conf
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
home.stateVersion = "25.05";
|
home.stateVersion = "25.05";
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
{ inputs, pkgs, ... }: { programs.hyprland = { enable = true; }; }
|
|
||||||
@@ -8,6 +8,7 @@
|
|||||||
hardware.nvidia.open = false;
|
hardware.nvidia.open = false;
|
||||||
|
|
||||||
services.xserver.displayManager.gdm.enable = true;
|
services.xserver.displayManager.gdm.enable = true;
|
||||||
|
# services.xserver.displayManager.sddm.enable = true;
|
||||||
|
|
||||||
services.xserver.desktopManager.gnome.enable = true;
|
services.xserver.desktopManager.gnome.enable = true;
|
||||||
services.xserver.xkb.layout = "us";
|
services.xserver.xkb.layout = "us";
|
||||||
|
|||||||
Reference in New Issue
Block a user