Update Nixvim
This commit is contained in:
parent
780922cfb5
commit
12feb4393b
6 changed files with 31 additions and 27 deletions
20
README.md
20
README.md
|
@ -48,27 +48,27 @@ nix develop -c /etc/nixos/git/docs/setup.sh
|
||||||
---
|
---
|
||||||
# 📋 To Do List
|
# 📋 To Do List
|
||||||
* [ ] Add audio to rdesktop xrdp config
|
* [ ] Add audio to rdesktop xrdp config
|
||||||
* [ ] Framework volume buttons don't work on KDE
|
* [x] Framework volume buttons don't work on KDE
|
||||||
* Intermittent
|
* Intermittent
|
||||||
* Always after reboot
|
* Always after reboot
|
||||||
* [ ] KDE not saving HDR / high frame rate settings on Wayland
|
* [ ] KDE not saving HDR / high frame rate settings on Wayland
|
||||||
* [ ] Figure out a way to pass through GPG AND SSH authentications via SSH (so I can use my YubiKey on my server remotely)
|
* [ ] Figure out a way to pass through GPG AND SSH authentications via SSH (so I can use my YubiKey on my server remotely)
|
||||||
* [ ] High I/O write causing issues on framework-server - Figure out where this is coming from. Seems random
|
* [x] High I/O write causing issues on framework-server - Figure out where this is coming from. Seems random
|
||||||
|
|
||||||
## home-manager
|
## home-manager
|
||||||
* [ ] KDE:
|
* [x] KDE:
|
||||||
* [ ] Add config for tiling <Meta-T>
|
* [x] Add config for tiling <Meta-T>
|
||||||
* [ ] Try Darkman - [Link](https://home-manager-options.extranix.com/?query=services.darkman&release=master)
|
* [x] Try Darkman - [Link](https://home-manager-options.extranix.com/?query=services.darkman&release=master)
|
||||||
* [ ] Firefox:
|
* [x] Firefox:
|
||||||
* [ ] Find a way to remove all default search engines (Google, Amazon, Yahoo!, etc)
|
* [x] Find a way to remove all default search engines (Google, Amazon, Yahoo!, etc)
|
||||||
* [ ] Pre-defined containers with URLs to match? (ie, Google container opens Google stuff automatically)
|
* [x] Pre-defined containers with URLs to match? (ie, Google container opens Google stuff automatically)
|
||||||
* [ ] Arkenfox interfering with some audio settings (media.mediasource, for example)
|
* [ ] Arkenfox interfering with some audio settings (media.mediasource, for example)
|
||||||
|
|
||||||
## Homelab General
|
## Homelab General
|
||||||
* [ ] Upgrades:
|
* [ ] Upgrades:
|
||||||
* [ ] Headscale 0.23 - Need to update the web ui
|
* [ ] Headscale 0.23 - Need to update the web ui
|
||||||
* [ ] New Features:
|
* [x] New Features:
|
||||||
* [ ] Add fail2ban to Traefik
|
* [x] Add fail2ban to Traefik
|
||||||
* Check other open ports
|
* Check other open ports
|
||||||
|
|
||||||
Completed To Do List [here](./docs/complete.md)
|
Completed To Do List [here](./docs/complete.md)
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
# Steam Deck configs for NixOS
|
# Steam Deck configs for NixOS
|
||||||
jovian.url = "github:Jovian-Experiments/Jovian-NixOS";
|
jovian.url = "github:Jovian-Experiments/Jovian-NixOS";
|
||||||
};
|
};
|
||||||
outputs = { self, nixpkgs, nixpkgs-wayland, home-manager, lanzaboote, nur, sops-nix, nixos-generators, deploy-rs, jovian, ... } @inputs:
|
outputs = { self, nixpkgs, sops-nix, deploy-rs, ... } @inputs:
|
||||||
let
|
let
|
||||||
inherit (self) outputs;
|
inherit (self) outputs;
|
||||||
stateVersion = "23.11";
|
stateVersion = "23.11";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, ... }: {
|
{ ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
./nixvim/base.nix
|
./nixvim/base.nix
|
||||||
./nixvim/cmp.nix
|
./nixvim/cmp.nix
|
||||||
|
@ -68,13 +68,14 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
rnix-lsp.enable = lib.mkForce false;
|
nixd.enable = true;
|
||||||
nil-ls.enable = false;
|
|
||||||
html.enable = true;
|
html.enable = true;
|
||||||
cssls.enable = true;
|
cssls.enable = true;
|
||||||
bashls.enable = false;
|
bashls.enable = false;
|
||||||
tailwindcss.enable = true;
|
tailwindcss.enable = true;
|
||||||
svelte.enable = true;
|
svelte.enable = true;
|
||||||
|
docker-compose-language-service.enable = true;
|
||||||
|
marksman.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
onAttach = ''
|
onAttach = ''
|
||||||
|
|
|
@ -13,11 +13,11 @@
|
||||||
mkPadding = size: { type = "padding"; val = size; };
|
mkPadding = size: { type = "padding"; val = size; };
|
||||||
mkText = text: { type = "text"; val = text; opts = centeredText; };
|
mkText = text: { type = "text"; val = text; opts = centeredText; };
|
||||||
|
|
||||||
mkGroup = val: { inherit val; type = "group"; };
|
# mkGroup = val: { inherit val; type = "group"; };
|
||||||
mkGroupItem = desc: shortcut: {
|
# mkGroupItem = desc: shortcut: {
|
||||||
inherit shortcut desc;
|
# inherit shortcut desc;
|
||||||
command = "";
|
# command = "";
|
||||||
};
|
# };
|
||||||
in
|
in
|
||||||
[
|
[
|
||||||
(mkPadding 6)
|
(mkPadding 6)
|
||||||
|
|
|
@ -6,6 +6,13 @@
|
||||||
] ++ lib.optional (builtins.isString theme) ../../../../../stylix/themes/${theme}/home-manager/nixvim.nix;
|
] ++ lib.optional (builtins.isString theme) ../../../../../stylix/themes/${theme}/home-manager/nixvim.nix;
|
||||||
|
|
||||||
# https://github.com/nix-community/nixvim
|
# https://github.com/nix-community/nixvim
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
# Linters
|
||||||
|
yamllint
|
||||||
|
hadolint
|
||||||
|
nixfmt-rfc-style
|
||||||
|
vale
|
||||||
|
];
|
||||||
|
|
||||||
# Docs:
|
# Docs:
|
||||||
# https://nix-community.github.io/nixvim/
|
# https://nix-community.github.io/nixvim/
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
desktop ? null,
|
desktop ? null,
|
||||||
system ? "x86_64-linux",
|
system ? "x86_64-linux",
|
||||||
theme ? "default",
|
theme ? "default",
|
||||||
type ? "default",
|
# type ? "default",
|
||||||
repo ? "nixpkgs",
|
repo ? "nixpkgs",
|
||||||
unfree ? false,
|
unfree ? false,
|
||||||
ip ? null,
|
ip ? null,
|
||||||
|
@ -57,12 +57,8 @@
|
||||||
restartIfChanged = true;
|
restartIfChanged = true;
|
||||||
enableTun = true;
|
enableTun = true;
|
||||||
specialArgs = { inherit pkgs-unstable hostname username desktop theme system repo unfree stateVersion ip deployment_type; };
|
specialArgs = { inherit pkgs-unstable hostname username desktop theme system repo unfree stateVersion ip deployment_type; };
|
||||||
config = { lib, config, pkgs-unstable, hostname, username, desktop, theme, system, repo, stateVersion, ip, deployment_type, ... }: {
|
config = { hostname, username, desktop, theme, system, stateVersion, ... }: {
|
||||||
nixpkgs.pkgs = import inputs.${repo} {
|
nixpkgs.pkgs = pkgs;
|
||||||
inherit system;
|
|
||||||
config.allowUnfree = unfree;
|
|
||||||
hostPlatform = system;
|
|
||||||
};
|
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
../nixos/containers
|
../nixos/containers
|
||||||
|
|
Loading…
Reference in a new issue