Skip to content

Commit

Permalink
[hypr] expose extraConfig & fix eFrame monitors
Browse files Browse the repository at this point in the history
  • Loading branch information
ejiek committed Oct 13, 2023
1 parent 8b357f7 commit 8bd3f02
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hosts/eFrame/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@
hypr = {
enable = true;
layout = "dwindle";
monitors = ''
monitor=,highres,auto,2
env = GDK_SCALE,2
'';
monitors = [
"monitor=,highres,auto,2"
];
cursor.size = 24;
extraConfig = "env = GDK_SCALE,2";
};
nvim.enable = true;
nu.enable = true;
Expand Down
6 changes: 6 additions & 0 deletions modules/hyprland/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ in {
type = types.int;
default = 32;
};
hypr.extraConfig = mkOption {
description = "Extra config";
type = types.str;
default = "";
};
};

# if my-config.template.desktop.gnome.enable is set to true
Expand Down Expand Up @@ -272,6 +277,7 @@ in {
"${pkgs.hyprpaper}/bin/hyprpaper"
];
};
extraConfig = config.my-config.hypr.extraConfig;
};

home.file = {
Expand Down

0 comments on commit 8bd3f02

Please sign in to comment.