chore: fix some minor formattng issues and linter warnings
This commit is contained in:
parent
92d7a96e2f
commit
09cb1886dc
13 changed files with 497 additions and 489 deletions
|
|
@ -6,7 +6,7 @@ keys:
|
|||
|
||||
creation_rules:
|
||||
- path_regex: 'users/[^/]+/about\.json$'
|
||||
encrypted_regex: '^realName$'
|
||||
encrypted_regex: "^realName$"
|
||||
age:
|
||||
- *eval
|
||||
- path_regex: 'users/[^/]+/face\.png$'
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
Many nix projects have their own devshell,
|
||||
but they don't install most necessary tools.
|
||||
*/
|
||||
pkgs: rec {
|
||||
pkgs: {
|
||||
/**
|
||||
nix language server
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@
|
|||
|
||||
outputs =
|
||||
{
|
||||
self,
|
||||
nixpkgs,
|
||||
utils,
|
||||
}:
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ stdenvNoCC.mkDerivation {
|
|||
--file "${file}" > "src/${mdPath}"
|
||||
'';
|
||||
summaryLine = "${indent}- [${title}](${mdPath})";
|
||||
sortKey = builtins.toString order + mdPath;
|
||||
sortKey = toString order + mdPath;
|
||||
}
|
||||
) nixFiles
|
||||
);
|
||||
|
|
|
|||
28
docs/theme/catppuccin.css
vendored
28
docs/theme/catppuccin.css
vendored
|
|
@ -735,8 +735,11 @@
|
|||
--search-mark-bg: #fe640b;
|
||||
--warning-border: #fe640b;
|
||||
--color-scheme: light;
|
||||
--copy-button-filter: brightness(0) saturate(100%) invert(47%) sepia(6%) saturate(1263%) hue-rotate(195deg) brightness(90%) contrast(81%);
|
||||
--copy-button-filter-hover: brightness(0) saturate(100%) invert(30%) sepia(80%) saturate(1850%) hue-rotate(209deg) brightness(94%) contrast(105%);
|
||||
--copy-button-filter: brightness(0) saturate(100%) invert(47%) sepia(6%)
|
||||
saturate(1263%) hue-rotate(195deg) brightness(90%) contrast(81%);
|
||||
--copy-button-filter-hover: brightness(0) saturate(100%) invert(30%)
|
||||
sepia(80%) saturate(1850%) hue-rotate(209deg) brightness(94%)
|
||||
contrast(105%);
|
||||
--blockquote-note-color: #1e66f5;
|
||||
--blockquote-tip-color: #40a02b;
|
||||
--blockquote-important-color: #8839ef;
|
||||
|
|
@ -776,8 +779,11 @@
|
|||
--search-mark-bg: #ef9f76;
|
||||
--warning-border: #ef9f76;
|
||||
--color-scheme: dark;
|
||||
--copy-button-filter: brightness(0) saturate(100%) invert(82%) sepia(6%) saturate(1287%) hue-rotate(192deg) brightness(86%) contrast(85%);
|
||||
--copy-button-filter-hover: brightness(0) saturate(100%) invert(68%) sepia(16%) saturate(1070%) hue-rotate(185deg) brightness(96%) contrast(95%);
|
||||
--copy-button-filter: brightness(0) saturate(100%) invert(82%) sepia(6%)
|
||||
saturate(1287%) hue-rotate(192deg) brightness(86%) contrast(85%);
|
||||
--copy-button-filter-hover: brightness(0) saturate(100%) invert(68%)
|
||||
sepia(16%) saturate(1070%) hue-rotate(185deg) brightness(96%)
|
||||
contrast(95%);
|
||||
--blockquote-note-color: #8caaee;
|
||||
--blockquote-tip-color: #a6d189;
|
||||
--blockquote-important-color: #ca9ee6;
|
||||
|
|
@ -817,8 +823,11 @@
|
|||
--search-mark-bg: #f5a97f;
|
||||
--warning-border: #f5a97f;
|
||||
--color-scheme: dark;
|
||||
--copy-button-filter: brightness(0) saturate(100%) invert(75%) sepia(18%) saturate(361%) hue-rotate(190deg) brightness(91%) contrast(86%);
|
||||
--copy-button-filter-hover: brightness(0) saturate(100%) invert(67%) sepia(17%) saturate(1007%) hue-rotate(183deg) brightness(99%) contrast(94%);
|
||||
--copy-button-filter: brightness(0) saturate(100%) invert(75%) sepia(18%)
|
||||
saturate(361%) hue-rotate(190deg) brightness(91%) contrast(86%);
|
||||
--copy-button-filter-hover: brightness(0) saturate(100%) invert(67%)
|
||||
sepia(17%) saturate(1007%) hue-rotate(183deg) brightness(99%)
|
||||
contrast(94%);
|
||||
--blockquote-note-color: #8aadf4;
|
||||
--blockquote-tip-color: #a6da95;
|
||||
--blockquote-important-color: #c6a0f6;
|
||||
|
|
@ -858,8 +867,11 @@
|
|||
--search-mark-bg: #fab387;
|
||||
--warning-border: #fab387;
|
||||
--color-scheme: dark;
|
||||
--copy-button-filter: brightness(0) saturate(100%) invert(84%) sepia(9%) saturate(767%) hue-rotate(192deg) brightness(84%) contrast(84%);
|
||||
--copy-button-filter-hover: brightness(0) saturate(100%) invert(68%) sepia(18%) saturate(951%) hue-rotate(180deg) brightness(98%) contrast(100%);
|
||||
--copy-button-filter: brightness(0) saturate(100%) invert(84%) sepia(9%)
|
||||
saturate(767%) hue-rotate(192deg) brightness(84%) contrast(84%);
|
||||
--copy-button-filter-hover: brightness(0) saturate(100%) invert(68%)
|
||||
sepia(18%) saturate(951%) hue-rotate(180deg) brightness(98%)
|
||||
contrast(100%);
|
||||
--blockquote-note-color: #89b4fa;
|
||||
--blockquote-tip-color: #a6e3a1;
|
||||
--blockquote-important-color: #cba6f7;
|
||||
|
|
|
|||
|
|
@ -1,8 +1,5 @@
|
|||
{
|
||||
"extraGroups": [
|
||||
"wheel",
|
||||
"networkmanager"
|
||||
],
|
||||
"extraGroups": ["wheel", "networkmanager"],
|
||||
"shell": "nushell",
|
||||
"realName": "ENC[AES256_GCM,data:KBIRbQWsz6n1nAZ2rtGfCdSoQiTrRchpqA==,iv:mD0Rx4GHSJcQhPCa4fxZgYgqYkwzaRQVe50I+bgML04=,tag:ZcrOoRAVOoUKPktL5Dpi/g==,type:str]",
|
||||
"session": "co:niri",
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@
|
|||
|
||||
# Configurure home-manager
|
||||
home-manager = {
|
||||
backupFileExtension = "backup-${builtins.toString inputs.self.lastModified}";
|
||||
backupFileExtension = "backup-${toString inputs.self.lastModified}";
|
||||
|
||||
users = lib.mkMerge (
|
||||
map (user: {
|
||||
|
|
@ -100,7 +100,7 @@
|
|||
"/run/tmpfiles/var/lib/AccountsService/users/${user}".f = {
|
||||
argument = "${lib.generators.toINI { } {
|
||||
User = {
|
||||
Session = builtins.toString (
|
||||
Session = toString (
|
||||
builtins.tail (
|
||||
lib.splitString ":" (builtins.fromJSON (builtins.readFile ./${user}/about.json)).session
|
||||
)
|
||||
|
|
@ -128,7 +128,7 @@
|
|||
__session = lib.splitString ":" (builtins.fromJSON (builtins.readFile ./${user}/about.json))
|
||||
.session;
|
||||
sessionType = (builtins.head __session);
|
||||
session = builtins.toString (builtins.tail __session);
|
||||
session = toString (builtins.tail __session);
|
||||
in
|
||||
assert sessionType == "co" || sessionType == "de";
|
||||
if sessionType == "co" then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue