mirror of
https://github.com/Misterio77/Foundry.git
synced 2026-08-24 02:14:13 -05:00
treewide: format
This commit is contained in:
@@ -59,17 +59,19 @@
|
||||
hydraJobs = import ./hydra.nix { inherit inputs outputs; };
|
||||
|
||||
packages = forEachPkgs (pkgs: (import ./pkgs { inherit pkgs; }) // {
|
||||
neovim = let
|
||||
homeCfg = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
extraSpecialArgs = { inherit inputs outputs; };
|
||||
modules = [ ./home/misterio/generic.nix ];
|
||||
};
|
||||
pkg = homeCfg.config.programs.neovim.finalPackage;
|
||||
init = homeCfg.config.xdg.configFile."nvim/init.lua".source;
|
||||
in pkgs.writeShellScriptBin "nvim" ''
|
||||
${pkg}/bin/nvim -u ${init} "$@"
|
||||
'';
|
||||
neovim =
|
||||
let
|
||||
homeCfg = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
extraSpecialArgs = { inherit inputs outputs; };
|
||||
modules = [ ./home/misterio/generic.nix ];
|
||||
};
|
||||
pkg = homeCfg.config.programs.neovim.finalPackage;
|
||||
init = homeCfg.config.xdg.configFile."nvim/init.lua".source;
|
||||
in
|
||||
pkgs.writeShellScriptBin "nvim" ''
|
||||
${pkg}/bin/nvim -u ${init} "$@"
|
||||
'';
|
||||
});
|
||||
devShells = forEachPkgs (pkgs: import ./shell.nix { inherit pkgs; });
|
||||
formatter = forEachPkgs (pkgs: pkgs.nixpkgs-fmt);
|
||||
|
||||
@@ -25,7 +25,8 @@ let
|
||||
|
||||
wait
|
||||
'';
|
||||
in {
|
||||
in
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
vncsh
|
||||
wayvnc
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
{ home, colorscheme, wallpaper }:
|
||||
let
|
||||
inherit (home.sessionVariables) TERMINAL BROWSER EDITOR;
|
||||
in ''
|
||||
in
|
||||
''
|
||||
general {
|
||||
gaps_in=15
|
||||
gaps_out=20
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
"${colorscheme.slug}" = {
|
||||
palette = builtins.mapAttrs (name: value: "#${value}") colorscheme.colors; # Add leading '#'
|
||||
"attributes" = "base09";
|
||||
"comment" = { fg = "base03"; modifiers = ["italic"]; };
|
||||
"comment" = { fg = "base03"; modifiers = [ "italic" ]; };
|
||||
"constant" = "base09";
|
||||
"constant.character.escape" = "base0C";
|
||||
"constant.numeric" = "base09";
|
||||
"constructor" = "base0D";
|
||||
"debug" = "base03";
|
||||
"diagnostic" = { modifiers = ["underlined"]; };
|
||||
"diagnostic" = { modifiers = [ "underlined" ]; };
|
||||
"diagnostic.error" = { underline = { style = "curl"; }; };
|
||||
"diagnostic.hint" = { underline = { style = "curl"; }; };
|
||||
"diagnostic.info" = { underline = { style = "curl"; }; };
|
||||
@@ -22,32 +22,32 @@
|
||||
"info" = "base0D";
|
||||
"keyword" = "base0E";
|
||||
"label" = "base0E";
|
||||
"markup.bold" = { fg = "base0A"; modifiers = ["bold"]; };
|
||||
"markup.bold" = { fg = "base0A"; modifiers = [ "bold" ]; };
|
||||
"markup.heading" = "base0D";
|
||||
"markup.italic" = { fg = "base0E"; modifiers = ["italic"]; };
|
||||
"markup.italic" = { fg = "base0E"; modifiers = [ "italic" ]; };
|
||||
"markup.link.text" = "base08";
|
||||
"markup.link.url" = { fg = "base09"; modifiers = ["underlined"]; };
|
||||
"markup.link.url" = { fg = "base09"; modifiers = [ "underlined" ]; };
|
||||
"markup.list" = "base08";
|
||||
"markup.quote" = "base0C";
|
||||
"markup.raw" = "base0B";
|
||||
"markup.strikethrough" = { modifiers = ["crossed_out"]; };
|
||||
"markup.strikethrough" = { modifiers = [ "crossed_out" ]; };
|
||||
"namespace" = "base0E";
|
||||
"operator" = "base05";
|
||||
"special" = "base0D";
|
||||
"string" = "base0B";
|
||||
"string" = "base0B";
|
||||
"type" = "base0A";
|
||||
"ui.background" = { bg = "base00"; };
|
||||
"ui.bufferline" = { fg = "base04"; bg = "base00"; };
|
||||
"ui.bufferline.active" = { fg = "base00"; bg = "base03"; modifiers = ["bold"]; };
|
||||
"ui.cursor" = { fg = "base04"; modifiers = ["reversed"]; };
|
||||
"ui.cursor.insert" = { fg = "base0A"; modifiers = ["underlined"]; };
|
||||
"ui.cursor.match" = { fg = "base0A"; modifiers = ["underlined"]; };
|
||||
"ui.cursor.select" = { fg = "base0A"; modifiers = ["underlined"]; };
|
||||
"ui.bufferline.active" = { fg = "base00"; bg = "base03"; modifiers = [ "bold" ]; };
|
||||
"ui.cursor" = { fg = "base04"; modifiers = [ "reversed" ]; };
|
||||
"ui.cursor.insert" = { fg = "base0A"; modifiers = [ "underlined" ]; };
|
||||
"ui.cursor.match" = { fg = "base0A"; modifiers = [ "underlined" ]; };
|
||||
"ui.cursor.select" = { fg = "base0A"; modifiers = [ "underlined" ]; };
|
||||
"ui.cursorline.primary" = { fg = "base05"; bg = "base01"; };
|
||||
"ui.gutter" = { bg = "base00"; };
|
||||
"ui.help" = { fg = "base06"; bg = "base01"; };
|
||||
"ui.linenr" = { fg = "base03"; bg = "base00"; };
|
||||
"ui.linenr.selected" = { fg = "base04"; bg = "base01"; modifiers = ["bold"]; };
|
||||
"ui.linenr.selected" = { fg = "base04"; bg = "base01"; modifiers = [ "bold" ]; };
|
||||
"ui.menu" = { fg = "base05"; bg = "base01"; };
|
||||
"ui.menu.scroll" = { fg = "base03"; bg = "base01"; };
|
||||
"ui.menu.selected" = { fg = "base01"; bg = "base04"; };
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
{
|
||||
imports = [ ./global ];
|
||||
# Disable impermanence
|
||||
home.persistence = lib.mkForce {};
|
||||
home.persistence = lib.mkForce { };
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ let
|
||||
inherit (inputs.nixpkgs.lib) filterAttrs mapAttrs elem;
|
||||
|
||||
notBroken = pkg: !(pkg.meta.broken or false);
|
||||
hasPlatform = sys: pkg: elem sys (pkg.meta.platforms or []);
|
||||
hasPlatform = sys: pkg: elem sys (pkg.meta.platforms or [ ]);
|
||||
filterValidPkgs = sys: pkgs: filterAttrs (_: pkg: hasPlatform sys pkg && notBroken pkg) pkgs;
|
||||
getCfg = _: cfg: cfg.config.system.build.toplevel;
|
||||
in
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ lib, config, ... }:
|
||||
{ lib, config, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) mkOption types;
|
||||
let
|
||||
inherit (lib) mkOption types;
|
||||
cfg = config.monitors;
|
||||
in
|
||||
{
|
||||
|
||||
@@ -1,6 +1,13 @@
|
||||
{
|
||||
lib, buildPythonPackage, buildPythonApplication, fetchPypi,
|
||||
mutagen, requests, colorama, prettytable, pycrypto, pydub
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, buildPythonApplication
|
||||
, fetchPypi
|
||||
, mutagen
|
||||
, requests
|
||||
, colorama
|
||||
, prettytable
|
||||
, pycrypto
|
||||
, pydub
|
||||
}:
|
||||
let
|
||||
aigpy = buildPythonPackage rec {
|
||||
|
||||
Reference in New Issue
Block a user