diff --git a/hosts/sisyphe/configuration.nix b/hosts/sisyphe/configuration.nix index 9bc6395..c512d52 100644 --- a/hosts/sisyphe/configuration.nix +++ b/hosts/sisyphe/configuration.nix @@ -21,6 +21,8 @@ in # Use the GRUB 2 boot loader. boot.loader.grub.enable = true; boot.loader.grub.device = "/dev/sda"; + + # Support for xterm.js in Proxmox boot.kernelParams = [ "console=ttyS0" ]; services.qemuGuest.enable = true; @@ -123,6 +125,11 @@ in "unrar" ]; + # log shouldnt eat all my hard drive + services.logrotate = { + enable = true; + }; + # This option defines the first version of NixOS you have installed on this particular machine, # and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions. # diff --git a/hosts/sisyphe/features/authentik.nix b/hosts/sisyphe/features/authentik.nix deleted file mode 100644 index 249b04a..0000000 --- a/hosts/sisyphe/features/authentik.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ config, ... }: -let - authentik-version = "2024.6.1"; - authentik-nix-src = builtins.fetchTarball { - url = "https://github.com/nix-community/authentik-nix/archive/version/${authentik-version}.tar.gz"; - sha256 = "10ss29nzifyrq44080mjqa6xl6qw9mz755xcrla3kjxjl7d0mvlz"; - }; - authentik-nix = import authentik-nix-src; - cfg = config.authentik; -in -{ - imports = [ authentik-nix.nixosModules.default ]; - sops.secrets."authentik" = { - sopsFile = ../secrets/authentik.env; - format = "dotenv"; - }; - - /* - sops.secrets.mail-server = { - sopsFile = ./secrets/mail.json; - format = "json"; - }; - */ - - services.authentik = { - enable = true; - environmentFile = config.sops.secrets."authentik".path; - settings = { - /* - email = { - host = config.sops.secrets.mail-server."host"; - username = config.sops.secrets.mail-server."username"; - }; - */ - - disable_startup_analytics = true; - avatars = "initials"; - }; - }; -} diff --git a/hosts/sisyphe/features/containers/4get.nix b/hosts/sisyphe/features/containers/4get.nix deleted file mode 100644 index 2b0afd8..0000000 --- a/hosts/sisyphe/features/containers/4get.nix +++ /dev/null @@ -1,16 +0,0 @@ -{config, ...}: -{ - virtualisation.oci-containers = { - backend = "docker"; - containers = { - fourget = { - image = "luuul/4get:latest"; - environment = { - "FOURGET_PROTO" = "http"; - "FOURGET_SERVER_NAME" = "192.168.1.177:6942"; - }; - ports = ["6942:80"]; - }; - }; - }; -} diff --git a/hosts/sisyphe/features/fail2ban.nix b/hosts/sisyphe/features/fail2ban.nix index a1ef011..48bd774 100644 --- a/hosts/sisyphe/features/fail2ban.nix +++ b/hosts/sisyphe/features/fail2ban.nix @@ -13,12 +13,6 @@ ''; */ }; - sshd = '' - enabled = true - port = ssh - logpath = %(sshd_log)s - backend = %(sshd_backend)s - ''; }; environment.etc = { diff --git a/hosts/sisyphe/features/services/irc-server.nix b/hosts/sisyphe/features/services/irc-server.nix deleted file mode 100644 index 1533af3..0000000 --- a/hosts/sisyphe/features/services/irc-server.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ config, pkgs, ... }: -{ - environment.systemPackages = with pkgs; [ ircdHybrid ]; - - services.ircdHybrid = { - enable = false; - serverName = "irc.rougebordeaux.xyz"; - description = "welcome to the silly kittens hut !! meow:3"; - adminEmail = "admin@rougebordeaux.xyz"; - }; - - /** - environment.etc = { - "ircd.conf" = { - text ='' - ''; - mode = "440"; - }; - };* - */ -}