feat: expanded all lists

This commit is contained in:
Nick 2025-01-08 19:11:58 -06:00
parent bb0b55b011
commit 4d8d534088
20 changed files with 107 additions and 28 deletions

View file

@ -17,8 +17,19 @@ let
);
modules =
moduleImport modulesPath (name: builtins.replaceStrings [".nix"] [""] name)
// moduleImport miscPath (name: "misc-${builtins.replaceStrings [".nix"] [""] name}")
moduleImport modulesPath (name:
builtins.replaceStrings [
".nix"
] [
""
]
name)
// moduleImport miscPath (name: "misc-${builtins.replaceStrings [
".nix"
] [
""
]
name}")
// (path:
builtins.listToAttrs (
map

View file

@ -167,7 +167,9 @@ in {
name = "${instances.syncthing.label} (${instances.synology.label})";
url = "http://${synology.ip.address0}:${toString instances.syncthing.ports.port0}";
tags =
["synology"]
[
"synology"
]
++ syncthingTags;
keyword = instances.syncthing.label;
}
@ -175,7 +177,9 @@ in {
name = "${instances.syncthing.label} (Desktop)";
url = "http://localhost:${toString instances.syncthing.ports.port0}";
tags =
["desktop"]
[
"desktop"
]
++ syncthingTags;
keyword = instances.syncthing.label;
}

View file

@ -1,6 +1,17 @@
let
discordTags = ["disboard" "discord" "dis" "ds" "social"];
youtubeTags = ["youtube" "you" "tube" "yt"];
discordTags = [
"disboard"
"discord"
"dis"
"ds"
"social"
];
youtubeTags = [
"youtube"
"you"
"tube"
"yt"
];
in {
name = "Social Media";
toolbar = false;

View file

@ -1,6 +1,8 @@
{
"Spankbang" = {
definedAliases = ["@sb"];
definedAliases = [
"@sb"
];
icon = ./icons/sb.png;
urls = [
{template = "https://spankbang.com/s/{searchTerms}/";}

View file

@ -12,7 +12,9 @@
}
{
auto-format = true;
language-servers = ["elm-language-server"];
language-servers = [
"elm-language-server"
];
name = "elm";
}
{

View file

@ -32,7 +32,12 @@
in {
add_newline = false;
character = let
makeChar = bg: c: surround (makeColor bg) ("[" + c + "](" + makeStyle (makeColor bg) (makeColor colors.crust) + ")");
makeChar = bg: c:
surround (makeColor bg) ("["
+ c
+ "]("
+ makeStyle (makeColor bg) (makeColor colors.crust)
+ ")");
in {
error_symbol = makeChar colors.maroon "";
format = "$symbol";

View file

@ -1,11 +1,15 @@
{
keymap.manager.prepend_keymap = [
{
on = ["Q"];
on = [
"Q"
];
run = "quit";
}
{
on = ["q"];
on = [
"q"
];
run = "quit --no-cwd-file";
}
];

View file

@ -14,7 +14,13 @@ let
)
);
modules =
moduleImport modulesPath (name: builtins.replaceStrings [".nix"] [""] name)
moduleImport modulesPath (name:
builtins.replaceStrings [
".nix"
] [
""
]
name)
// (path:
builtins.listToAttrs (
map

View file

@ -5,7 +5,9 @@
package = pkgs.bluez;
powerOnBoot = true;
settings = {General = {Experimental = true;};};
disabledPlugins = ["sap"];
disabledPlugins = [
"sap"
];
};
};
services.blueman.enable = true;

View file

@ -21,7 +21,9 @@ in {
sansSerif = [
font
];
emoji = ["Noto Fonts Color Emoji"];
emoji = [
"Noto Fonts Color Emoji"
];
};
antialias = true;
};

View file

@ -23,7 +23,9 @@
substituters = [
"https://hyprland.cachix.org"
];
trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="];
trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
];
};
};
}

View file

@ -96,7 +96,9 @@ in {
options = [
"bind"
];
depends = [server.storage0.mount];
depends = [
server.storage0.mount
];
};
systemd.tmpfiles.rules = [

View file

@ -48,7 +48,9 @@ in {
options = [
"bind"
];
depends = [server.storage0.mount];
depends = [
server.storage0.mount
];
};
in {
"/var/lib/${service.name}" =

View file

@ -160,7 +160,10 @@ in {
};
};
systemd.services.caddy.serviceConfig.ReadWriteDirectories = lib.mkForce ["/var/lib/caddy" "/run/mastodon-web"];
systemd.services.caddy.serviceConfig.ReadWriteDirectories = lib.mkForce [
"/var/lib/caddy"
"/run/mastodon-web"
];
sops = let
sopsPath = secret: {
@ -189,7 +192,9 @@ in {
options = [
"bind"
];
depends = [server.storage0.mount];
depends = [
server.storage0.mount
];
};
systemd.tmpfiles.rules = [

View file

@ -113,7 +113,9 @@ in {
options = [
"bind"
];
depends = [server.storage0.mount];
depends = [
server.storage0.mount
];
};
systemd.tmpfiles.rules = [

View file

@ -55,7 +55,9 @@ in {
options = [
"bind"
];
depends = [server.storage0.mount];
depends = [
server.storage0.mount
];
};
systemd.tmpfiles.rules = [

View file

@ -120,7 +120,9 @@ in {
options = [
"bind"
];
depends = [server.storage0.mount];
depends = [
server.storage0.mount
];
};
systemd.tmpfiles.rules = [
@ -128,7 +130,10 @@ in {
"Z ${service.sops.path0} 755 ${service.name} ${service.name} -"
];
users.users.${service.name}.extraGroups = ["nginx" "caddy"];
users.users.${service.name}.extraGroups = [
"nginx"
"caddy"
];
networking = {
firewall = {

View file

@ -45,7 +45,9 @@ in {
fsType = "cifs";
options =
synology.${synologyDrive}.options
++ ["credentials=${synologySecrets}"];
++ [
"credentials=${synologySecrets}"
];
};
};
@ -65,7 +67,9 @@ in {
fsType = "cifs";
options =
server.${sambaDrive}.options
++ ["credentials=${serverSecrets}"];
++ [
"credentials=${serverSecrets}"
];
};
};
in

View file

@ -40,7 +40,9 @@ in {
fsType = "cifs";
options =
synology.${synologyDrive}.options
++ ["credentials=${synologySecrets}"];
++ [
"credentials=${synologySecrets}"
];
};
};
@ -51,7 +53,9 @@ in {
fsType = "cifs";
options =
server.${sambaDrive}.options
++ ["credentials=${serverSecrets}"];
++ [
"credentials=${serverSecrets}"
];
};
};
in

View file

@ -15,7 +15,9 @@
imports = [
./parts
];
systems = [system];
systems = [
system
];
perSystem = {pkgs, ...}: {
_module.args.pkgs = import inputs.nixpkgs {
inherit system;