update
This commit is contained in:
parent
db2c2ef500
commit
282d70d3b6
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in New Issue