Moved recipemd package
This commit is contained in:
parent
9be4ce9855
commit
2b3b2a603c
7 changed files with 23 additions and 31 deletions
|
@ -25,6 +25,9 @@
|
||||||
homePage = {
|
homePage = {
|
||||||
url = github:dadada/dadada.li;
|
url = github:dadada/dadada.li;
|
||||||
};
|
};
|
||||||
|
recipemd = {
|
||||||
|
url = github:dadada/recipemd/nix-flake;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { ... } @ args: import ./outputs.nix args;
|
outputs = { ... } @ args: import ./outputs.nix args;
|
||||||
|
|
|
@ -1,15 +1,11 @@
|
||||||
{ self
|
{ self
|
||||||
, nixpkgs
|
, nixpkgs
|
||||||
, home-manager
|
, home-manager
|
||||||
, nix-doom-emacs
|
|
||||||
, nvd
|
|
||||||
, scripts
|
|
||||||
}@inputs:
|
}@inputs:
|
||||||
let
|
let
|
||||||
hmConfiguration =
|
hmConfiguration =
|
||||||
{ homeDirectory ? "/home/dadada"
|
{ homeDirectory ? "/home/dadada"
|
||||||
, extraModules ? [ ]
|
, extraModules ? [ ]
|
||||||
, overlays ? [ ]
|
|
||||||
, system ? "x86_64-linux"
|
, system ? "x86_64-linux"
|
||||||
, username ? "dadada"
|
, username ? "dadada"
|
||||||
, stateVersion
|
, stateVersion
|
||||||
|
@ -21,7 +17,6 @@ let
|
||||||
config = import ./nixpkgs-config.nix {
|
config = import ./nixpkgs-config.nix {
|
||||||
pkgs = nixpkgs;
|
pkgs = nixpkgs;
|
||||||
};
|
};
|
||||||
overlays = overlays;
|
|
||||||
};
|
};
|
||||||
manual.manpages.enable = false;
|
manual.manpages.enable = false;
|
||||||
};
|
};
|
||||||
|
|
|
@ -71,6 +71,7 @@ with pkgs; [
|
||||||
python3
|
python3
|
||||||
python38Packages.dateutil
|
python38Packages.dateutil
|
||||||
python38Packages.managesieve
|
python38Packages.managesieve
|
||||||
|
recipemd
|
||||||
ripgrep
|
ripgrep
|
||||||
rust-analyzer
|
rust-analyzer
|
||||||
rustup
|
rustup
|
||||||
|
|
|
@ -6,12 +6,14 @@
|
||||||
, nixos-hardware
|
, nixos-hardware
|
||||||
, nvd
|
, nvd
|
||||||
, scripts
|
, scripts
|
||||||
|
, recipemd
|
||||||
}:
|
}:
|
||||||
let adapterModule = system: {
|
let adapterModule = system: {
|
||||||
nixpkgs.overlays = (nixpkgs.lib.attrValues self.overlays) ++ [
|
nixpkgs.overlays = (nixpkgs.lib.attrValues self.overlays) ++ [
|
||||||
(final: prev: { homePage = homePage.defaultPackage.${system}; })
|
(final: prev: { homePage = homePage.defaultPackage.${system}; })
|
||||||
(final: prev: { s = scripts; })
|
(final: prev: { s = scripts; })
|
||||||
(final: prev: { n = nvd; })
|
(final: prev: { n = nvd; })
|
||||||
|
(final: prev: { recipemd = recipemd.defaultPackage.${system}; })
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
|
@ -82,6 +82,7 @@ in
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
chromium
|
chromium
|
||||||
ghostscript
|
ghostscript
|
||||||
|
recipemd
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
|
@ -133,19 +134,19 @@ in
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.wg-quick.interfaces.mullvad = {
|
#networking.wg-quick.interfaces.mullvad = {
|
||||||
address = [ "10.68.15.202/32" "fc00:bbbb:bbbb:bb01::5:fc9/128" ];
|
# address = [ "10.68.15.202/32" "fc00:bbbb:bbbb:bb01::5:fc9/128" ];
|
||||||
privateKeyFile = "/var/lib/wireguard/mullvad";
|
# privateKeyFile = "/var/lib/wireguard/mullvad";
|
||||||
peers = [
|
# peers = [
|
||||||
{
|
# {
|
||||||
publicKey = "BLNHNoGO88LjV/wDBa7CUUwUzPq/fO2UwcGLy56hKy4=";
|
# publicKey = "Ec/wwcosVal9Kjc97ZuTTV7Dy5c0/W5iLet7jrSEm2k=";
|
||||||
allowedIPs = [ "0.0.0.0/0" "::0/0" ];
|
# allowedIPs = [ "0.0.0.0/0" "::0/0" ];
|
||||||
endpoint = "193.27.14.98:3152";
|
# endpoint = "193.27.14.66:51820";
|
||||||
persistentKeepalive = 25;
|
# persistentKeepalive = 25;
|
||||||
}
|
# }
|
||||||
];
|
# ];
|
||||||
postUp = "${pkgs.iproute2}/bin/ip rule add to 193.27.14.98 lookup main";
|
# postUp = "${pkgs.iproute2}/bin/ip rule add to 193.27.14.66 lookup main";
|
||||||
};
|
#};
|
||||||
|
|
||||||
hardware.opengl = {
|
hardware.opengl = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
12
outputs.nix
12
outputs.nix
|
@ -8,6 +8,7 @@
|
||||||
, nixos-hardware
|
, nixos-hardware
|
||||||
, nvd
|
, nvd
|
||||||
, scripts
|
, scripts
|
||||||
|
, recipemd
|
||||||
, ...
|
, ...
|
||||||
}@inputs:
|
}@inputs:
|
||||||
(flake-utils.lib.eachDefaultSystem (system:
|
(flake-utils.lib.eachDefaultSystem (system:
|
||||||
|
@ -44,22 +45,15 @@
|
||||||
$link/activate
|
$link/activate
|
||||||
'');
|
'');
|
||||||
};
|
};
|
||||||
apps.recipemd = {
|
|
||||||
type = "app";
|
|
||||||
program = "${selfPkgs.recipemd}/bin/recipemd";
|
|
||||||
};
|
|
||||||
devShell = pkgs.callPackage ./shell.nix { };
|
devShell = pkgs.callPackage ./shell.nix { };
|
||||||
packages = flake-utils.lib.flattenTree {
|
|
||||||
recipemd = pkgs.python3Packages.toPythonApplication python3Packages.recipemd;
|
|
||||||
};
|
|
||||||
})) // {
|
})) // {
|
||||||
hmConfigurations = import ./home/configurations.nix {
|
hmConfigurations = import ./home/configurations.nix {
|
||||||
inherit self nixpkgs home-manager nix-doom-emacs nvd scripts;
|
inherit self nixpkgs home-manager recipemd;
|
||||||
};
|
};
|
||||||
hmModules = import ./home/modules inputs;
|
hmModules = import ./home/modules inputs;
|
||||||
nixosConfigurations = import ./nixos/configurations.nix {
|
nixosConfigurations = import ./nixos/configurations.nix {
|
||||||
nixosSystem = nixpkgs.lib.nixosSystem;
|
nixosSystem = nixpkgs.lib.nixosSystem;
|
||||||
inherit self nixpkgs home-manager nixos-hardware nvd scripts homePage;
|
inherit self nixpkgs home-manager nixos-hardware nvd scripts homePage recipemd;
|
||||||
};
|
};
|
||||||
nixosModules = import ./nixos/modules inputs;
|
nixosModules = import ./nixos/modules inputs;
|
||||||
overlays = import ./overlays;
|
overlays = import ./overlays;
|
||||||
|
|
|
@ -2,8 +2,4 @@ let
|
||||||
python3Packages = import ./python3-packages.nix;
|
python3Packages = import ./python3-packages.nix;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
#tubslatex = import ./tubslatex.nix;
|
|
||||||
recipemd = final: prev: {
|
|
||||||
recipemd = prev.python3Packages.toPythonApplication prev.python3Packages.recipemd;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue