From 82fc60311b9e7300802ede7c199c6f9bab0ec36e Mon Sep 17 00:00:00 2001 From: xqtc Date: Thu, 25 Jul 2024 15:26:38 +0200 Subject: [PATCH] some nixvim stuff --- home/config-files/nvim/init.lua | 2 +- home/modules/home-pkgs.nix | 3 +++ home/modules/nixvim.nix | 14 +++++++++++++- hosts/x86_64-linux/seraphim/default.nix | 2 +- secrets.yaml | 7 ++++--- 5 files changed, 22 insertions(+), 6 deletions(-) diff --git a/home/config-files/nvim/init.lua b/home/config-files/nvim/init.lua index 39f6db0..6154853 100644 --- a/home/config-files/nvim/init.lua +++ b/home/config-files/nvim/init.lua @@ -27,7 +27,7 @@ if vim.g.neovide then vim.g.neovide_cursor_vfx_mode = "ripple" vim.g.neovide_cursor_vfx_particle_density = 30.0 - vim.g.neovide_transparency = .8 + vim.g.neovide_transparency = 1 local font_name = "ComicShannsMono Nerd Font Mono:h" local font_size = 20 diff --git a/home/modules/home-pkgs.nix b/home/modules/home-pkgs.nix index 0aa3bc6..2c3c44d 100644 --- a/home/modules/home-pkgs.nix +++ b/home/modules/home-pkgs.nix @@ -25,6 +25,8 @@ in { [ pkgs.yubioath-flutter + pkgs.wakatime-cli + pkgs.neofetch # pkgs.uwufetch maxfetch @@ -62,6 +64,7 @@ in { pkgs.pavucontrol pkgs.bitwarden-cli + pkgs.bitwarden-desktop pkgs.rbw pkgs.swayfx diff --git a/home/modules/nixvim.nix b/home/modules/nixvim.nix index 6d2bf84..c93df87 100644 --- a/home/modules/nixvim.nix +++ b/home/modules/nixvim.nix @@ -23,13 +23,25 @@ colorschemes.catppuccin.enable = true; plugins = { + wakatime.enable = true; headlines.enable = true; twilight.enable = true; comment-nvim = { enable = true; }; indent-blankline.enable = true; - lualine.enable = true; + lualine = { + enable = true; + disabledFiletypes.statusline = ["neo-tree"]; + componentSeparators = { + left = ""; + right = ""; + }; + sectionSeparators = { + left = ""; + right = ""; + }; + }; lsp-format = {enable = true;}; copilot-lua = { enable = true; diff --git a/hosts/x86_64-linux/seraphim/default.nix b/hosts/x86_64-linux/seraphim/default.nix index 4868160..88e96f2 100644 --- a/hosts/x86_64-linux/seraphim/default.nix +++ b/hosts/x86_64-linux/seraphim/default.nix @@ -154,7 +154,7 @@ services.openssh.enable = true; # Open ports in the firewall. - networking.firewall.allowedTCPPorts = [22 8085 7878 7878 8989 9696 5030 5031 50300 ]; + networking.firewall.allowedTCPPorts = [22 8085 7878 7878 8989 9696 5030 5031 50300]; # networking.firewall.allowedUDPPorts = [ ... ]; # Or disable the firewall altogether. # networking.firewall.enable = false; diff --git a/secrets.yaml b/secrets.yaml index d0dddb8..ef14470 100644 --- a/secrets.yaml +++ b/secrets.yaml @@ -6,6 +6,7 @@ nextcloud_password: ENC[AES256_GCM,data:lwqQio1I1xTv07bLRyrvig1HRyCxcueSPgDpPRhX nextcloud_user_password: ENC[AES256_GCM,data:fkX/1pOgRLvhHTtoK9i5F0kO+mRKj40BH2s7VD7ifPEnyJhWqy5mvg==,iv:iEnW4Z8vCY9oapOpVZNuLMa50SXT01clYaScUN+q/k8=,tag:0G0Y8XCSj+dBAy6Cw8YOHg==,type:str] paperless_password: ENC[AES256_GCM,data:OCrc00vUb+lgel8TmFm+9Ee4QJZZV7W6+Jl9+R7AfjfDh6v590ibvw==,iv:emM7g0JRcEH4xuYdvZN64drOhduXyQy6HwF1xByaLvE=,tag:D2O1qAeKtYWGf+Zd3RuBTQ==,type:str] forgejo_runner_token: ENC[AES256_GCM,data:9JgYl6xQX6Cn5hLTDBw5R87k9+DRwPkpiQn8zQGlz/Zji+KIFxBGkw==,iv:TGohedGU5lLxuMk7MYxrfwiwQl0p6Ifj84d17j8DO2Q=,tag:dsrVA6+9raCcGTn9ty16hw==,type:str] +wakatime_api_key: ENC[AES256_GCM,data:hYdgMf8U13Ln9akFrzrivRWoUHGRw+ciLAxrlW3SXWds2QB+9HbrLkY=,iv:Yg9SaJ7AbVcSnbLr7SHORggMy8HVA6EirDEqN462yAI=,tag:oV3XMy23i9uxGUHGp7nc+w==,type:str] #ENC[AES256_GCM,data:UmGDAz/qalmP6Z2r4VSH802m9ddAoCQ8IaAtAmyQV+Psg0rNpLF7du5ykDepTyHAb6YAG1k2k9ziqfV8P9SUNMvLC7D3TmFk9oZtW8HLrN84tcbp9i4HDFfQ+Q==,iv:PzHlSFj0H4/eSab9j3y9lYAFUPMEb+G74M2/2cmv70A=,tag:GFstk6NgtJCNm207zO1fjQ==,type:comment] sops: kms: [] @@ -58,8 +59,8 @@ sops: a2ZHZmQ0dEVMZFlJRENmU2lGejFuMzAKOO3kTP/VWRYn5CrwPyjUIGS7kjxPvNYZ HMt+cCG9FYeJdqPpHWiM0TeHYUG0h7XlltIMg7KhE4Qj/GARegmuZQ== -----END AGE ENCRYPTED FILE----- - lastmodified: "2024-07-11T11:34:32Z" - mac: ENC[AES256_GCM,data:R5jjjx7iG4wpbn+zUVUBNzUmSS8BESat33ypEWyIi3jQeu7qCJ+OOM+0Soa4AiK3AwS7k1JPfWN8qvcCvDvxeOcHRciqKvORjulfFCceq4RIpEtkcPQU9PQGpMoDg5fYpS8WK8l3qRRPrUYZvKSo1/9O+r0emxF3CYSaR5wOSOs=,iv:673UNciuctMnkEUfrOnGuX2nSQQP/OO1x8QGKaC3noc=,tag:lBnMJwZk4oO8ArAxXXf9Zg==,type:str] + lastmodified: "2024-07-25T12:12:58Z" + mac: ENC[AES256_GCM,data:mcqPhZe9hYwfF0ZwLT74QLipYrV0DChffc9wjx265ziHUsEZiM9FmRbWEM8tfSe+q51RzBUPNqVjOxINP4sUKENF1Mpuw+ij9xogQpPmq9pouzqhS3wxF3EH6SuX/Qd2CkKaKz8dgih9z4/AAl9PmsKzmr2HxpMDtzEauTcMFlw=,iv:kKBmssZwemTlNMnL0jNULBslhvabL6OxW8T3AkRbK5I=,tag:vC8l5loUElGUxfgQXLzqbQ==,type:str] pgp: [] unencrypted_suffix: _unencrypted - version: 3.8.1 + version: 3.9.0