This commit is contained in:
alex 2024-01-20 16:11:34 -05:00
parent db2c2ef500
commit 282d70d3b6
5 changed files with 10 additions and 9 deletions

View File

@ -25,12 +25,12 @@
nixosConfigurations.nixos76 = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./system/configuration.nix
./nixos76/system/configuration.nix
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.alex = import ./alex/home.nix;
home-manager.users.alex = import ./nixos76/alex/home.nix;
# Optionally, use home-manager.extraSpecialArgs to pass
# arguments to home.nix
}

View File

@ -49,7 +49,15 @@
KUBECONFIG = "/home/nixos/.kube/config";
};
services.influxdb.enable = true;
services.telegraf.enable = true;
services.telegraf.extraConfig = {
outputs.influxdb = {
urls = [ "https://localhost:8086" ];
database = "telegraf";
};
};
# Define a user account. Don't forget to set a password with passwd.
users.users.nixos = {
@ -61,15 +69,8 @@
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
docker
git
k3s
nodejs_21
nodePackages.pnpm
pulumi
pulumiPackages.pulumi-language-nodejs
slirp4netns # required by k3s
telegraf
vim
];