From dafa79dbdb74335bd482ca8e631cb2efd6113d39 Mon Sep 17 00:00:00 2001 From: Himadri Bhattacharjee <107522312+lavafroth@users.noreply.github.com> Date: Sun, 17 Nov 2024 10:38:09 +0530 Subject: [PATCH] trying out gnome --- hosts/default/configuration.nix | 4 ++-- hosts/default/home/helix.nix | 21 +++++++++++++++++---- hosts/default/home/shell.nix | 2 +- 3 files changed, 20 insertions(+), 7 deletions(-) diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index a9f9b1e..c77f289 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -14,8 +14,8 @@ ./nvidia.nix ./secure-dns.nix ./virtualization.nix - # ./desktops/gnome.nix - ./desktops/kde.nix + ./desktops/gnome.nix + # ./desktops/kde.nix ]; boot = { diff --git a/hosts/default/home/helix.nix b/hosts/default/home/helix.nix index 2a29fe3..ebad5ea 100644 --- a/hosts/default/home/helix.nix +++ b/hosts/default/home/helix.nix @@ -1,14 +1,27 @@ -{ pkgs, ... }: { +{ pkgs, ... }: +{ home.file.".config/helix/themes/hel.toml".source = ./sources/helix/hel.toml; programs.helix = { enable = true; settings = { + theme = "adwaita-dark"; editor.cursor-shape.insert = "bar"; editor.line-number = "relative"; editor.idle-timeout = 0; - keys.normal."X" = [ "extend_line_up" "extend_to_line_bounds" ]; - keys.select."X" = [ "extend_line_up" "extend_to_line_bounds" ]; - keys.normal."C-g" = [ ":new" ":insert-output ${pkgs.lazygit}/bin/lazygit" ":buffer-close!" ":redraw" ]; + keys.normal."X" = [ + "extend_line_up" + "extend_to_line_bounds" + ]; + keys.select."X" = [ + "extend_line_up" + "extend_to_line_bounds" + ]; + keys.normal."C-g" = [ + ":new" + ":insert-output ${pkgs.lazygit}/bin/lazygit" + ":buffer-close!" + ":redraw" + ]; }; }; } diff --git a/hosts/default/home/shell.nix b/hosts/default/home/shell.nix index 699c00f..3a2d9cb 100644 --- a/hosts/default/home/shell.nix +++ b/hosts/default/home/shell.nix @@ -62,6 +62,6 @@ # form over function (pretty tools) nitch - wezterm + # wezterm ]; }