1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 11:37:44 +00:00

Remove padding when using Helix

This commit is contained in:
RGBCube 2023-11-09 11:36:45 +03:00
parent c4cac59566
commit 344b85f2f0
No known key found for this signature in database
3 changed files with 15 additions and 10 deletions

18
flake.lock generated
View file

@ -8,11 +8,11 @@
"rust-analyzer-src": "rust-analyzer-src"
},
"locked": {
"lastModified": 1699424512,
"narHash": "sha256-ysy/MYHkdEhqCSnc8oG9ZS054nCkJgHMORDb1o7NPL8=",
"lastModified": 1699338102,
"narHash": "sha256-4+CqAW2KCLePnXHFk85QUUrVAe3uMfEda1HDB4s2kMA=",
"owner": "nix-community",
"repo": "fenix",
"rev": "dfaf3a97fe595a18bf9d55cda3416c17fe906f0f",
"rev": "fcdb479ed8dbbe14aadd0b78d1ed59b110f71113",
"type": "github"
},
"original": {
@ -50,11 +50,11 @@
"xdph": "xdph"
},
"locked": {
"lastModified": 1699447387,
"narHash": "sha256-757r6PbNsKNqP68renCiz9kNpnBeCRUdje98duGrQKA=",
"lastModified": 1699391198,
"narHash": "sha256-HrnlCdZBqqE37gFORapfSGEGcqhCyhX2aSMRnDEmR0k=",
"owner": "hyprwm",
"repo": "Hyprland",
"rev": "c619e6976f8d7f9637b4bee098159935412c2e99",
"rev": "751d2851cc270c3322ffe2eb83c156e4298a0c0e",
"type": "github"
},
"original": {
@ -131,11 +131,11 @@
"rust-analyzer-src": {
"flake": false,
"locked": {
"lastModified": 1699395221,
"narHash": "sha256-FPuZhacqpdozOpTivkkqITt78S8WzFyXxF+LXW14l20=",
"lastModified": 1699192824,
"narHash": "sha256-/W1PD3IjsnYccL6W72guok3bvdnRPHvVYDfgBTDEtpM=",
"owner": "rust-lang",
"repo": "rust-analyzer",
"rev": "3b7c7f97e4a7bb253a8d398ee4f8346f6cf2817b",
"rev": "c1c9e10f72ffd2e829d20ff1439ff49c2e121731",
"type": "github"
},
"original": {

View file

@ -1,8 +1,12 @@
{ lib, pkgs, homeConfiguration, homePackages, enabled, ... }: lib.recursiveUpdate
(homeConfiguration "nixos" {
programs.nushell = {
environmentVariables.EDITOR = "hx";
shellAliases.hx = "sh -c '_hx() { kitty @ set-spacing padding=0; hx $@; kitty @ set-spacing padding=10; }; _hx'";
};
programs.helix = enabled {
defaultEditor = true;
settings.theme = "gruvbox_dark_hard";

View file

@ -12,6 +12,7 @@ homeConfiguration "nixos" {
theme = "Gruvbox Dark";
settings = {
allow_remote_control = true;
confirm_os_window_close = 0;
focus_follows_mouse = true;
mouse_hide_wait = 0;