Compare commits
3 Commits
ae31ad99bb
...
printer-mo
| Author | SHA1 | Date | |
|---|---|---|---|
|
80fc4cc528
|
|||
|
8b37082844
|
|||
|
6c3a7be483
|
57
flake.lock
generated
57
flake.lock
generated
@@ -235,8 +235,7 @@
|
|||||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||||
"sops-nix": "sops-nix",
|
"sops-nix": "sops-nix",
|
||||||
"tasklist": "tasklist",
|
"tasklist": "tasklist",
|
||||||
"utils": "utils_3",
|
"utils": "utils_3"
|
||||||
"zineshop": "zineshop"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"sops-nix": {
|
"sops-nix": {
|
||||||
@@ -335,21 +334,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems_5": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1681028828,
|
|
||||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"tasklist": {
|
"tasklist": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@@ -423,45 +407,6 @@
|
|||||||
"repo": "flake-utils",
|
"repo": "flake-utils",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"utils_4": {
|
|
||||||
"inputs": {
|
|
||||||
"systems": "systems_5"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1731533236,
|
|
||||||
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"zineshop": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"utils": "utils_4"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1744621162,
|
|
||||||
"narHash": "sha256-oPr1y7y1F8pIEM2X5zxHAacl0vKCw3ti0bEeuNalq4E=",
|
|
||||||
"ref": "refs/heads/master",
|
|
||||||
"rev": "6130843aa741be65cb944d098536c76bfe903455",
|
|
||||||
"revCount": 101,
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://git.dynamicdiscord.de/kalipso/zineshop"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://git.dynamicdiscord.de/kalipso/zineshop"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
|
|||||||
@@ -22,11 +22,6 @@
|
|||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
zineshop = {
|
|
||||||
url = "git+https://git.dynamicdiscord.de/kalipso/zineshop";
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
|
||||||
|
|
||||||
ep3-bs = {
|
ep3-bs = {
|
||||||
url = "git+https://git.dynamicdiscord.de/kalipso/ep3-bs.nix";
|
url = "git+https://git.dynamicdiscord.de/kalipso/ep3-bs.nix";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|||||||
@@ -67,14 +67,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
zineshop = {
|
|
||||||
type = "microvm";
|
|
||||||
network = {
|
|
||||||
address = "10.0.0.15";
|
|
||||||
mac = "D0:E5:CA:F0:D7:F1";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
testvm = {
|
testvm = {
|
||||||
type = "host";
|
type = "host";
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -107,12 +107,6 @@ with lib;
|
|||||||
targets = [ "10.0.0.13:9002" ];
|
targets = [ "10.0.0.13:9002" ];
|
||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
{
|
|
||||||
job_name = "zineshop";
|
|
||||||
static_configs = [{
|
|
||||||
targets = [ "10.0.0.15:9002" ];
|
|
||||||
}];
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
job_name = "fanny";
|
job_name = "fanny";
|
||||||
static_configs = [{
|
static_configs = [{
|
||||||
|
|||||||
@@ -1,34 +0,0 @@
|
|||||||
{ self, config, lib, pkgs, inputs, ... }:
|
|
||||||
|
|
||||||
with lib;
|
|
||||||
|
|
||||||
{
|
|
||||||
networking = {
|
|
||||||
hostName = mkDefault "zineshop";
|
|
||||||
useDHCP = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
imports = [
|
|
||||||
inputs.malobeo.nixosModules.malobeo.metrics
|
|
||||||
inputs.malobeo.nixosModules.malobeo.printing
|
|
||||||
inputs.zineshop.nixosModules.zineshop
|
|
||||||
../modules/malobeo_user.nix
|
|
||||||
../modules/sshd.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
malobeo.metrics = {
|
|
||||||
enable = true;
|
|
||||||
enablePromtail = true;
|
|
||||||
logNginx = true;
|
|
||||||
lokiHost = "10.0.0.14";
|
|
||||||
};
|
|
||||||
|
|
||||||
services.printing.enable = true;
|
|
||||||
services.malobeo.printing.enable = true;
|
|
||||||
|
|
||||||
services.zineshop.enable = true;
|
|
||||||
networking.firewall.allowedTCPPorts = [ 8080 ];
|
|
||||||
|
|
||||||
system.stateVersion = "22.11"; # Did you read the comment?
|
|
||||||
}
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user