feat: meep

This commit is contained in:
Kat Inskip 2025-09-01 08:47:34 -07:00
parent dc9e30075d
commit e9031cbdd3
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
13 changed files with 166 additions and 129 deletions

View file

@ -38,6 +38,6 @@
};
autoEnable = true;
polarity = "light";
base16Scheme = "${pkgs.base16-schemes}/share/themes/rose-pine-dawn.yaml";
base16Scheme = "${pkgs.base16-schemes}/share/themes/monokai.yaml";
};
}

View file

@ -0,0 +1,20 @@
{
config,
pkgs,
lib,
...
}: let
inherit (lib.meta) getExe;
in {
home.packages = let
packages = with pkgs; [
ungoogled-chromium
sidequest
];
aliaser = package:
pkgs.writeShellScriptBin package.name ''
${getExe config.nix.package} run nixpkgs#${package.name} -- "$@"
'';
in
map aliaser packages;
}

View file

@ -2,7 +2,11 @@ _: {
programs.zen-browser.profiles.main.settings = {
"zen.welcome-screen.seen" = true;
"zen.watermark.enabled" = false;
"browser.ml.chat.enabled" = false;
"extensions.ml.enabled" = false;
"browser.ml.linkPreview.enabled" = false;
"browser.tabs.groups.smart.enabled" = false;
"browser.tabs.groups.smart.userEnabled" = false;
# Derived from https://github.com/arcnmx/home/blob/9eb1cd4dd43883e1a0c6a2a55c00d7c3bede1776/cfg/firefox/default.nix#L7
# and https://git.ztn.sh/zotan/snowleopard/src/branch/dev/assets/prefs.js
"services.sync.engine.prefs" = false;

View file

@ -48,6 +48,7 @@
ff2mpv
terms-of-service-didnt-read
web-clipper-obsidian
yomitan
];
force = true;
};

View file

@ -35,7 +35,7 @@ opt.smartcase = true -- Ignore lowercase for the whole
opt.wrap = true -- Wrap on word boundary
opt.linebreak = true -- Wrap on word boundary
opt.showbreak = "" -- Character to use to display word boundary
opt.termguicolors = false -- Enable 24-bit RGB colors
opt.termguicolors = true -- Enable 24-bit RGB colors
opt.laststatus = 3 -- Set global statusline
opt.cursorline = true -- Highlight cursor screenline
opt.cmdheight = 1 -- Command entry line height

View file

@ -7,28 +7,34 @@
gitAndTools.git-remote-gcrypt
git-crypt
git-revise
radicle-tui
];
programs.git = {
inherit (tree.home.user.data) userName userEmail;
package = pkgs.gitAndTools.gitFull;
enable = true;
delta = {
programs = {
jujutsu = {
enable = true;
};
extraConfig = {
init = {defaultBranch = "main";};
protocol.gcrypt.allow = "always";
merge.conflictstyle = "diff3";
annex = {
autocommit = false;
backend = "BLAKE2B512";
synccontent = true;
git = {
inherit (tree.home.user.data) userName userEmail;
package = pkgs.gitAndTools.gitFull;
enable = true;
delta = {
enable = true;
};
extraConfig = {
init = {defaultBranch = "main";};
protocol.gcrypt.allow = "always";
merge.conflictstyle = "diff3";
annex = {
autocommit = false;
backend = "BLAKE2B512";
synccontent = true;
};
};
signing = {
inherit (tree.home.user.data) key;
signByDefault = true;
};
};
signing = {
inherit (tree.home.user.data) key;
signByDefault = true;
};
};
}

View file

@ -6,7 +6,6 @@
pkgs,
...
}: let
inherit (lib.attrsets) nameValuePair listToAttrs;
inherit (lib.modules) mkMerge mkIf;
inherit (std) string list;
in {
@ -89,29 +88,20 @@ in {
else ""
}
'';
shellAliases = let
packages = [
"sidequest"
"ungoogled-chromium"
];
makeAliasForBin = package: nameValuePair package "nix run kat#${package}";
packages' = builtins.listToAttrs (map makeAliasForBin packages);
in
mkMerge [
packages'
{
nixdirfmt = "nixpkgs-fmt $(fd -e nix)";
dmesg = "dmesg -HP";
hg = "history 0 | rg";
}
(mkIf pkgs.hostPlatform.isLinux {
sys = "systemctl";
sysu = "systemctl --user";
logu = "journalctl --user";
log = "journalctl";
lg = "log --no-pager | rg";
})
];
shellAliases = mkMerge [
{
nixdirfmt = "nixpkgs-fmt $(fd -e nix)";
dmesg = "dmesg -HP";
hg = "history 0 | rg";
}
(mkIf pkgs.hostPlatform.isLinux {
sys = "systemctl";
sysu = "systemctl --user";
logu = "journalctl --user";
log = "journalctl";
lg = "log --no-pager | rg";
})
];
localVariables = {
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE = "fg=3,bold";
ZSH_AUTOSUGGEST_USE_ASYNC = 1;