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; + }; + }; + }; +}