Compare commits
4 Commits
b3a1f104ff
...
6587d70066
Author | SHA1 | Date |
---|---|---|
Jaculabilis | 6587d70066 | |
Jaculabilis | f134165737 | |
Jaculabilis | cd4cf9107c | |
Jaculabilis | 4f9b51a94b |
78
flake.lock
78
flake.lock
|
@ -3,11 +3,11 @@
|
|||
"flake-compat": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1668681692,
|
||||
"narHash": "sha256-Ht91NGdewz8IQLtWZ9LCeNXMSXHUss+9COoqu6JLmXU=",
|
||||
"lastModified": 1673956053,
|
||||
"narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=",
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"rev": "009399224d5e398d03b22badca40a37ac85412a1",
|
||||
"rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -31,9 +31,76 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"intake": {
|
||||
"inputs": {
|
||||
"flake-compat": [
|
||||
"flake-compat"
|
||||
],
|
||||
"nixos-shell": "nixos-shell",
|
||||
"nixpkgs": [
|
||||
"nixpkgs-next"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1687319998,
|
||||
"narHash": "sha256-hF0vdFqyss2cHDVdPmf7IiHGz9V+Hoj6RY4pQmWxfGw=",
|
||||
"ref": "refs/heads/master",
|
||||
"rev": "f9611d598a5d2bff4f3ca025e1b6df51b01bd0b2",
|
||||
"revCount": 65,
|
||||
"type": "git",
|
||||
"url": "ssh://gitea@git.alogoulogoi.com/Jaculabilis/intake.git"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "ssh://gitea@git.alogoulogoi.com/Jaculabilis/intake.git"
|
||||
}
|
||||
},
|
||||
"intake-sources": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs-next"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1687286801,
|
||||
"narHash": "sha256-QoazlG8YZGaOdswfyy9mlllYzhILPLPrnDD2UorN9Dg=",
|
||||
"ref": "refs/heads/master",
|
||||
"rev": "a4883480ae278c874a9a16782bf233bf70b87243",
|
||||
"revCount": 14,
|
||||
"type": "git",
|
||||
"url": "ssh://gitea@git.alogoulogoi.com/Jaculabilis/intake-sources.git"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "ssh://gitea@git.alogoulogoi.com/Jaculabilis/intake-sources.git"
|
||||
}
|
||||
},
|
||||
"nixos-shell": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"intake",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1686216465,
|
||||
"narHash": "sha256-0A4K6xVIyxUi2YZu4+156WwzAO1GDWGcKiMvsXpBQDQ=",
|
||||
"owner": "Mic92",
|
||||
"repo": "nixos-shell",
|
||||
"rev": "65489e7eeef8eeea43e1e4218ad1b99d58852c7c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "Mic92",
|
||||
"repo": "nixos-shell",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixos-wsl": {
|
||||
"inputs": {
|
||||
"flake-compat": "flake-compat",
|
||||
"flake-compat": [
|
||||
"flake-compat"
|
||||
],
|
||||
"flake-utils": "flake-utils",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
|
@ -87,6 +154,9 @@
|
|||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"flake-compat": "flake-compat",
|
||||
"intake": "intake",
|
||||
"intake-sources": "intake-sources",
|
||||
"nixos-wsl": "nixos-wsl",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"nixpkgs-next": "nixpkgs-next"
|
||||
|
|
31
flake.nix
31
flake.nix
|
@ -2,15 +2,34 @@
|
|||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/22.11";
|
||||
nixpkgs-next.url = "github:NixOS/nixpkgs/23.05";
|
||||
nixos-wsl.url = "github:nix-community/NixOS-WSL";
|
||||
nixos-wsl.inputs.nixpkgs.follows = "nixpkgs";
|
||||
flake-compat = {
|
||||
url = "github:edolstra/flake-compat";
|
||||
flake = false;
|
||||
};
|
||||
nixos-wsl = {
|
||||
url = "github:nix-community/NixOS-WSL";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
inputs.flake-compat.follows = "flake-compat";
|
||||
};
|
||||
intake = {
|
||||
url = "git+ssh://gitea@git.alogoulogoi.com/Jaculabilis/intake.git";
|
||||
inputs.nixpkgs.follows = "nixpkgs-next";
|
||||
inputs.flake-compat.follows = "flake-compat";
|
||||
};
|
||||
intake-sources = {
|
||||
url = "git+ssh://gitea@git.alogoulogoi.com/Jaculabilis/intake-sources.git";
|
||||
inputs.nixpkgs.follows = "nixpkgs-next";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
nixpkgs-next,
|
||||
nixos-wsl
|
||||
flake-compat,
|
||||
nixos-wsl,
|
||||
intake,
|
||||
intake-sources,
|
||||
}: {
|
||||
nixosConfigurations = {
|
||||
catacomb = nixpkgs.lib.nixosSystem {
|
||||
|
@ -19,7 +38,11 @@
|
|||
};
|
||||
empyrean = nixpkgs-next.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [ ./machine/empyrean ];
|
||||
modules = [
|
||||
intake.nixosModules.default
|
||||
intake-sources.nixosModules.default
|
||||
./machine/empyrean
|
||||
];
|
||||
};
|
||||
stagirite = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
|
|
|
@ -143,6 +143,12 @@
|
|||
};
|
||||
};
|
||||
|
||||
services.intake = {
|
||||
listen = { addr = "10.22.20.1"; port = 5234; };
|
||||
users.tvb.enable = true;
|
||||
users.tvb.extraPackages = [ pkgs.intakeSources ];
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowPing = true;
|
||||
|
@ -151,6 +157,7 @@
|
|||
80 # http
|
||||
443 # https
|
||||
655 # tinc
|
||||
5234# intake
|
||||
];
|
||||
allowedUDPPorts = [
|
||||
655 # tinc
|
||||
|
|
Loading…
Reference in New Issue