1
0
Fork 0
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:
nixzoid 2025-02-05 10:23:16 +09:00
parent 1201f12d86
commit 96c4547276
9 changed files with 22 additions and 7 deletions
modules
home/themes/stylix
nixos
default.nix
misc/users
programs
common
torrserver
services/transmission
pkgs
base16-preview
torque
torrserver

View file

@ -34,6 +34,7 @@ in
tinos
code-new-roman
dejavu-sans-mono
(customPkgs "base16-preview" { })
];
stylix = on // {
autoEnable = false;

View file

@ -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
];
};
}

View file

@ -33,6 +33,7 @@ in
"libvirtd"
"terraria"
"transmission"
"adbusers"
];
in
{

View file

@ -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;

View file

@ -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 = {

View file

@ -21,7 +21,7 @@ in
config = mkMerge [
(mkIf cfg.tui.enable {
environment.systemPackages = with pkgs; [
(callPackage ./torque.nix { })
(customPkgs "torque" { })
rustmission
];
})

View 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=";
})
)