replace efm with none-ls

enable black formatter for black
enable stylua formatter for lua
update nix flake inputs
format lua files
This commit is contained in:
Pim Kunis 2023-11-30 16:59:49 +01:00
parent 421a05a82f
commit 3b9b7d3c01
10 changed files with 219 additions and 133 deletions

View file

@ -3,6 +3,7 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
nur.url = "github:nix-community/NUR";
home-manager = {
url =
@ -21,14 +22,24 @@
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
};
outputs =
{ nixpkgs, home-manager, homeage, agenix, nur, nixos-hardware, ... }: {
outputs = { nixpkgs, nixpkgs-unstable, home-manager, homeage, agenix, nur
, nixos-hardware, ... }: {
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt;
nixosConfigurations.pim = nixpkgs.lib.nixosSystem {
nixosConfigurations.pim = nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux";
modules = [
{ nixpkgs.overlays = [ nur.overlay ]; }
{
nixpkgs.overlays = [
nur.overlay
(final: _prev: {
unstable = import nixpkgs-unstable {
inherit system;
config.allowUnfree = true;
};
})
];
}
./nixos
agenix.nixosModules.default
nixos-hardware.nixosModules.lenovo-thinkpad-x260