feat: Update hyprland and add iamb

This commit is contained in:
2026-03-07 04:31:44 +05:30
parent 452426f363
commit b19be561bf
9 changed files with 899 additions and 273 deletions

1137
flake.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -176,6 +176,14 @@
url = "git+https://tangled.org/tangled.org/core"; url = "git+https://tangled.org/tangled.org/core";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
hyprland = {
url = "github:hyprwm/Hyprland";
inputs.nixpkgs.follows = "nixpkgs";
};
iamb = {
url = "github:ulyssa/iamb/latest";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = { outputs = {

View File

@@ -85,5 +85,6 @@
./yq.nix ./yq.nix
./codex.nix ./codex.nix
./nixify.nix ./nixify.nix
./iamb.nix
]; ];
} }

3
home/programs/iamb.nix Normal file
View File

@@ -0,0 +1,3 @@
{pkgs, ...}: {
home.packages = [pkgs.iamb];
}

View File

@@ -2,6 +2,7 @@
pkgs, pkgs,
device, device,
lib, lib,
inputs,
... ...
}: }:
# lib.optionalAttrs device.isNix # lib.optionalAttrs device.isNix
@@ -31,6 +32,8 @@
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = device.is "ryu"; enable = device.is "ryu";
systemd.enable = true; systemd.enable = true;
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
settings = { settings = {
# source = "${pkgs.catppuccinThemes.hyprland}/themes/mocha.conf"; # source = "${pkgs.catppuccinThemes.hyprland}/themes/mocha.conf";

View File

@@ -2,6 +2,7 @@
pkgs, pkgs,
lib, lib,
device, device,
inputs,
... ...
}: { }: {
xdg.portal = { xdg.portal = {
@@ -12,7 +13,8 @@
}; };
extraPortals = with pkgs; [ extraPortals = with pkgs; [
kdePackages.xdg-desktop-portal-kde kdePackages.xdg-desktop-portal-kde
xdg-desktop-portal-hyprland # xdg-desktop-portal-hyprland
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland
xdg-desktop-portal-gtk xdg-desktop-portal-gtk
]; ];
}; };

View File

@@ -3,6 +3,7 @@
lib, lib,
device, device,
config, config,
inputs,
... ...
}: { }: {
imports = [ imports = [
@@ -27,6 +28,8 @@
enable = true; enable = true;
withUWSM = true; withUWSM = true;
xwayland.enable = true; xwayland.enable = true;
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
}; };
uwsm.enable = true; uwsm.enable = true;
}; };

View File

@@ -1,6 +1,10 @@
{pkgs, ...}: { {
pkgs,
inputs,
...
}: {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
hyprland inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland
xhost xhost
]; ];
} }

View File

@@ -81,6 +81,10 @@
}); });
}; };
applications = final: prev: {
iamb = inputs.iamb.packages.${prev.system}.default;
};
# --- Themes and assets --- # --- Themes and assets ---
themes = final: prev: { themes = final: prev: {
catppuccinThemes = import ./themes/catppuccin.nix {pkgs = final.pkgs;}; catppuccinThemes = import ./themes/catppuccin.nix {pkgs = final.pkgs;};
@@ -99,6 +103,7 @@ in
media media
darwin darwin
themes themes
applications
# External input overlays # External input overlays
inputs.deploy-rs.overlays.default inputs.deploy-rs.overlays.default