mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 01:55:13 -05:00
feat: expanded all lists
This commit is contained in:
parent
bb0b55b011
commit
4d8d534088
20 changed files with 107 additions and 28 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
{
|
||||
"Spankbang" = {
|
||||
definedAliases = ["@sb"];
|
||||
definedAliases = [
|
||||
"@sb"
|
||||
];
|
||||
icon = ./icons/sb.png;
|
||||
urls = [
|
||||
{template = "https://spankbang.com/s/{searchTerms}/";}
|
||||
|
|
|
@ -12,7 +12,9 @@
|
|||
}
|
||||
{
|
||||
auto-format = true;
|
||||
language-servers = ["elm-language-server"];
|
||||
language-servers = [
|
||||
"elm-language-server"
|
||||
];
|
||||
name = "elm";
|
||||
}
|
||||
{
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -1,11 +1,15 @@
|
|||
{
|
||||
keymap.manager.prepend_keymap = [
|
||||
{
|
||||
on = ["Q"];
|
||||
on = [
|
||||
"Q"
|
||||
];
|
||||
run = "quit";
|
||||
}
|
||||
{
|
||||
on = ["q"];
|
||||
on = [
|
||||
"q"
|
||||
];
|
||||
run = "quit --no-cwd-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
|
||||
|
|
|
@ -5,7 +5,9 @@
|
|||
package = pkgs.bluez;
|
||||
powerOnBoot = true;
|
||||
settings = {General = {Experimental = true;};};
|
||||
disabledPlugins = ["sap"];
|
||||
disabledPlugins = [
|
||||
"sap"
|
||||
];
|
||||
};
|
||||
};
|
||||
services.blueman.enable = true;
|
||||
|
|
|
@ -21,7 +21,9 @@ in {
|
|||
sansSerif = [
|
||||
font
|
||||
];
|
||||
emoji = ["Noto Fonts Color Emoji"];
|
||||
emoji = [
|
||||
"Noto Fonts Color Emoji"
|
||||
];
|
||||
};
|
||||
antialias = true;
|
||||
};
|
||||
|
|
|
@ -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="
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -96,7 +96,9 @@ in {
|
|||
options = [
|
||||
"bind"
|
||||
];
|
||||
depends = [server.storage0.mount];
|
||||
depends = [
|
||||
server.storage0.mount
|
||||
];
|
||||
};
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
|
|
|
@ -48,7 +48,9 @@ in {
|
|||
options = [
|
||||
"bind"
|
||||
];
|
||||
depends = [server.storage0.mount];
|
||||
depends = [
|
||||
server.storage0.mount
|
||||
];
|
||||
};
|
||||
in {
|
||||
"/var/lib/${service.name}" =
|
||||
|
|
|
@ -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 = [
|
||||
|
|
|
@ -113,7 +113,9 @@ in {
|
|||
options = [
|
||||
"bind"
|
||||
];
|
||||
depends = [server.storage0.mount];
|
||||
depends = [
|
||||
server.storage0.mount
|
||||
];
|
||||
};
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
|
|
|
@ -55,7 +55,9 @@ in {
|
|||
options = [
|
||||
"bind"
|
||||
];
|
||||
depends = [server.storage0.mount];
|
||||
depends = [
|
||||
server.storage0.mount
|
||||
];
|
||||
};
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -15,7 +15,9 @@
|
|||
imports = [
|
||||
./parts
|
||||
];
|
||||
systems = [system];
|
||||
systems = [
|
||||
system
|
||||
];
|
||||
perSystem = {pkgs, ...}: {
|
||||
_module.args.pkgs = import inputs.nixpkgs {
|
||||
inherit system;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue