From a9fdfd8bac72700f8ba6357a1daa4fb68b7816a5 Mon Sep 17 00:00:00 2001 From: Nickolaj Jepsen Date: Tue, 6 May 2025 23:10:41 +0200 Subject: [PATCH] fix: lint --- flake.nix | 2 +- modules/apps/claude.nix | 8 ++++++-- modules/base/keyd.nix | 6 +++--- modules/desktop/niri.nix | 24 +++++++----------------- 4 files changed, 17 insertions(+), 23 deletions(-) diff --git a/flake.nix b/flake.nix index e8fa5de..8e28f5a 100644 --- a/flake.nix +++ b/flake.nix @@ -72,7 +72,7 @@ claude-desktop.url = "github:k3d3/claude-desktop-linux-flake"; claude-desktop.inputs.nixpkgs.follows = "nixpkgs"; - + niri.url = "github:sodiboo/niri-flake"; niri.inputs.nixpkgs.follows = "nixpkgs"; }; diff --git a/modules/apps/claude.nix b/modules/apps/claude.nix index 2f3a4e3..c7cdc51 100644 --- a/modules/apps/claude.nix +++ b/modules/apps/claude.nix @@ -1,5 +1,9 @@ -{inputs, pkgs, ...}: { +{ + inputs, + pkgs, + ... +}: { environment.systemPackages = [ inputs.claude-desktop.packages.${pkgs.system}.claude-desktop-with-fhs ]; -} \ No newline at end of file +} diff --git a/modules/base/keyd.nix b/modules/base/keyd.nix index b9b377f..318b171 100644 --- a/modules/base/keyd.nix +++ b/modules/base/keyd.nix @@ -1,8 +1,8 @@ -{...}: { +_: { services.keyd = { enable = true; keyboards.default = { - ids = [ "*" ]; + ids = ["*"]; settings = { main = { # Bind mouse-foward to meta+middlemouse if held @@ -13,4 +13,4 @@ }; }; }; -} \ No newline at end of file +} diff --git a/modules/desktop/niri.nix b/modules/desktop/niri.nix index 316901b..6554e7c 100644 --- a/modules/desktop/niri.nix +++ b/modules/desktop/niri.nix @@ -1,18 +1,8 @@ -{pkgsUnstable, pkgs, lib, inputs, ...}: -let - mesa-nixpkgs = - import - (fetchTarball { - url = "https://github.com/NixOS/nixpkgs/archive/d3c42f187194c26d9f0309a8ecc469d6c878ce33.tar.gz"; - sha256 = "sha256:0bmnxsn9r4qfslg4mahsl9y9719ykifbazpxxn1fqf47zbbanxkh"; - } - ) - { - inherit (pkgs.stdenv.hostPlatform) system; - config = { }; - overlays = [ ]; - }; -in { +{ + pkgs, + inputs, + ... +}: { # TODO: Move these to a separate module fireproof.home-manager.programs.waybar = { enable = true; @@ -47,7 +37,7 @@ in { color: #DAD8CE; border-bottom: 2px solid #CF6A4C; } - + #workspaces button.focused { background: #CF6A4C; color: #1C1B1A; @@ -157,7 +147,7 @@ in { } ]; - workspaces = { + workspaces = { "01" = { open-on-output = "DP-3"; };