mirror of
https://github.com/thiloho/archtika.git
synced 2025-11-22 10:51:36 +01:00
Add path option for module
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
{ pkgs, ... }:
|
||||
{ pkgs, localArchtikaPackage, ... }:
|
||||
{
|
||||
imports = [ ./hardware-configuration.nix ];
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../module.nix
|
||||
];
|
||||
|
||||
boot = {
|
||||
loader = {
|
||||
@@ -19,9 +22,16 @@
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
networking.hostName = "archtika-demo-server";
|
||||
networking = {
|
||||
hostName = "archtika-demo-server";
|
||||
networkmanager.enable = true;
|
||||
firewall = {
|
||||
allowedTCPPorts = [
|
||||
10000
|
||||
15000
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
security.pam = {
|
||||
sshAgentAuth.enable = true;
|
||||
@@ -52,5 +62,11 @@
|
||||
settings.PasswordAuthentication = false;
|
||||
};
|
||||
|
||||
services.archtika = {
|
||||
enable = true;
|
||||
package = localArchtikaPackage;
|
||||
jwtSecret = "a42kVyAhTImYxZeebZkApoAZLmf0VtDA";
|
||||
};
|
||||
|
||||
system.stateVersion = "24.11";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user