mirror of
https://github.com/szymon-jozef/amazing-dotfiles.git
synced 2026-09-07 20:20:43 +02:00
nixd
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{ ... }:
|
{ pkgs, userConfig, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.nixvim = {
|
programs.nixvim = {
|
||||||
@@ -227,8 +227,17 @@
|
|||||||
nixd = {
|
nixd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
filetypes = [ "nix" ];
|
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
|
# other
|
||||||
marksman.enable = true;
|
marksman.enable = true;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ in
|
|||||||
bc
|
bc
|
||||||
nh
|
nh
|
||||||
runc
|
runc
|
||||||
|
nixfmt
|
||||||
|
|
||||||
# Music
|
# Music
|
||||||
spotify
|
spotify
|
||||||
|
|||||||
Reference in New Issue
Block a user