Laptop changes
3 files changed, 23 insertions, 2 deletions
diff --git a/host/Rory-laptop/configuration.nix b/host/Rory-laptop/configuration.nix
index 57df091..c4aca15 100644
--- a/host/Rory-laptop/configuration.nix
+++ b/host/Rory-laptop/configuration.nix
@@ -150,6 +150,7 @@ args@{
# extra packages
dmenu
+ hyprlock
nemo
file-roller
@@ -307,14 +308,16 @@ args@{
sudo.wheelNeedsPassword = false;
};
+ services.pulseaudio.enable = false;
hardware = {
- pulseaudio.enable = false;
bluetooth = {
enable = true;
powerOnBoot = true;
};
};
+ services.locate.package = pkgs.plocate;
+ services.locate.enable = true;
programs.dconf.enable = true;
#networking.wireguard.interfaces = {
diff --git a/host/Rory-laptop/optional/gui/wayland.nix b/host/Rory-laptop/optional/gui/wayland.nix
index b850a0f..c105196 100644
--- a/host/Rory-laptop/optional/gui/wayland.nix
+++ b/host/Rory-laptop/optional/gui/wayland.nix
@@ -1,5 +1,7 @@
{
pkgs,
+ hyprland,
+ hy3,
...
}:
@@ -34,5 +36,21 @@
];
};
+ programs.hyprland = {
+ enable = true;
+ package = hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
+ };
+
+ programs.hyprlock.enable = true;
+ environment.systemPackages = with pkgs;[
+ wmenu
+ ];
+
+ environment.etc."hyprPlugins" = {
+ text = ''
+ plugin = ${hy3.packages.${pkgs.stdenv.hostPlatform.system}.hy3}/lib/libhy3.so
+ '';
+ };
+
xdg.portal.wlr.enable = true;
}
diff --git a/host/Rory-laptop/optional/hardware-specific/intel.nix b/host/Rory-laptop/optional/hardware-specific/intel.nix
index d74c9e3..0cb03f0 100644
--- a/host/Rory-laptop/optional/hardware-specific/intel.nix
+++ b/host/Rory-laptop/optional/hardware-specific/intel.nix
@@ -9,7 +9,7 @@
};
hardware = {
- opengl = {
+ graphics = {
enable = true;
extraPackages = with pkgs; [
intel-media-driver # LIBVA_DRIVER_NAME=iHD
|