Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
number5 committed Jul 22, 2024
1 parent 79b4cc9 commit c108710
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 17 deletions.
22 changes: 13 additions & 9 deletions home/modules/wayland/eww/default.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
{self, ...}: {
inputs,
{
self,
eww,
...
}: {
pkgs,
config,
lib,
...
}: {
config = lib.mkIf config.programs.eww.enable {
home.packages = with pkgs; [
(inputs.eww.packages.${pkgs.system}.eww-wayland.overrideAttrs (old: {
nativeBuildInputs = old.nativeBuildInputs ++ [pkgs.wrapGAppsHook];
buildInputs = old.buildInputs ++ (with pkgs; [glib librsvg libdbusmenu-gtk3]);
}))
];
config = lib.mkIf config.bw.eww.enable {
# home.packages = with pkgs; [
# (eww.packages.${pkgs.system}.eww-wayland.overrideAttrs (old: {
# nativeBuildInputs = old.nativeBuildInputs ++ [pkgs.wrapGAppsHook];
# buildInputs = old.buildInputs ++ (with pkgs; [glib librsvg libdbusmenu-gtk3]);
# }))
# ];

home.packages = [eww.packages.${pkgs.system}.eww];
xdg.configFile = let
colorScheme = config.colors.colorScheme.colors;
files = builtins.readDir ./config;
Expand Down
21 changes: 16 additions & 5 deletions home/modules/wayland/hyprland/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,28 @@
...
}: let
hypr-config = import ./config.nix {
eww = eww;
anyrun = anyrun;
lib = lib;
config = config;
pkgs = pkgs;
inherit
eww
anyrun
lib
config
pkgs
;
};
rules = import ./rules.nix;
in {
options.bw.eww = {
enable = lib.mkOption {
default = false;
type = lib.types.bool;
description = "Enable eww";
};
};

imports = [rules];
config =
{
bw.eww.enable = true;
home = {
packages = with pkgs; [
seatd
Expand Down
4 changes: 2 additions & 2 deletions nixos/modules/cachix/caches/anyrun.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
builders-use-substitutes = true;
# extra substituters to add
extra-substituters = [
"https://anyrun.cachix.org"
"https://anyrun.cachix.org"
];
extra-trusted-public-keys = [
"anyrun.cachix.org-1:pqBobmOjI7nKlsUMV25u9QHa9btJK65/C8vnO3p346s="
"anyrun.cachix.org-1:pqBobmOjI7nKlsUMV25u9QHa9btJK65/C8vnO3p346s="
];
};
}
2 changes: 1 addition & 1 deletion parts/system_configs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
packages = builtins.attrValues (builtins.mapAttrs (_: config: config.packageModule) cfg);

vars = {
stateVersion = "24.05";
stateVersion = "24.11";
};

specialArgs = {
Expand Down

0 comments on commit c108710

Please sign in to comment.