all: deal with a few warnings, cleanup a bit

This commit is contained in:
Aaron Bieber 2023-10-11 07:37:34 -06:00
parent 1da46905df
commit 45c5478c8f
No known key found for this signature in database
6 changed files with 22 additions and 17 deletions

View File

@ -25,7 +25,7 @@ with lib; {
};
};
imports = [ ./tailnet.nix ];
#imports = [ ./tailnet.nix ];
config = mkIf config.nixManager.enable {
sops.defaultSopsFile = config.xin-secrets.manager;

View File

@ -1,6 +1,8 @@
{ pkgs, ... }:
with pkgs; let
parchment = pkgs.vimUtils.buildVimPluginFrom2Nix rec {
{ pkgs, isUnstable, ... }:
with pkgs;
let
vimBuildTool = if isUnstable then pkgs.vimUtils.buildVimPlugin else pkgs.vimUtils.buildVimPluginFrom2Nix;
parchment = vimBuildTool rec {
pname = "parchment";
version = "0.4.0";
src = pkgs.fetchFromGitHub {
@ -10,7 +12,7 @@ with pkgs; let
sha256 = "sha256-ZphConCGZR3EG6dd8Ji7U9Qtm21SoWMk60XD4X+My1g=";
};
};
vacme = pkgs.vimUtils.buildVimPluginFrom2Nix rec {
vacme = vimBuildTool rec {
pname = "vacme";
version = "2017-01-14";
src = pkgs.fetchFromGitHub {
@ -20,7 +22,7 @@ with pkgs; let
sha256 = "sha256-eea0Ntr3gCmF6iZ0adZaVswWH70K9IJZ4SAyVSdFp3E=";
};
};
obsidian = pkgs.vimUtils.buildVimPluginFrom2Nix rec {
obsidian = vimBuildTool rec {
pname = "obsidian-nvim";
version = "1.7.0"; # 1.8.0 has breaking changes
src = pkgs.fetchFromGitHub {
@ -32,7 +34,7 @@ with pkgs; let
};
dependencies = with vimPlugins; [ nvim-cmp tabular ];
};
neogen = pkgs.vimUtils.buildVimPluginFrom2Nix rec {
neogen = vimBuildTool rec {
pname = "neogen";
version = "2023-01-16";
src = pkgs.fetchFromGitHub {

View File

@ -101,5 +101,5 @@ with lib; {
sopsFile = config.xin-secrets.manager;
};
};
#systemd.services = mkIf enabled (listToAttrs (builtins.map xinlib.jobToService jobs));
systemd.services = mkIf enabled (listToAttrs (builtins.map xinlib.jobToService jobs));
}

View File

@ -221,7 +221,7 @@ in
};
services.logrotate.checkConfig =
todo "logrotate disabled: https://github.com/NixOS/nix/issues/8502" false;
todo "logrotate.checkConfig disabled: https://github.com/NixOS/nix/issues/8502" false;
services = {
openssh = {

View File

@ -2,6 +2,7 @@
, lib
, pkgs
, xinlib
, isUnstable
, ...
}:
let
@ -32,6 +33,10 @@ let
path = [ promnesia hpi ];
}
];
fontSet = with pkgs; [
go-font
#(callPackage ../pkgs/kurinto.nix {})
];
in
with lib; {
imports = [ ./gnome.nix ./kde.nix ./xfce.nix ./arcan.nix ];
@ -67,10 +72,7 @@ with lib; {
# TODO: TEMP FIX
systemd.services.NetworkManager-wait-online.serviceConfig.ExecStart =
lib.mkForce [ "" "${pkgs.networkmanager}/bin/nm-online -q" ];
fonts.fonts = with pkgs; [
go-font
#(callPackage ../pkgs/kurinto.nix {})
];
fonts = if isUnstable then { packages = fontSet; } else { fonts = fontSet; };
sound.enable = true;
environment.systemPackages = with pkgs; (xinlib.filterList [
arcanPackages.all-wrapped

View File

@ -1,12 +1,11 @@
{ lib
, poetry-core
, fetchFromGitHub
, buildPythonPackage
, beautifulsoup4
, browser-cookie3
, buildPythonPackage
, certifi
, charset-normalizer
, cryptography
, fetchFromGitHub
, idna
, importlib-metadata
, jaraco_classes
@ -15,6 +14,7 @@
, lz4
, more-itertools
, pbkdf2
, poetry-core
, pyaes
, pycparser
, pycryptodome
@ -40,7 +40,6 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
setuptools
beautifulsoup4
browser-cookie3
certifi
@ -54,11 +53,13 @@ buildPythonPackage rec {
lz4
more-itertools
pbkdf2
poetry-core
pyaes
pycparser
pycryptodome
requests
secretstorage
setuptools
soupsieve
tqdm
urllib3