Skip to content

Commit

Permalink
Tidy unused variables and with bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
DanNixon committed Jun 25, 2024
1 parent da521ea commit 4fe1b98
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 32 deletions.
7 changes: 1 addition & 6 deletions modules/home-manager/borgmatic.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
{
inputs,
config,
pkgs,
...
}: {
{pkgs, ...}: {
home.packages = with pkgs; [
borgbackup
];
Expand Down
6 changes: 1 addition & 5 deletions modules/home-manager/desktop_environment/components/tofi.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
{
config,
pkgs,
...
}: {
{config, ...}: {
home.file.tofi-config = {
target = ".config/tofi/config";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
{
config,
pkgs,
...
}: {
{config, ...}: {
home.file.warpd-conf = {
target = ".config/warpd/config";

Expand Down
7 changes: 1 addition & 6 deletions modules/home-manager/terminal_environment/default.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
{
inputs,
config,
pkgs,
...
}: {
{pkgs, ...}: {
imports = [
../base.nix

Expand Down
6 changes: 1 addition & 5 deletions modules/home-manager/terminal_environment/shell.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
{
inputs,
pkgs,
...
}: {
{inputs, ...}: {
scheme = "${inputs.tt-schemes}/base16/material-darker.yaml";

programs.dircolors.enable = true;
Expand Down
2 changes: 1 addition & 1 deletion overlays/pkgs/ddcutil-modify-vcp/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ in
${text}
'';

meta = with lib; {
meta = {
mainProgram = name;
description = description;
};
Expand Down
2 changes: 1 addition & 1 deletion overlays/pkgs/de-screenshot/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ in
${text}
'';

meta = with lib; {
meta = {
mainProgram = name;
description = description;
};
Expand Down
3 changes: 1 addition & 2 deletions overlays/pkgs/firefox-private/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
lib,
writeTextFile,
runtimeShell,
}: let
Expand All @@ -16,7 +15,7 @@ in
flatpak run org.mozilla.firefox -- --private-window
'';

meta = with lib; {
meta = {
mainProgram = name;
description = description;
};
Expand Down
2 changes: 1 addition & 1 deletion overlays/pkgs/media-control/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ in
${text}
'';

meta = with lib; {
meta = {
mainProgram = name;
description = description;
};
Expand Down

0 comments on commit 4fe1b98

Please sign in to comment.