all: deal with a few warnings, cleanup a bit
This commit is contained in:
parent
1da46905df
commit
45c5478c8f
@ -25,7 +25,7 @@ with lib; {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
imports = [ ./tailnet.nix ];
|
#imports = [ ./tailnet.nix ];
|
||||||
|
|
||||||
config = mkIf config.nixManager.enable {
|
config = mkIf config.nixManager.enable {
|
||||||
sops.defaultSopsFile = config.xin-secrets.manager;
|
sops.defaultSopsFile = config.xin-secrets.manager;
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, isUnstable, ... }:
|
||||||
with pkgs; let
|
with pkgs;
|
||||||
parchment = pkgs.vimUtils.buildVimPluginFrom2Nix rec {
|
let
|
||||||
|
vimBuildTool = if isUnstable then pkgs.vimUtils.buildVimPlugin else pkgs.vimUtils.buildVimPluginFrom2Nix;
|
||||||
|
parchment = vimBuildTool rec {
|
||||||
pname = "parchment";
|
pname = "parchment";
|
||||||
version = "0.4.0";
|
version = "0.4.0";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
@ -10,7 +12,7 @@ with pkgs; let
|
|||||||
sha256 = "sha256-ZphConCGZR3EG6dd8Ji7U9Qtm21SoWMk60XD4X+My1g=";
|
sha256 = "sha256-ZphConCGZR3EG6dd8Ji7U9Qtm21SoWMk60XD4X+My1g=";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
vacme = pkgs.vimUtils.buildVimPluginFrom2Nix rec {
|
vacme = vimBuildTool rec {
|
||||||
pname = "vacme";
|
pname = "vacme";
|
||||||
version = "2017-01-14";
|
version = "2017-01-14";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
@ -20,7 +22,7 @@ with pkgs; let
|
|||||||
sha256 = "sha256-eea0Ntr3gCmF6iZ0adZaVswWH70K9IJZ4SAyVSdFp3E=";
|
sha256 = "sha256-eea0Ntr3gCmF6iZ0adZaVswWH70K9IJZ4SAyVSdFp3E=";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
obsidian = pkgs.vimUtils.buildVimPluginFrom2Nix rec {
|
obsidian = vimBuildTool rec {
|
||||||
pname = "obsidian-nvim";
|
pname = "obsidian-nvim";
|
||||||
version = "1.7.0"; # 1.8.0 has breaking changes
|
version = "1.7.0"; # 1.8.0 has breaking changes
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
@ -32,7 +34,7 @@ with pkgs; let
|
|||||||
};
|
};
|
||||||
dependencies = with vimPlugins; [ nvim-cmp tabular ];
|
dependencies = with vimPlugins; [ nvim-cmp tabular ];
|
||||||
};
|
};
|
||||||
neogen = pkgs.vimUtils.buildVimPluginFrom2Nix rec {
|
neogen = vimBuildTool rec {
|
||||||
pname = "neogen";
|
pname = "neogen";
|
||||||
version = "2023-01-16";
|
version = "2023-01-16";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
|
@ -101,5 +101,5 @@ with lib; {
|
|||||||
sopsFile = config.xin-secrets.manager;
|
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));
|
||||||
}
|
}
|
||||||
|
@ -221,7 +221,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
services.logrotate.checkConfig =
|
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 = {
|
services = {
|
||||||
openssh = {
|
openssh = {
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
, lib
|
, lib
|
||||||
, pkgs
|
, pkgs
|
||||||
, xinlib
|
, xinlib
|
||||||
|
, isUnstable
|
||||||
, ...
|
, ...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
@ -32,6 +33,10 @@ let
|
|||||||
path = [ promnesia hpi ];
|
path = [ promnesia hpi ];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
fontSet = with pkgs; [
|
||||||
|
go-font
|
||||||
|
#(callPackage ../pkgs/kurinto.nix {})
|
||||||
|
];
|
||||||
in
|
in
|
||||||
with lib; {
|
with lib; {
|
||||||
imports = [ ./gnome.nix ./kde.nix ./xfce.nix ./arcan.nix ];
|
imports = [ ./gnome.nix ./kde.nix ./xfce.nix ./arcan.nix ];
|
||||||
@ -67,10 +72,7 @@ with lib; {
|
|||||||
# TODO: TEMP FIX
|
# TODO: TEMP FIX
|
||||||
systemd.services.NetworkManager-wait-online.serviceConfig.ExecStart =
|
systemd.services.NetworkManager-wait-online.serviceConfig.ExecStart =
|
||||||
lib.mkForce [ "" "${pkgs.networkmanager}/bin/nm-online -q" ];
|
lib.mkForce [ "" "${pkgs.networkmanager}/bin/nm-online -q" ];
|
||||||
fonts.fonts = with pkgs; [
|
fonts = if isUnstable then { packages = fontSet; } else { fonts = fontSet; };
|
||||||
go-font
|
|
||||||
#(callPackage ../pkgs/kurinto.nix {})
|
|
||||||
];
|
|
||||||
sound.enable = true;
|
sound.enable = true;
|
||||||
environment.systemPackages = with pkgs; (xinlib.filterList [
|
environment.systemPackages = with pkgs; (xinlib.filterList [
|
||||||
arcanPackages.all-wrapped
|
arcanPackages.all-wrapped
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, poetry-core
|
|
||||||
, fetchFromGitHub
|
|
||||||
, buildPythonPackage
|
|
||||||
, beautifulsoup4
|
, beautifulsoup4
|
||||||
, browser-cookie3
|
, browser-cookie3
|
||||||
|
, buildPythonPackage
|
||||||
, certifi
|
, certifi
|
||||||
, charset-normalizer
|
, charset-normalizer
|
||||||
, cryptography
|
, cryptography
|
||||||
|
, fetchFromGitHub
|
||||||
, idna
|
, idna
|
||||||
, importlib-metadata
|
, importlib-metadata
|
||||||
, jaraco_classes
|
, jaraco_classes
|
||||||
@ -15,6 +14,7 @@
|
|||||||
, lz4
|
, lz4
|
||||||
, more-itertools
|
, more-itertools
|
||||||
, pbkdf2
|
, pbkdf2
|
||||||
|
, poetry-core
|
||||||
, pyaes
|
, pyaes
|
||||||
, pycparser
|
, pycparser
|
||||||
, pycryptodome
|
, pycryptodome
|
||||||
@ -40,7 +40,6 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
setuptools
|
|
||||||
beautifulsoup4
|
beautifulsoup4
|
||||||
browser-cookie3
|
browser-cookie3
|
||||||
certifi
|
certifi
|
||||||
@ -54,11 +53,13 @@ buildPythonPackage rec {
|
|||||||
lz4
|
lz4
|
||||||
more-itertools
|
more-itertools
|
||||||
pbkdf2
|
pbkdf2
|
||||||
|
poetry-core
|
||||||
pyaes
|
pyaes
|
||||||
pycparser
|
pycparser
|
||||||
pycryptodome
|
pycryptodome
|
||||||
requests
|
requests
|
||||||
secretstorage
|
secretstorage
|
||||||
|
setuptools
|
||||||
soupsieve
|
soupsieve
|
||||||
tqdm
|
tqdm
|
||||||
urllib3
|
urllib3
|
||||||
|
Loading…
Reference in New Issue
Block a user