Compare commits

..

5 Commits

9 changed files with 18 additions and 13 deletions

View File

@ -17,11 +17,6 @@
agenix.inputs.nixpkgs.follows = "nixpkgs"; agenix.inputs.nixpkgs.follows = "nixpkgs";
agenix.url = "github:ryantm/agenix"; agenix.url = "github:ryantm/agenix";
attic.inputs.flake-utils.follows = "flake-utils";
attic.inputs.nixpkgs-stable.follows = "stable";
attic.inputs.nixpkgs.follows = "nixpkgs";
attic.url = "github:zhaofengli/attic";
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
home-manager.url = "github:nix-community/home-manager"; home-manager.url = "github:nix-community/home-manager";
@ -31,8 +26,8 @@
pre-commit-hooks.url = "github:cachix/pre-commit-hooks.nix"; pre-commit-hooks.url = "github:cachix/pre-commit-hooks.nix";
nix-super.url = "github:privatevoid-net/nix-super/aaba1f91e7eba8ce029fa6bfa81ad9e14a13708d"; nix-super.url = "github:privatevoid-net/nix-super";
nix-super.inputs.nixpkgs.follows = "nixpkgs"; nix-super.inputs.nixpkgs.follows = "stable";
rofi-wayland.url = "github:lbonn/rofi/wayland"; rofi-wayland.url = "github:lbonn/rofi/wayland";
rofi-wayland.flake = false; rofi-wayland.flake = false;

View File

@ -18,6 +18,7 @@
personal.enable = true; personal.enable = true;
}; };
programs.hyprland.nvidiaSupport = true; programs.hyprland.nvidiaSupport = true;
programs.hyprland.keyboardLayouts = [ "us" "de" ];
services.mullvad.enable = true; services.mullvad.enable = true;
programs.ledger.enable = true; programs.ledger.enable = true;
}; };

View File

@ -100,7 +100,6 @@ in
statix statix
manix manix
nix-output-monitor nix-output-monitor
attic
# other # other
bat bat

View File

@ -25,7 +25,7 @@ in
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/ # For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input { input {
kb_layout = de,us kb_layout = ${concatStringsSep "," cfg.keyboardLayouts}
kb_variant = kb_variant =
kb_model = kb_model =
kb_options = grp:win_space_toggle,caps:escape kb_options = grp:win_space_toggle,caps:escape

View File

@ -25,6 +25,11 @@ in
description = "enable window shadows"; description = "enable window shadows";
default = true; default = true;
}; };
keyboardLayouts = mkOption {
type = types.listOf types.str;
description = "list of keyboard layouts";
default = [ "de" "us" ];
};
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {

View File

@ -239,11 +239,12 @@ in
stylua stylua
sumneko-lua-language-server sumneko-lua-language-server
taplo taplo
typst
typst-lsp
yamlfmt yamlfmt
]; ];
plugins = with pkgs.vimPlugins; [ plugins = [
lazy-nvim pkgs.vimPlugins.lazy-nvim
nvim-treesitter.withAllGrammars
]; ];
}; };
}; };

View File

@ -234,6 +234,10 @@ with builtins;
cmd = [ "StartupTime" ]; cmd = [ "StartupTime" ];
conf = readFile ./vim-startuptime.lua; conf = readFile ./vim-startuptime.lua;
} }
{
plugin = typst-vim;
ft = [ "typst" "typ" ];
}
{ {
plugin = comment-nvim; plugin = comment-nvim;
event = [ "BufReadPost" "BufNewFile" ]; event = [ "BufReadPost" "BufNewFile" ];

View File

@ -127,6 +127,7 @@ local servers = {
"pylsp", "pylsp",
"ruff_lsp", "ruff_lsp",
"rust_analyzer", "rust_analyzer",
"typst_lsp",
} }
for _, lsp in ipairs(servers) do for _, lsp in ipairs(servers) do
lspconfig_setup(lsp, {}) lspconfig_setup(lsp, {})

View File

@ -3,7 +3,6 @@
_: prev: _: prev:
{ {
agenix = inputs.agenix.packages.${prev.system}.default; agenix = inputs.agenix.packages.${prev.system}.default;
attic = inputs.attic.packages.${prev.system}.default;
hyprpaper = inputs.hyprpaper.packages.${prev.system}.default; hyprpaper = inputs.hyprpaper.packages.${prev.system}.default;
nil = inputs.nil.packages.${prev.system}.default; nil = inputs.nil.packages.${prev.system}.default;
nix-super = inputs.nix-super.packages.${prev.system}.default; nix-super = inputs.nix-super.packages.${prev.system}.default;