mtworx: configure kolide-launcher
This commit is contained in:
22
flake.lock
generated
22
flake.lock
generated
@@ -125,6 +125,27 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"kolide-launcher": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1733156752,
|
||||||
|
"narHash": "sha256-zTQNU0u0eF+B7HeYAIQI3KQj8Jwd6dZ0AG1KsjEOXkA=",
|
||||||
|
"owner": "kolide",
|
||||||
|
"repo": "nix-agent",
|
||||||
|
"rev": "d154b67a88e9cf8a6c10fd589afd51b299f7faca",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "kolide",
|
||||||
|
"ref": "main",
|
||||||
|
"repo": "nix-agent",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nix-index-database": {
|
"nix-index-database": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@@ -268,6 +289,7 @@
|
|||||||
"flake-utils": "flake-utils",
|
"flake-utils": "flake-utils",
|
||||||
"gitignore": "gitignore",
|
"gitignore": "gitignore",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
|
"kolide-launcher": "kolide-launcher",
|
||||||
"nix-index-database": "nix-index-database",
|
"nix-index-database": "nix-index-database",
|
||||||
"nixgl": "nixgl",
|
"nixgl": "nixgl",
|
||||||
"nixos-hardware": "nixos-hardware",
|
"nixos-hardware": "nixos-hardware",
|
||||||
|
|||||||
@@ -47,6 +47,11 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
kolide-launcher = {
|
||||||
|
url = "github:/kolide/nix-agent/main";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
nix-index-database.url = "github:Mic92/nix-index-database";
|
nix-index-database.url = "github:Mic92/nix-index-database";
|
||||||
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
|
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
@@ -85,6 +90,7 @@
|
|||||||
nur,
|
nur,
|
||||||
zig,
|
zig,
|
||||||
nixgl,
|
nixgl,
|
||||||
|
kolide-launcher,
|
||||||
...
|
...
|
||||||
}@inputs:
|
}@inputs:
|
||||||
let
|
let
|
||||||
@@ -147,6 +153,7 @@
|
|||||||
nixos-hardware.nixosModules.lenovo-thinkpad-x1-11th-gen
|
nixos-hardware.nixosModules.lenovo-thinkpad-x1-11th-gen
|
||||||
nix-index-database.nixosModules.nix-index
|
nix-index-database.nixosModules.nix-index
|
||||||
agenix.nixosModules.default
|
agenix.nixosModules.default
|
||||||
|
kolide-launcher.nixosModules.kolide-launcher
|
||||||
];
|
];
|
||||||
|
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ in
|
|||||||
|
|
||||||
syncthing-key.file = ../../secrets/mtworx/syncthing/key.pem.age;
|
syncthing-key.file = ../../secrets/mtworx/syncthing/key.pem.age;
|
||||||
syncthing-cert.file = ../../secrets/mtworx/syncthing/cert.pem.age;
|
syncthing-cert.file = ../../secrets/mtworx/syncthing/cert.pem.age;
|
||||||
|
kolide-launcher.file = ../../secrets/mtworx/kolide-launcher.age;
|
||||||
|
|
||||||
ssh8022-client = {
|
ssh8022-client = {
|
||||||
file = ../../secrets/ssh8022.age;
|
file = ../../secrets/ssh8022.age;
|
||||||
@@ -178,11 +179,18 @@ in
|
|||||||
STOP_CHARGE_THRESH_BAT0 = 87;
|
STOP_CHARGE_THRESH_BAT0 = 87;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
kolide-launcher.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
users.extraGroups.vboxusers.members = [ "motiejus" ];
|
users.extraGroups.vboxusers.members = [ "motiejus" ];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [ dnsmasq ];
|
environment = {
|
||||||
|
systemPackages = with pkgs; [ dnsmasq ];
|
||||||
|
etc."kolide-k2/secret" = {
|
||||||
|
mode = "600";
|
||||||
|
source = config.age.secrets.kolide-launcher.path;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
security.tpm2.enable = true;
|
security.tpm2.enable = true;
|
||||||
|
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ in
|
|||||||
|
|
||||||
"secrets/mtworx/syncthing/key.pem.age"
|
"secrets/mtworx/syncthing/key.pem.age"
|
||||||
"secrets/mtworx/syncthing/cert.pem.age"
|
"secrets/mtworx/syncthing/cert.pem.age"
|
||||||
"secrets/mtworx/kolide.age"
|
"secrets/mtworx/kolide-launcher.age"
|
||||||
]
|
]
|
||||||
// mk ([ vno1-gdrx ] ++ motiejus) [
|
// mk ([ vno1-gdrx ] ++ motiejus) [
|
||||||
"secrets/vno1-gdrx/syncthing/key.pem.age"
|
"secrets/vno1-gdrx/syncthing/key.pem.age"
|
||||||
|
|||||||
Reference in New Issue
Block a user