Compare commits

...

7 commits

Author SHA1 Message Date
Ari Gato
3eed0bb1e5 m/common: chore: fmt
Some checks reported warnings
CI / aarch64-linux (push) Has been cancelled
CI / x86_64-linux (push) Has been cancelled
2024-06-11 14:01:07 +02:00
Ari Gato
7ce03f10cc pkgs/glitch-soc: updates 2024-06-11 14:00:45 +02:00
Ari Gato
80edd86bb7 m/common: option renames 2024-06-11 13:51:44 +02:00
Ari Gato
f2e3044fdc m/graphical: don't really use tiling WMs anymore 2024-06-11 13:41:36 +02:00
Ari Gato
07ee23f95a chore: flake lock updates 2024-06-11 13:40:54 +02:00
Ari Gato
ac2820989a n/zorigami: WIP akkoma frontend hack 2024-06-11 13:32:32 +02:00
Ari Gato
d473ec3cd6 n/stereolith: some old unsorted pics 2024-06-11 13:30:01 +02:00
8 changed files with 1677 additions and 1357 deletions

View file

@ -85,11 +85,11 @@
]
},
"locked": {
"lastModified": 1711299236,
"narHash": "sha256-6/JsyozOMKN8LUGqWMopKTSiK8N79T8Q+hcxu2KkTXg=",
"lastModified": 1717535930,
"narHash": "sha256-1hZ/txnbd/RmiBPNUs7i8UQw2N89uAK3UzrGAWdnFfU=",
"owner": "ipetkov",
"repo": "crane",
"rev": "880573f80d09e18a11713f402b9e6172a085449f",
"rev": "55e7754ec31dac78980c8be45f8a28e80e370946",
"type": "github"
},
"original": {
@ -105,11 +105,11 @@
"utils": "utils"
},
"locked": {
"lastModified": 1715699772,
"narHash": "sha256-sKhqIgucN5sI/7UQgBwsonzR4fONjfMr9OcHK/vPits=",
"lastModified": 1718020088,
"narHash": "sha256-zi/5nEeOiDEKWvXYlW4nYQIVQeLihytUn/c0dbIy5ek=",
"owner": "serokell",
"repo": "deploy-rs",
"rev": "b3ea6f333f9057b77efd9091119ba67089399ced",
"rev": "9c3147639c233f80d333fe81f463b0a87fc49764",
"type": "github"
},
"original": {
@ -190,11 +190,11 @@
]
},
"locked": {
"lastModified": 1709336216,
"narHash": "sha256-Dt/wOWeW6Sqm11Yh+2+t0dfEWxoMxGBvv3JpIocFl9E=",
"lastModified": 1717285511,
"narHash": "sha256-iKzJcpdXih14qYVcZ9QC9XuZYnPc6T8YImb6dX166kw=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "f7b3c975cf067e56e7cda6cb098ebe3fb4d74ca2",
"rev": "2a55567fcf15b1b1c7ed712a2c6fadaec7412ea8",
"type": "github"
},
"original": {
@ -337,11 +337,11 @@
]
},
"locked": {
"lastModified": 1717525419,
"narHash": "sha256-5z2422pzWnPXHgq2ms8lcCfttM0dz+hg+x1pCcNkAws=",
"lastModified": 1717931644,
"narHash": "sha256-Sz8Wh9cAiD5FhL8UWvZxBfnvxETSCVZlqWSYWaCPyu0=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "a7117efb3725e6197dd95424136f79147aa35e5b",
"rev": "3d65009effd77cb0d6e7520b68b039836a7606cf",
"type": "github"
},
"original": {
@ -352,11 +352,11 @@
},
"impermanence": {
"locked": {
"lastModified": 1708968331,
"narHash": "sha256-VUXLaPusCBvwM3zhGbRIJVeYluh2uWuqtj4WirQ1L9Y=",
"lastModified": 1717932370,
"narHash": "sha256-7C5lCpiWiyPoIACOcu2mukn/1JRtz6HC/1aEMhUdcw0=",
"owner": "nix-community",
"repo": "impermanence",
"rev": "a33ef102a02ce77d3e39c25197664b7a636f9c30",
"rev": "27979f1c3a0d3b9617a3563e2839114ba7d48d3f",
"type": "github"
},
"original": {
@ -373,11 +373,11 @@
]
},
"locked": {
"lastModified": 1717666308,
"narHash": "sha256-VYubNFkgsGqGo2KByjXam0dbpPHzLVtPS3ZxgAU1CDQ=",
"lastModified": 1718081048,
"narHash": "sha256-dwKvamucNK8gB6RTTfnBeBbBgjARQgHQph8PdHZoL3s=",
"owner": "Jovian-Experiments",
"repo": "Jovian-NixOS",
"rev": "1d98d22fea0b504a266b199c6e1f364b85e08917",
"rev": "f27db3a9a8c21a65c1ef50cacca3ef2bfff04cb9",
"type": "github"
},
"original": {
@ -399,11 +399,11 @@
"rust-overlay": "rust-overlay"
},
"locked": {
"lastModified": 1716805126,
"narHash": "sha256-yqJWx74e16Gk4pwW5DWfI4orTKeWezKFNbW7eaojpLw=",
"lastModified": 1717943411,
"narHash": "sha256-43QN3+P7UjAz5ZjjUeYGKAyRfv6BLw7jjdc8Ric/6UQ=",
"owner": "nix-community",
"repo": "lanzaboote",
"rev": "2eb19b872bc0a5f336b9b934ba96ea029e4da8c2",
"rev": "56ed078dc92baf72813d55dcfe399715a632bc41",
"type": "github"
},
"original": {
@ -544,11 +544,11 @@
]
},
"locked": {
"lastModified": 1717297675,
"narHash": "sha256-43UmlS1Ifx17y93/Vc258U7bOlAAIZbu8dsGDHOIIr0=",
"lastModified": 1718011381,
"narHash": "sha256-sFXI+ZANp/OC+MwfJoZgPSf4xMdtzQMe1pS3FGti4C8=",
"owner": "Mic92",
"repo": "nix-index-database",
"rev": "972a52bee3991ae1f1899e6452e0d7c01ee566d9",
"rev": "88ad3d7501e22b2401dd72734b032b7baa794434",
"type": "github"
},
"original": {
@ -559,11 +559,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1717574423,
"narHash": "sha256-cz3P5MZffAHwL2IQaNzsqUBsJS+u0J/AAwArHMAcCa0=",
"lastModified": 1717995329,
"narHash": "sha256-lQJXEFHHVsFdFLx0bvoRbZH3IXUBsle6EWj9JroTJ/s=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "d6c6cf6f5fead4057d8fb2d5f30aa8ac1727f177",
"rev": "58b52b0dd191af70f538c707c66c682331cfdffc",
"type": "github"
},
"original": {
@ -589,6 +589,21 @@
"type": "github"
}
},
"nixpkgs-24_05": {
"locked": {
"lastModified": 1717144377,
"narHash": "sha256-F/TKWETwB5RaR8owkPPi+SPJh83AQsm6KrQAlJ8v/uA=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "805a384895c696f802a9bf5bf4720f37385df547",
"type": "github"
},
"original": {
"id": "nixpkgs",
"ref": "nixos-24.05",
"type": "indirect"
}
},
"nixpkgs-lib": {
"locked": {
"lastModified": 1697935651,
@ -654,11 +669,11 @@
},
"nixpkgs_4": {
"locked": {
"lastModified": 1717419628,
"narHash": "sha256-kGkPO9VP9ICJvEu65Yoqy0kLvQ//G+UAXk13gC4P3sg=",
"lastModified": 1718105627,
"narHash": "sha256-xbuMFMCsfTvr7ovfOT5+HeHV87QVFa+i1R9EvtXv1os=",
"owner": "arachnist",
"repo": "nixpkgs",
"rev": "cb74beaf28422da8b15e0b9963c83f674bc88763",
"rev": "374003c8a1bfc4f5b10f45b1e47c0b26d072f10b",
"type": "github"
},
"original": {
@ -706,10 +721,6 @@
"lanzaboote",
"flake-compat"
],
"flake-utils": [
"lanzaboote",
"flake-utils"
],
"gitignore": "gitignore",
"nixpkgs": [
"lanzaboote",
@ -718,11 +729,11 @@
"nixpkgs-stable": "nixpkgs-stable"
},
"locked": {
"lastModified": 1710923068,
"narHash": "sha256-6hOpUiuxuwpXXc/xfJsBUJeqqgGI+JMJuLo45aG3cKc=",
"lastModified": 1717664902,
"narHash": "sha256-7XfBuLULizXjXfBYy/VV+SpYMHreNRHk9nKMsm1bgb4=",
"owner": "cachix",
"repo": "pre-commit-hooks.nix",
"rev": "e611897ddfdde3ed3eaac4758635d7177ff78673",
"rev": "cc4d466cb1254af050ff7bdf47f6d404a7c646d1",
"type": "github"
},
"original": {
@ -763,11 +774,11 @@
]
},
"locked": {
"lastModified": 1711246447,
"narHash": "sha256-g9TOluObcOEKewFo2fR4cn51Y/jSKhRRo4QZckHLop0=",
"lastModified": 1717813066,
"narHash": "sha256-wqbRwq3i7g5EHIui0bIi84mdqZ/It1AXBSLJ5tafD28=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "dcc802a6ec4e9cc6a1c8c393327f0c42666f22e4",
"rev": "6dc3e45fe4aee36efeed24d64fc68b1f989d5465",
"type": "github"
},
"original": {
@ -783,14 +794,15 @@
"nixpkgs": [
"nixpkgs"
],
"nixpkgs-24_05": "nixpkgs-24_05",
"utils": "utils_2"
},
"locked": {
"lastModified": 1717515088,
"narHash": "sha256-nWOLpPA7+k7V1OjXTuxdsVd5jeeI0b13Di57wvnqkic=",
"lastModified": 1718084203,
"narHash": "sha256-Cx1xoVfSMv1XDLgKg08CUd1EoTYWB45VmB9XIQzhmzI=",
"owner": "simple-nixos-mailserver",
"repo": "nixos-mailserver",
"rev": "0d51a32e4799d081f260eb4db37145f5f4ee7456",
"rev": "29916981e7b3b5782dc5085ad18490113f8ff63b",
"type": "gitlab"
},
"original": {

View file

@ -53,7 +53,7 @@ in {
inherit (value) publicKey;
extraHostNames = [ value.targetHost ];
}) meta.hosts;
bash.enableCompletion = true;
bash.completion.enable = true;
mosh.enable = true;
};
services.tailscale = {
@ -184,11 +184,9 @@ in {
DHCPServer = true;
IPv6SendRA = true;
};
addresses = [
{ addressConfig.Address = "10.0.0.1/24"; }
{ addressConfig.Address = "fd12:3456:789a::1/64"; }
];
ipv6Prefixes = [{ ipv6PrefixConfig.Prefix = "fd12:3456:789a::/64"; }];
addresses =
[ { Address = "10.0.0.1/24"; } { Address = "fd12:3456:789a::1/64"; } ];
ipv6Prefixes = [{ Prefix = "fd12:3456:789a::/64"; }];
};
networks.microvm-eth0 = {
matchConfig.Name = "vm-*";

View file

@ -160,8 +160,6 @@ in {
dconf.enable = true;
mosh.enable = true;
kdeconnect.enable = true;
sway.enable = true;
hyprland.enable = true;
firefox = {
enable = true;
#nativeMessagingHosts.packages = with pkgs; [

View file

@ -163,7 +163,17 @@
};
"picture.cat" = {
locations."/" = { root = "/stereolith/photo/_build"; };
forceSSL = true;
enableACME = true;
locations = {
"/" = { root = "/stereolith/photo/_build"; };
"/jp-unsorted/" = {
alias = "/stereolith/photo/unsorted-old/";
extraConfig = ''
autoindex on;
'';
};
};
};
};

View file

@ -565,6 +565,36 @@
forceSSL = true;
enableACME = true;
};
"akkoma-fe.is-a.cat" = let
proxyConf = {
proxyPass = "https://is-a.cat";
recommendedProxySettings = false;
extraConfig = ''
proxy_set_header Host is-a.cat;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
'';
};
akkoma-fe-patched = pkgs.akkoma-frontends.akkoma-fe.overrideAttrs (old: {
postPatch = old.postPatch + ''
sed -e 's/read write follow push admin/read write follow push/g' -i src/services/new_api/oauth.js
'';
});
in {
enableACME = true;
forceSSL = true;
locations = {
"/" = {
root = akkoma-fe-patched;
tryFiles = "$uri $uri/ /index.html";
};
"/api" = proxyConf;
"/instance" = proxyConf;
"/nodeinfo" = proxyConf;
"/oauth/" = proxyConf;
};
};
"${config.services.matrix-synapse.settings.server_name}" = {
enableACME = true;
forceSSL = true;

View file

@ -1,5 +1,5 @@
# autogenerated file
{fetchpatch, fetchurl}: {
{ fetchpatch, fetchurl }: {
patches = [
(fetchpatch {
url =

File diff suppressed because it is too large Load diff

View file

@ -4,8 +4,8 @@
src = fetchFromGitHub {
owner = "glitch-soc";
repo = "mastodon";
rev = "a8e6f5e656a9f46377b05d288654c1ba86bb858f";
hash = "sha256-EP+43scB5+cpmL3yM8TLAWSb7PbZQpdhOwewXae+FnI=";
rev = "f572bbf981838827b4e56f2d9323d537040deb7a";
hash = "sha256-7B7z2HrLqN8hGGwI/G/54kaTR4E5fGQSjxLsYsooRAk=";
};
inherit patches;
nativeBuildInputs = [ gawk gnused ];
@ -18,6 +18,6 @@
sed -i -Ee 's|^ checksum: ([^/]*)$| checksum: '$cacheKey'/\1|g;' yarn.lock
'';
}) // {
version = "unstable-2024-05-30";
yarnHash = "sha256-BNk6xMx11QYQQ8occYU1HJ6z/AuF2UeDRzJwgAFb0XQ=";
version = "unstable-2024-06-11";
yarnHash = "sha256-8NDLsiXs7gdMa47nA0I7wWPiWpjqTF9wfJzJJ0NsCiM=";
}