Changes from this week

This commit is contained in:
Kat Inskip 2023-08-03 12:13:18 -07:00
parent ba5647287f
commit 1ab58786d8
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
6 changed files with 56 additions and 17 deletions

28
flake.lock generated
View file

@ -32,14 +32,17 @@
]
},
"locked": {
"lastModified": 1689796386,
"narHash": "sha256-1N6sWf7E2EdknkzKdzRi6blonUbawJRiGl4p8gkxnk8=",
"lastModified": 1691089847,
"narHash": "sha256-1/jsJhFX8l5sR8NMoMWqNDVPOlslMqrWwrmXfah3kOM=",
"ref": "refs/heads/main",
"rev": "7b74f10372b63170b1319ec8382a41865a75e072",
"revCount": 170,
"type": "git",
"url": "file:///Users/kat/src/work/metaflow-cli-plugin"
"url": "ssh://git@github.com/Glamorous-ai/metaflow-cli-plugin.git"
},
"original": {
"type": "git",
"url": "file:///Users/kat/src/work/metaflow-cli-plugin"
"url": "ssh://git@github.com/Glamorous-ai/metaflow-cli-plugin.git"
}
},
"artemiscore": {
@ -58,14 +61,17 @@
]
},
"locked": {
"lastModified": 1689789723,
"narHash": "sha256-kJq+dHavgi8FBZzF9Uoezx6Tw9scbjWsyBE+DoT6mxg=",
"lastModified": 1690988988,
"narHash": "sha256-PIv20oUK48yKHSal8jMFQuxu6XwVdE8iO8r8xy8d7A0=",
"ref": "refs/heads/main",
"rev": "e8afcdecfd6e467cc65a9f9f9286be33e8271c9f",
"revCount": 94,
"type": "git",
"url": "file:///Users/kat/src/work/metaflow-core-plugin"
"url": "ssh://git@github.com/Glamorous-ai/metaflow-core-plugin.git"
},
"original": {
"type": "git",
"url": "file:///Users/kat/src/work/metaflow-core-plugin"
"url": "ssh://git@github.com/Glamorous-ai/metaflow-core-plugin.git"
}
},
"darwin": {
@ -197,11 +203,11 @@
"rust": "rust"
},
"locked": {
"lastModified": 1690746910,
"narHash": "sha256-ouCKyuyjs9+oSrOpIBlVi6R5LLAu+kBORdEaCuDQxwM=",
"lastModified": 1690751203,
"narHash": "sha256-RzE328E4rrA3YE8UEj9RhDVzdJxGa10S2VyL33LK6GU=",
"owner": "kittywitch",
"repo": "konawall-rs",
"rev": "17fc3098ffd993e4d1820da72b0866390484161b",
"rev": "385f55853f18c95fff3ea610d3c3c6ea3040f1c4",
"type": "github"
},
"original": {

View file

@ -109,7 +109,7 @@
flake = false;
};
artemiscli = {
url = "/Users/kat/src/work/metaflow-cli-plugin";
url = "git+ssh://git@github.com/Glamorous-ai/metaflow-cli-plugin.git";
inputs = {
flake-utils.follows = "utils";
nixpkgs.follows = "nixpkgs";

View file

@ -1,6 +1,6 @@
{config, ...}: {
system.autoUpgrade = {
enable = true;
flake = "github:kittywitch/kittywitch#${config.networking.hostName}";
flake = "github:kittywitch/infrastructure#${config.networking.hostName}";
};
}

View file

@ -4,7 +4,16 @@
"nginx"
];
};
systemd.services.telegraf = {
serviceConfig = {
AmbientCapabilities = [
"CAP_NET_RAW"
];
CapabilityBoundingSet = [
"CAP_NET_RAW"
];
};
};
services.telegraf = {
enable = true;
extraConfig = {
@ -38,6 +47,16 @@
};
mem = {
};
ping = {
interval = "60s";
method = "native";
urls = [
"8.8.8.8"
"2001:4860:4860:0:0:0:0:8888"
];
count = 3;
timeout = 2.0;
};
system = {
};
};

View file

@ -64,15 +64,21 @@ _: let
];
home-manager.users.kat = {
home.sessionVariables = {
ARTEMISCLI_CONFIG_PATH = "/Users/kat/.artemisconfig";
};
services.konawall = {
enable = true;
interval_macos = 3600;
mode = "shuffle";
commonTags = ["width:>=1600"];
tagList = [
"score:>=50"
#"no_humans"
"rating:s"
[
"score:>=50"
#"no_humans"
"touhou"
"rating:s"
]
];
};
home.file.".orbstack/ssh/authorized_keys".text =
@ -115,6 +121,7 @@ _: let
casks = [
"barrier"
"bitwarden"
"mullvadvpn"
"firefox"
"disk-inventory-x"
"dozer"
@ -125,6 +132,7 @@ _: let
"element"
"slack"
"boop"
"iterm2"
"obsidian"
"contexts"
"rectangle"

View file

@ -42,6 +42,12 @@ _: let
swapDevices = [];
networking = {
nameservers = [
"1.1.1.1"
"1.0.0.1"
"2606:4700:4700::1111"
"2606:4700:4700::1001"
];
hostName = "yukari";
domain = "gensokyo.zone";
interfaces = {