fix(treewide): deadnix

This commit is contained in:
ooks-io 2024-07-15 20:53:35 +12:00
parent f7b3aba883
commit 5c055252ea
26 changed files with 44 additions and 26 deletions

View file

@ -1,4 +1,4 @@
{ lib, config, pkgs, ... }:
{ pkgs, ... }:
{
home.packages = [ pkgs.xdg-utils ];

View file

@ -1,7 +1,7 @@
{ colorscheme }: {
"${colorscheme.slug}" = {
palette = builtins.mapAttrs (name: value: "#${value}") colorscheme.colors; # Add leading '#'
palette = builtins.mapAttrs (_name: value: "#${value}") colorscheme.colors; # Add leading '#'
"attributes" = "base09";
"comment" = { fg = "base03"; modifiers = [ "italic" ]; };
"constant" = "base09";

View file

@ -2,7 +2,7 @@
let
inherit (lib) mkIf;
inherit (config.colorscheme) slug palette;
inherit (config.colorscheme) slug;
cfg = config.ooknet.editor.nvim;
console = config.ooknet.console;
in

View file

@ -1,7 +1,7 @@
{ config, lib, ... }:
let
inherit (lib) mkIf mapAttrsToList;
inherit (lib) mkIf;
cfg = config.ooknet.editor.nvim;
console = config.ooknet.console;
in

View file

@ -0,0 +1,17 @@
{ lib, config, osConfig, ... }:
let
inherit (lib) mkIf;
cfg = config.ooknet.shell.fish;
admin = osConfig.ooknet.host.admin;
in
{
config = mkIf (cfg.enable || admin.shell == "fish") {
programs.fish.functions = {
man = ''
:q
''
};
};
}

View file

@ -9,6 +9,8 @@ in
config = mkIf cfg.enable {
programs.eza = {
enable = true;
git = true;
icons = true;
};
};
}

View file

@ -1,4 +1,4 @@
{ lib, ... }:
{ ... }:
{
imports = [

View file

@ -1,4 +1,4 @@
{ lib, config, inputs, pkgs, ... }:
{ lib, config, pkgs, ... }:
let
inherit (lib) mkIf;

View file

@ -1,4 +1,4 @@
{ lib, config, inputs, ... }:
{ lib, config, ... }:
let
inherit (lib) mkIf;

View file

@ -1,4 +1,4 @@
{ lib, config, inputs, pkgs, ... }:
{ lib, config, ... }:
let
inherit (config.colorscheme) palette;

View file

@ -1,4 +1,4 @@
{ lib, config, ... }:
{ lib, ... }:
let
inherit (lib) mkOption;

View file

@ -1,4 +1,4 @@
{ inputs, outputs, config, ... }:
{ ... }:
{
imports = [

View file

@ -1,4 +1,4 @@
{ inputs, outputs, config, ... }:
{ ... }:
{
imports = [

View file

@ -1,4 +1,4 @@
{ inputs, outputs, config, ... }:
{ inputs, ... }:
{
imports = [

View file

@ -1,4 +1,4 @@
{ inputs, outputs, config, ... }:
{ ... }:
{
imports = [