From 5304d42d4cae95d4865b315533d9176b7db6c121 Mon Sep 17 00:00:00 2001 From: Julia Mertz Date: Sun, 3 Nov 2024 23:29:17 +0100 Subject: [PATCH] cleanup --- flake.nix | 14 ++++---------- packages/dtsfmt.nix | 2 -- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/flake.nix b/flake.nix index 40e3ea7..732d8cf 100644 --- a/flake.nix +++ b/flake.nix @@ -7,21 +7,15 @@ }; glove80-zmk = { + # Community fork with per-layer rgb url = "github:darknao/zmk/darknao/rgb-dts"; + # url = "github:moergo-sc/zmk"; flake = false; }; firmware-loader = { url = "github:juliamertz/glove80-firmware-updater"; inputs.nixpkgs.follows = "nixpkgs"; }; - # dtsfmt = { - # url = "github:juliamertz/dtsfmt/dev?submodules=1"; - # flake = false; - # }; - # treesitter-devicetree = { - # url = "github:mskelton/tree-sitter-devicetree"; - # flake = false; - # }; keymap-drawer = { url = "github:caksoylar/keymap-drawer"; flake = false; @@ -51,7 +45,7 @@ ... }: let - inherit (pkgs) callPackage writeShellScriptBin; + inherit (pkgs) callPackage writeShellScriptBin writeText; inherit (config) packages; firmwareLoader = firmware-loader.packages.${system}.default; @@ -66,7 +60,7 @@ packages.format = let dtsfmtrc = - pkgs.writeText ".dtsfmtrc.toml" # toml + writeText ".dtsfmtrc.toml" # toml '' layout = "moergo:glove80" diff --git a/packages/dtsfmt.nix b/packages/dtsfmt.nix index 97ce08b..e78fa53 100644 --- a/packages/dtsfmt.nix +++ b/packages/dtsfmt.nix @@ -1,8 +1,6 @@ { rustPlatform, fetchgit, - # runCommand, - # inputs, ... }: rustPlatform.buildRustPackage rec {