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
{ pkgs, lib, ... }:
5
{
6
nix = {
0
7
buildMachines = [
8
{
9
hostName = "NixToks";
···
59
22
60
3000
61
];
62
-
networking.firewall.allowedUDPPorts = [ 443 ];
0
0
0
63
64
custom.imp.home.directories = [
65
];
···
4
{ pkgs, lib, ... }:
5
{
6
nix = {
7
+
distributedBuilds = true;
8
buildMachines = [
9
{
10
hostName = "NixToks";
···
60
22
61
3000
62
];
63
+
networking.firewall.allowedUDPPorts = [
64
+
443
65
+
22
66
+
];
67
68
custom.imp.home.directories = [
69
];
+6
modules/nixosModules/Connections/openssh/home.nix
···
25
identityFile = [ "~/.ssh/NixToks.pub" ];
26
};
27
0
0
0
0
0
0
28
matchBlocks."aur.archlinux.org" = {
29
host = "aur.archlinux.org";
30
user = "aur";
···
25
identityFile = [ "~/.ssh/NixToks.pub" ];
26
};
27
28
+
matchBlocks."git.ladas552.me" = {
29
+
host = "git.ladas552.me";
30
+
user = "git";
31
+
identityFile = [ "~/.ssh/NixToks" ];
32
+
};
33
+
34
matchBlocks."aur.archlinux.org" = {
35
host = "aur.archlinux.org";
36
user = "aur";
+2
-3
modules/nixosModules/Server/tangled.nix
···
21
knot = {
22
enable = true;
23
gitUser = "git";
24
-
stateDir = "/var/lib/tangled-knot";
25
repo.scanPath = "${cfg.stateDir}/repos";
26
server = {
27
listenAddr = "0.0.0.0:3050";
28
hostname = "git.ladas552.me";
29
-
internalListenAddr = "127.0.0.1:5555";
30
owner = "did:plc:6ikdlkw64mrjygj6cea62kn4"; # @ladas552.me
31
};
32
};
···
52
};
53
54
# persist for Impermanence
55
-
custom.imp.root.directories = [ "/var/lib/tangled-knot" ];
56
};
57
}
···
21
knot = {
22
enable = true;
23
gitUser = "git";
0
24
repo.scanPath = "${cfg.stateDir}/repos";
25
server = {
26
listenAddr = "0.0.0.0:3050";
27
hostname = "git.ladas552.me";
28
+
internalListenAddr = "127.0.0.1:5444";
29
owner = "did:plc:6ikdlkw64mrjygj6cea62kn4"; # @ladas552.me
30
};
31
};
···
51
};
52
53
# persist for Impermanence
54
+
custom.imp.root.directories = [ "/home/git" ];
55
};
56
}