tangled
alpha
login
or
join now
ladas552.me
/
Flake-ocean
0
fork
atom
My NixOS config Part 3: Flake-Parts Crusaders
nix.ladas552.me
hjem
nix
nixos
impermanence
flake-parts
nvfetcher
niri
noctalia
0
fork
atom
overview
issues
pulls
pipelines
tangled on /home/git instead of a /var/lib
Ladas552
3 weeks ago
d0dffdd2
69f8faf1
+13
-4
3 changed files
expand all
collapse all
unified
split
modules
hosts
NixWool
nixwool.nix
nixosModules
Connections
openssh
home.nix
Server
tangled.nix
+5
-1
modules/hosts/NixWool/nixwool.nix
···
4
4
{ pkgs, lib, ... }:
5
5
{
6
6
nix = {
7
7
+
distributedBuilds = true;
7
8
buildMachines = [
8
9
{
9
10
hostName = "NixToks";
···
59
60
22
60
61
3000
61
62
];
62
62
-
networking.firewall.allowedUDPPorts = [ 443 ];
63
63
+
networking.firewall.allowedUDPPorts = [
64
64
+
443
65
65
+
22
66
66
+
];
63
67
64
68
custom.imp.home.directories = [
65
69
];
+6
modules/nixosModules/Connections/openssh/home.nix
···
25
25
identityFile = [ "~/.ssh/NixToks.pub" ];
26
26
};
27
27
28
28
+
matchBlocks."git.ladas552.me" = {
29
29
+
host = "git.ladas552.me";
30
30
+
user = "git";
31
31
+
identityFile = [ "~/.ssh/NixToks" ];
32
32
+
};
33
33
+
28
34
matchBlocks."aur.archlinux.org" = {
29
35
host = "aur.archlinux.org";
30
36
user = "aur";
+2
-3
modules/nixosModules/Server/tangled.nix
···
21
21
knot = {
22
22
enable = true;
23
23
gitUser = "git";
24
24
-
stateDir = "/var/lib/tangled-knot";
25
24
repo.scanPath = "${cfg.stateDir}/repos";
26
25
server = {
27
26
listenAddr = "0.0.0.0:3050";
28
27
hostname = "git.ladas552.me";
29
29
-
internalListenAddr = "127.0.0.1:5555";
28
28
+
internalListenAddr = "127.0.0.1:5444";
30
29
owner = "did:plc:6ikdlkw64mrjygj6cea62kn4"; # @ladas552.me
31
30
};
32
31
};
···
52
51
};
53
52
54
53
# persist for Impermanence
55
55
-
custom.imp.root.directories = [ "/var/lib/tangled-knot" ];
54
54
+
custom.imp.root.directories = [ "/home/git" ];
56
55
};
57
56
}