From 7503307bb947e40ffebef8a912253d50209c4376 Mon Sep 17 00:00:00 2001 From: Rob Date: Tue, 19 Nov 2024 18:01:22 +0000 Subject: [PATCH] disable spaceboyz backup. Add cockpit --- configuration.nix | 3 ++- dot-files/.bashrc | 2 +- modules/cockpit.nix | 17 +++++++++++++++++ 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 modules/cockpit.nix diff --git a/configuration.nix b/configuration.nix index f3c0f49..ee63a22 100644 --- a/configuration.nix +++ b/configuration.nix @@ -17,13 +17,14 @@ # meine module modules/tmux.nix - modules/cron.nix + # in das backup von cloud.boogiedev.net umwandeln: modules/cron.nix modules/users.nix modules/storage.nix modules/root-programs.nix modules/smb.nix modules/tailscale.nix modules/veracrypt.nix + modules/cockpit.nix #Server modules/nextcloud.nix diff --git a/dot-files/.bashrc b/dot-files/.bashrc index fa7163e..b5f3278 100644 --- a/dot-files/.bashrc +++ b/dot-files/.bashrc @@ -1,5 +1,5 @@ ## bash prompt styling -PS1="\[\e[32m\][\u@\h\]]:\[\e[34m\]\w\[\e[0m\]\$ " +PS1="\[\e[32m\][\u@\h\]]:\[\e[34m\]\w\[\e[0m\]# " echo "## Mache ssh key verfügbar##" eval "$(ssh-agent -s)" diff --git a/modules/cockpit.nix b/modules/cockpit.nix new file mode 100644 index 0000000..5a7b28c --- /dev/null +++ b/modules/cockpit.nix @@ -0,0 +1,17 @@ +{ config, pkgs, ... }: + +{ + environment.systemPackages = with pkgs; [ + cockpit # cockpit + ]; + + services.cockpit = { + enable = true; + port = 9090; + settings = { + WebService = { + AllowUnencrypted = true; + }; + }; + }; +}