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";
inputs.nixpkgs.follows = "nixpkgs";
};
hyprland = {
url = "github:hyprwm/Hyprland";
inputs.nixpkgs.follows = "nixpkgs";
};
iamb = {
url = "github:ulyssa/iamb/latest";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {

View File

@@ -85,5 +85,6 @@
./yq.nix
./codex.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,
device,
lib,
inputs,
...
}:
# lib.optionalAttrs device.isNix
@@ -31,6 +32,8 @@
wayland.windowManager.hyprland = {
enable = device.is "ryu";
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 = {
# source = "${pkgs.catppuccinThemes.hyprland}/themes/mocha.conf";

View File

@@ -2,6 +2,7 @@
pkgs,
lib,
device,
inputs,
...
}: {
xdg.portal = {
@@ -12,7 +13,8 @@
};
extraPortals = with pkgs; [
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
];
};

View File

@@ -3,6 +3,7 @@
lib,
device,
config,
inputs,
...
}: {
imports = [
@@ -27,6 +28,8 @@
enable = true;
withUWSM = 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;
};

View File

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

View File

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