mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-05-13 06:15:15 +00:00
added script for preview base16
This commit is contained in:
parent
1201f12d86
commit
96c4547276
9 changed files with 22 additions and 7 deletions
|
@ -34,6 +34,7 @@ in
|
|||
tinos
|
||||
code-new-roman
|
||||
dejavu-sans-mono
|
||||
(customPkgs "base16-preview" { })
|
||||
];
|
||||
stylix = on // {
|
||||
autoEnable = false;
|
||||
|
|
|
@ -3,11 +3,12 @@
|
|||
imports = x.umport {
|
||||
path = ./.;
|
||||
# include & exclude files/directories
|
||||
include = [ ];
|
||||
include = [
|
||||
./misc/users/default.nix
|
||||
];
|
||||
exclude = [
|
||||
./default.nix
|
||||
./services/transmission/torque.nix
|
||||
./programs/torrserver/package.nix
|
||||
./misc/users
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -33,6 +33,7 @@ in
|
|||
"libvirtd"
|
||||
"terraria"
|
||||
"transmission"
|
||||
"adbusers"
|
||||
];
|
||||
in
|
||||
{
|
||||
|
|
|
@ -23,8 +23,9 @@ in
|
|||
killall
|
||||
];
|
||||
programs = {
|
||||
fuse.userAllowOther = true;
|
||||
adb = on;
|
||||
nano = off;
|
||||
fuse.userAllowOther = true;
|
||||
light = if x.is == "laptop" then on else off;
|
||||
git = on // {
|
||||
package = mkDefault pkgs.gitMinimal;
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
x,
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
|
@ -9,7 +8,7 @@ with lib;
|
|||
with x;
|
||||
let
|
||||
cfg = config.module.programs.torrserver;
|
||||
torr = pkgs.callPackage ./package.nix { };
|
||||
torr = x.customPkgs "torrserver" { };
|
||||
in
|
||||
{
|
||||
options = {
|
||||
|
|
|
@ -21,7 +21,7 @@ in
|
|||
config = mkMerge [
|
||||
(mkIf cfg.tui.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
(callPackage ./torque.nix { })
|
||||
(customPkgs "torque" { })
|
||||
rustmission
|
||||
];
|
||||
})
|
||||
|
|
12
pkgs/base16-preview/default.nix
Normal file
12
pkgs/base16-preview/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
writeScriptBin,
|
||||
fetchurl,
|
||||
...
|
||||
}:
|
||||
|
||||
writeScriptBin "base16-preview" (
|
||||
builtins.readFile (fetchurl {
|
||||
url = "https://raw.githubusercontent.com/uwuwuwde/base16/refs/heads/master/preview-for-nix.py";
|
||||
sha256 = "sha256-NQdCm73E7BS6EXrygIS6TmjwkVIwZwIyBaHuvo6p8B0=";
|
||||
})
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue