Compare commits

..

1 commit

Author SHA1 Message Date
180b97e5b3 flake.lock: Update
Flake lock file updates:

• Updated input 'comin':
    'github:nlewo/comin/84ef9af404b9157eab2c5e3e44d7c29239329901' (2024-08-20)
  → 'github:nlewo/comin/9afca855518f79b5bff3d2a9663b2e6f81dd361a' (2024-11-13)
• Updated input 'ghostty':
    'git+ssh://git@github.com/ghostty-org/ghostty?ref=refs/heads/main&rev=523e3a6ae3e62463b309c1b3222bafd7b1fb11ef' (2024-11-13)
  → 'git+ssh://git@github.com/ghostty-org/ghostty?ref=refs/heads/main&rev=4853597cd9829e622be2c3628dc748407c27c423' (2024-11-14)
• Updated input 'hyprland':
    'git+https://github.com/hyprwm/Hyprland/?ref=refs/heads/main&rev=3fb47372b79265ebdabeeefdad10359d5b18377a' (2024-11-13)
  → 'git+https://github.com/hyprwm/Hyprland/?ref=refs/heads/main&rev=098e491a43e8b26f4382b48651a4131464bf6a2f' (2024-11-15)
• Updated input 'hyprman':
    'git+https://git.dayl.in/daylin/hyprman.git?ref=refs/heads/main&rev=884cb9c68c3d28542e581be762b13dcc380a8135' (2024-11-11)
  → 'git+https://git.dayl.in/daylin/hyprman.git?ref=refs/heads/main&rev=888c8e4c9395e7abfcbfc044d575ff6cf955672a' (2024-11-15)
• Updated input 'hyprman/nim2nix':
    'github:daylinmorgan/nim2nix/42af12ca45025c7146bc24e27f5d8b65b003d663' (2024-09-04)
  → 'github:daylinmorgan/nim2nix/a9f1182dbe51675b9666d6a79bebded7d9839ad7' (2024-11-15)
• Updated input 'lix':
    '8a9094303b.tar.gz?narHash=sha256-GoddkPg0/UDv06KcQJiOYP/2IzruYorbI03QRCjN3K8%3D&rev=8a9094303bc7873c979e54ea20b9f50464ee3965' (2024-11-11)
  → '43777939eb.tar.gz?narHash=sha256-1LGkwq9g/BfM0JuZmWPYwBX5RiqIpW/BxXcsLwkVcGg%3D&rev=43777939eb2253596ff822771929a8820916fb29' (2024-11-12)
• Updated input 'nix-index-database':
    'github:nix-community/nix-index-database/896019f04b22ce5db4c0ee4f89978694f44345c3' (2024-11-10)
  → 'github:nix-community/nix-index-database/40d882b55e89add1ded379cc99edaab24983d6d9' (2024-11-14)
• Updated input 'nixos-wsl':
    'github:nix-community/NixOS-WSL/adb6bc4b661a43328752b4575be4968a4990c033' (2024-11-01)
  → 'github:nix-community/NixOS-WSL/a6b9cf0b7805e2c50829020a73e7bde683fd36dd' (2024-11-15)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/76612b17c0ce71689921ca12d9ffdc9c23ce40b2' (2024-11-09)
  → 'github:nixos/nixpkgs/dc460ec76cbff0e66e269457d7b728432263166c' (2024-11-11)
• Updated input 'nixpkgs-wayland':
    'github:nix-community/nixpkgs-wayland/c2fa066bb9952469a5e01a08293f78d114c02f09' (2024-11-13)
  → 'github:nix-community/nixpkgs-wayland/3a7690c5fe0ecfceeddbf09f8642dca424d29793' (2024-11-15)
• Updated input 'nixpkgs-wayland/lib-aggregate':
    'github:nix-community/lib-aggregate/807ab623e6d01e931269a28a07c59dcfd6474173' (2024-11-10)
  → 'github:nix-community/lib-aggregate/902e1bb3c2ae0f051ff98e4e3eac247f7e6ca392' (2024-11-14)
• Updated input 'nixpkgs-wayland/lib-aggregate/flake-utils':
    'github:numtide/flake-utils/c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a' (2024-09-17)
  → 'github:numtide/flake-utils/11707dc2f618dd54ca8739b309ec4fc024de578b' (2024-11-13)
• Updated input 'nixpkgs-wayland/nix-eval-jobs':
    'github:nix-community/nix-eval-jobs/96902c4573cd03ea7e533634cb49861148f49a7a' (2024-11-10)
  → 'github:nix-community/nix-eval-jobs/f2ccb7e2d80601fb43807c36f14703f2342420f3' (2024-11-14)
• Updated input 'nixpkgs-wayland/nixpkgs':
    'github:nixos/nixpkgs/76612b17c0ce71689921ca12d9ffdc9c23ce40b2' (2024-11-09)
  → 'github:nixos/nixpkgs/dc460ec76cbff0e66e269457d7b728432263166c' (2024-11-11)
• Updated input 'stable':
    'github:nixos/nixpkgs/9256f7c71a195ebe7a218043d9f93390d49e6884' (2024-11-10)
  → 'github:nixos/nixpkgs/689fed12a013f56d4c4d3f612489634267d86529' (2024-11-12)
2024-11-15 15:34:39 +00:00
6 changed files with 22 additions and 181 deletions

View file

@ -240,11 +240,11 @@
"zig": "zig" "zig": "zig"
}, },
"locked": { "locked": {
"lastModified": 1731706414, "lastModified": 1731606318,
"narHash": "sha256-9Er1h1w6lXg6hQJnfLVacs6e+naamMyRPKijdBt8gFA=", "narHash": "sha256-JXgJTl6qK8b7+g9ORH94fZ0sLCwebn8tkpxy1ZG0agA=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "7dbcde72863a09405bf456fcfc41f878330a64f9", "rev": "4853597cd9829e622be2c3628dc748407c27c423",
"revCount": 7987, "revCount": 7968,
"type": "git", "type": "git",
"url": "ssh://git@github.com/ghostty-org/ghostty" "url": "ssh://git@github.com/ghostty-org/ghostty"
}, },
@ -615,11 +615,11 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1731682758, "lastModified": 1731565875,
"narHash": "sha256-o54e8oNPPNmU7zHm3uTvsbbQLi7EKX3S6EEndXFG594=", "narHash": "sha256-jN6HcMNVgWPE++8vNQIyerugFDRWG1ffFCORK/vpCUs=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nix-eval-jobs", "repo": "nix-eval-jobs",
"rev": "d926bcd5206c0b7afe47bed92557c8cd5e882b36", "rev": "f2ccb7e2d80601fb43807c36f14703f2342420f3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -745,11 +745,11 @@
"nixpkgs": "nixpkgs_6" "nixpkgs": "nixpkgs_6"
}, },
"locked": { "locked": {
"lastModified": 1731684610, "lastModified": 1731645556,
"narHash": "sha256-rfb93JFID/fYO7h0Yhsot6TjbUgtEJMl6Qk212cVdOY=", "narHash": "sha256-i27WZwS0f18v+5vODBDrnO5GVlzszseDBXcLQiYr5Yo=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixpkgs-wayland", "repo": "nixpkgs-wayland",
"rev": "a3fc86160dba0a9160716cf6f1d4ff4da7a53085", "rev": "3a7690c5fe0ecfceeddbf09f8642dca424d29793",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -1,71 +0,0 @@
elizabeth-and-daylin.com {
reverse_proxy http://localhost:4321
}
elizabeth.dayl.in, www.elizabeth-and-daylin.com {
redir https://elizabeth-and-daylin.com{uri} permanent
}
git.dayl.in {
reverse_proxy http://localhost:3000
}
gts.dayl.in {
# Optional, but recommended, compress the traffic using proper protocols
encode zstd gzip
# TODO: change port?
# The actual proxy configuration to port 8080 (unless you've chosen another port number)
reverse_proxy * http://localhost:3758 {
# Flush immediatly, to prevent buffered response to the client
flush_interval -1
}
}
# not currently a running service on algiz
# (caddy-common) {
# encode gzip
# header {
# -Server
# Strict-Transport-Security "max-age=31536000; include-subdomains;"
# X-XSS-Protection "1; mode=block"
# X-Frame-Options "DENY"
# X-Content-Type-Options nosniff
# # Referrer-Policy no-referrer-when-downgrade
# X-Robots-Tag "none"
# }
# }
#
# lemmy.dayl.in {
# import caddy-common
# reverse_proxy http://lemmy-ui:1234
#
# @lemmy {
# path /api/*
# path /pictrs/*
# path /feeds/*
# path /nodeinfo/*
# path /.well-known/*
# }
#
# @lemmy-hdr {
# header Accept application/*
# }
#
# handle @lemmy {
# reverse_proxy http://lemmy:8536
# }
#
# handle @lemmy-hdr {
# reverse_proxy http://lemmy:8536
# }
#
# @lemmy-post {
# method POST
# }
#
# handle @lemmy-post {
# reverse_proxy http://lemmy:8536
# }
# }

View file

@ -1,68 +0,0 @@
<!doctype html>
<html>
<head>
<title>Attic Binary Cache</title>
<style>
.cursor {
display: inline-block;
background-color: black;
animation-name: cursor;
animation-duration: 0.8s;
animation-iteration-count: infinite;
}
@keyframes cursor {
0% {
background-color: #ffffff;
}
20% {
background-color: #555;
}
50% {
background-color: #555;
}
60% {
background-color: #ffffff;
}
100% {
background-color: #ffffff;
}
}
/* https://stackoverflow.com/a/13356401 */
body {
background-color: #1e1e2e;
}
pre {
color: #f5e0dc;
}
#box {
width: 100px;
height: 100px;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
}
</style>
</head>
<body>
<div id="box">
<pre>
┏━━━━━━━━━━━━━━━━┑
┃┏━━━ @ ━━━ @ ━━┓┃
┃┃ ┃┃
┃┃$ attic push <div class="cursor"> </div>┃┃
┃┃ ┃┃
┃┗━━━ ╰─────╯ ━━┛┃
┗━━━━━━━━━━━━━━━━┛
╲ ############### ╲
╲ ############### ╲
╲ ############### ╲
━━━━━━━━━━━━━━━━━━
</pre>
</div>
</body>
</html>

View file

@ -4,6 +4,5 @@
(writeShellScriptBin "gitea" '' (writeShellScriptBin "gitea" ''
ssh -p 2222 -o StrictHostKeyChecking=no git@127.0.0.1 "SSH_ORIGINAL_COMMAND=\"$SSH_ORIGINAL_COMMAND\" $0 $@" ssh -p 2222 -o StrictHostKeyChecking=no git@127.0.0.1 "SSH_ORIGINAL_COMMAND=\"$SSH_ORIGINAL_COMMAND\" $0 $@"
'') '')
jujutsu
]; ];
} }

View file

@ -1,10 +1,6 @@
{ pkgs, enabled, ... }: { pkgs, enabled, ... }:
let let
atticPort = "5656"; atticPort = "5656";
static = pkgs.runCommandLocal "static-files" { } ''
mkdir $out
cp ${./caddy/index.html} $out/index.html
'';
in in
{ {
@ -19,22 +15,12 @@ in
settings.PasswordAuthentication = false; settings.PasswordAuthentication = false;
}; };
services.comin = enabled // {
remotes = [
{
name = "origin";
url = "https://github.com/daylinmorgan/oizys.git";
branches.main.name = "main";
}
];
};
security.polkit = enabled; # attic was looking for this... security.polkit = enabled; # attic was looking for this...
environment.systemPackages = [ pkgs.attic-client ]; environment.systemPackages = [ pkgs.attic-client ];
# allow docker to forward the request to the host running attic # allow docker to forward the request to the host running attic
# https://discourse.nixos.org/t/docker-container-not-resolving-to-host/30259/6 # https://discourse.nixos.org/t/docker-container-not-resolving-to-host/30259/6
# networking.firewall.extraCommands = "iptables -A INPUT -p tcp --destination-port ${atticPort} -s 172.16.0.0/12 -j ACCEPT"; networking.firewall.extraCommands = "iptables -A INPUT -p tcp --destination-port ${atticPort} -s 172.16.0.0/12 -j ACCEPT";
services.atticd = enabled // { services.atticd = enabled // {
# Replace with absolute path to your credentials file # Replace with absolute path to your credentials file
@ -70,19 +56,13 @@ in
}; };
}; };
services.caddy = enabled // { services.comin = enabled // {
extraConfig = builtins.readFile ./caddy/Caddyfile; remotes = [
virtualHosts."attic.dayl.in".extraConfig = '' {
redir /oizys / name = "origin";
url = "https://github.com/daylinmorgan/oizys.git";
handle / { branches.main.name = "main";
root * ${static}
file_server
} }
];
handle /* {
reverse_proxy http://localhost:5656
}
'';
}; };
} }

View file

@ -3,13 +3,14 @@
## oizys ## oizys
- [ ] write a flake template that includes the systems boilerplate - [ ] write a flake template that includes the systems boilerplate
- [ ] get the running action url after `oizys ci {workflow}.yml` - [ ] include all of the defined overlays from `./overlays` in the `forAllSystems` nixpkgs
## software ## software
- [ ] include langservers for enabled languages? - [ ] include langservers for enabled languages?
<!--[tracking issue](https://github.com/wez/wezterm/issues/5990)--> - [ ] wezterm is broken...something to do with fonts?
- [ ] ~wezterm is broken...something to do with fonts?~ using ghostty I tried used the nix flake and that didn't help
[tracking issue](https://github.com/wez/wezterm/issues/5990)
### Window Manager ### Window Manager