summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorJasper Ras <jaspert.ras@gmail.com>2025-03-15 09:08:42 +0100
committerJasper Ras <jaspert.ras@gmail.com>2025-03-15 09:08:42 +0100
commit0c57d97b241e372f14ed2f809536ec7ff38b3e49 (patch)
tree94980f1afe4101d3950f51bda9a615c8c94b57c8 /modules
parent8a37287c9e4e8edab43e5877252b0219485ee9ba (diff)
bunch of things
Diffstat (limited to 'modules')
-rw-r--r--modules/home-manager/hyprland.nix5
-rw-r--r--modules/hyprland.nix2
-rw-r--r--modules/tarrel/home-manager.nix4
3 files changed, 7 insertions, 4 deletions
diff --git a/modules/home-manager/hyprland.nix b/modules/home-manager/hyprland.nix
index 77bb675..8a0baaf 100644
--- a/modules/home-manager/hyprland.nix
+++ b/modules/home-manager/hyprland.nix
@@ -1,4 +1,4 @@
-{ pkgs, inputs, ... }:
+{ lib, pkgs, inputs, ... }:
let
wallpaper = ../../assets/wallpaper.jpg;
in
@@ -24,6 +24,7 @@ in
services.wlsunset.sunset = "17:00";
wayland.windowManager.hyprland.enable = true;
+ wayland.windowManager.hyprland.package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
wayland.windowManager.hyprland.systemd.enable = true;
wayland.windowManager.hyprland.plugins = [
inputs.hy3.packages.x86_64-linux.hy3
@@ -138,7 +139,7 @@ in
preload = [ "${wallpaper}" ];
wallpaper = [ ",${wallpaper}" ];
};
- services.hypridle.enable = true;
+ services.hypridle.enable = lib.mkDefault true;
services.hypridle.settings = {
general = {
lock_cmd = "pidof hyprlock || hyprlock";
diff --git a/modules/hyprland.nix b/modules/hyprland.nix
index 3528ec8..080cb39 100644
--- a/modules/hyprland.nix
+++ b/modules/hyprland.nix
@@ -43,7 +43,7 @@
enable = true;
settings = {
default_session = {
- command = "${pkgs.hyprland}/bin/Hyprland";
+ command = "${inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland}/bin/Hyprland";
user = "jras";
};
};
diff --git a/modules/tarrel/home-manager.nix b/modules/tarrel/home-manager.nix
index e0c7e3f..04187e9 100644
--- a/modules/tarrel/home-manager.nix
+++ b/modules/tarrel/home-manager.nix
@@ -1,4 +1,4 @@
-{ pkgs, inputs, ... }:
+{ lib, pkgs, inputs, ... }:
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
@@ -19,6 +19,8 @@
userEmail = "jaspert.ras@gmail.com";
};
+ services.hypridle.enable = lib.mkForce false;
+
home.file = {
gamestream-start = {
text = ''