This commit is contained in:
2026-05-19 21:40:52 +02:00
parent 93e6dd9858
commit d1ec59478c
2 changed files with 12 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
{ ... }:
{ pkgs, userConfig, ... }:
{
programs.nixvim = {
@@ -227,8 +227,17 @@
nixd = {
enable = true;
filetypes = [ "nix" ];
formatting = {
command = [ "nixfmt" ];
};
nixpkgs.expr = ''
import (builtins.getFlake "/etc/nixos/").inputs.nixpkgs { }
'';
home-manager.expr = ''
(builtins.getFlake "/home/${userConfig.username}/.home-manager").homeConfigurations."${userConfig.username}@${userConfig.hostName}".options
'';
};
nil_ls.enable = true;
# other
marksman.enable = true;
};

View File

@@ -39,6 +39,7 @@ in
bc
nh
runc
nixfmt
# Music
spotify