Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
number5 committed Jul 21, 2024
1 parent ab41006 commit db5a40a
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 24 deletions.
2 changes: 1 addition & 1 deletion home/configurations/catppuccin.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{...} : {
{...}: {
catppuccin.flavor = "mocha";
gtk.catppuccin.enable = true;
programs.bat.catppuccin.enable = true;
Expand Down
30 changes: 14 additions & 16 deletions home/modules/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,30 +14,28 @@
./starship.nix
];


home = let
cursor = {
package = pkgs.catppuccin-cursors.macchiatoTeal;
name = "catppuccin-macchiato-teal-cursors";
size = 24;
};
in {
cursor = {
package = pkgs.catppuccin-cursors.macchiatoTeal;
name = "catppuccin-macchiato-teal-cursors";
size = 24;
};
in {
packages = [
pkgs.exercism
pkgs.lefthook
hyprland-contrib.packages.${pkgs.system}.grimblast
];


pointerCursor = {
gtk.enable = true;
name = cursor.name;
package = cursor.package;
size = cursor.size;
x11 = {
defaultCursor = cursor.name;
enable = true;
};
gtk.enable = true;
name = cursor.name;
package = cursor.package;
size = cursor.size;
x11 = {
defaultCursor = cursor.name;
enable = true;
};
};

stateVersion = "24.05";
Expand Down
2 changes: 1 addition & 1 deletion home/modules/wayland/eww/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{self, ...} : {
{self, ...}: {
inputs,
pkgs,
config,
Expand Down
6 changes: 4 additions & 2 deletions home/modules/wayland/hyprland/config.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
config,
lib,
eww,
...
}: let
pointer = config.home.pointerCursor;
homeDir = config.home.homeDirectory;
in {
wayland.windowManager.hyprland = {
settings = {
Expand All @@ -19,6 +19,9 @@ in {
"hyprlock"
"wl-paste --type text --watch cliphist store"
"wl-paste --type image --watch cliphist store"

"${lib.exe eww.packags.eww daemon}"
"${lib.exe eww open bar}"
];
xwayland.force_zero_scaling = true;
input = {
Expand Down Expand Up @@ -124,7 +127,6 @@ in {

"$VIDEODIR" = "$HOME/Videos";
"$NOTIFY" = "notify-send -h string:x-canonical-private-synchronouse:hypr-cfg -u low";
"$COLORPICKER" = "${homeDir}/.config/hypr/scripts/colorpicker";
"$LAYERS" = "^(eww-.+|bar|system-menu|anyrun|gtk-layer-shell|osd[0-9]|dunst)$";

bind = [
Expand Down
1 change: 0 additions & 1 deletion nixos/configurations/chestnut.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ _: {
nix.gc.persistent = true;
nix.gc.randomizedDelaySec = "30min";


programs.hyprland.enable = true;

# This value determines the NixOS release with which your system is to be
Expand Down
4 changes: 1 addition & 3 deletions nixos/modules/system/misc.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
{
...
}: {
{...}: {
# Steam fix
hardware.graphics.enable32Bit = true;

Expand Down

0 comments on commit db5a40a

Please sign in to comment.